| title | Troubleshooting |
|---|---|
| icon | bug |
| description | Debug and fix common MCP connection issues |
- **Use the `/v1/mcp/` REST endpoints** — e.g. `GET /v1/mcp/memories`, `GET /v1/mcp/memories/search?query=...`, `GET /v1/mcp/conversations`, `GET /v1/mcp/action-items`. They accept the same key as the MCP server and return plain JSON.
- **`/v1/memories` and `/v2/memories` do not exist.** Requests to them return `404 Not Found` regardless of the key.
```bash
curl -H "Authorization: Bearer omi_mcp_YOUR_KEY" \
"https://api.omi.me/v1/mcp/memories?limit=5"
```
To call the [Developer API](/doc/developer/api/overview) (`/v1/dev/...`) instead, create a separate
key in **Settings → Developer → Create Key**; it starts with `omi_dev_`. Using either key on the
other's endpoints returns a `401` that names the endpoints that key does authenticate.
Use the MCP inspector to test tools interactively:
```bash
npx @modelcontextprotocol/inspector uvx mcp-server-omi
```
For local development:
```bash
cd path/to/servers/src/omi
npx @modelcontextprotocol/inspector uv run mcp-server-omi
```
```bash
# Check server info
curl https://api.omi.me/v1/mcp/sse/info
# Initialize a session
curl -X POST https://api.omi.me/v1/mcp/sse \
-H "Authorization: Bearer omi_mcp_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'
# List tools (use the Mcp-Session-Id from the initialize response)
curl -X POST https://api.omi.me/v1/mcp/sse \
-H "Authorization: Bearer omi_mcp_YOUR_KEY" \
-H "Content-Type: application/json" \
-H "Mcp-Session-Id: SESSION_ID_HERE" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'
```
```bash
# macOS
tail -n 20 -f ~/Library/Logs/Claude/mcp-server-omi.log
# Windows PowerShell
Get-Content "$env:APPDATA\Claude\logs\mcp-server-omi.log" -Tail 20 -Wait
```
Get help from the community and team Report bugs or request features