Connection times out or fails
- Confirm the server URL is exactly
https://api.agi.tech/v1/mcp - Some clients require the transport to be set to
httporsseexplicitly; try both - For OAuth clients, clear saved authentication and reconnect to restart browser sign-in
- For API-key clients, confirm the custom
Authorizationheader is present - Claude Desktop cannot connect to remote URLs directly - see below
Client-specific notes
Claude Code
- Complete sign-in via
/mcp, verify withclaude mcp list - Claude Code stores and refreshes OAuth credentials; Clear
authentication from
/mcpswitches accounts
Claude Desktop
claude_desktop_config.jsononly launches local (stdio) servers - aurl-style entry will not work- Bridge through
mcp-remote(requires Node.js 18+), then restart Claude Desktop:
- If the browser does not open automatically during sign-in, copy the authorization URL from the bridge output
Cursor
- Add the server to
.cursor/mcp.jsonwith the URL and anAuthorization: Bearer YOUR_API_KEYheader, then restart Cursor or refresh MCP servers from settings
ChatGPT
- Requires developer mode under Settings > Apps > Advanced settings; a workspace administrator may need to enable access first
- Availability of full MCP actions is controlled by OpenAI and varies by plan and workspace
The client connects but tools look stale
- Reconnect the MCP server so the client calls
tools/listagain - the tool list changes when devices register or the app updates - If a client caches old tool state (stale sessions, old tool names), disconnect and reconnect the server
Verifying the connection independently
If you suspect the client, take it out of the loop: an unauthenticated request to the endpoint should return401 with a WWW-Authenticate challenge - that confirms the server is reachable and speaking the protocol, and the problem is client configuration or credentials.
Related
Authentication
401s, scopes, and key problems
Devices & Connectivity
When the connection works but no phone shows up