AnyRouter MCP with Cursor

Add the AnyRouter MCP server to Cursor with the Settings UI or ~/.cursor/mcp.json.

  1. Open Cursor Settings → MCP & Integrations → Add Custom MCP. Set Name to anyrouter and URL to https://anyrouter.dev/api/v1/mcp, then Save.
  2. Approve anyrouter.dev/oauth/consent in the browser (Read-only is the default).
  3. Check it: ask "list my AnyRouter API keys". The agent calls list_keys; available tools depend on the level you granted.

Or edit ~/.cursor/mcp.json and reload Cursor:

{
  "mcpServers": {
    "anyrouter": {
      "url": "https://anyrouter.dev/api/v1/mcp"
    }
  }
}

Revoke

Remove the entry from Cursor, and revoke the token in the MCP dashboard. Later tool calls return 401 Unauthorized until you reconnect.

AnyRouter routes requests to third-party models. Models and outputs are provided as is, with no warranty; you use them at your own risk. Disclaimer