AnyRouter MCP with Windsurf

Add the AnyRouter MCP server to Windsurf with the Cascade UI or mcp_config.json.

  1. In the Cascade panel, open MCP servers → Add custom server. Set Name to anyrouter and Server URL to https://anyrouter.dev/api/v1/mcp, then save.
  2. On the next tool call, approve anyrouter.dev/oauth/consent (Read-only is the default).
  3. Check it: ask "check the AnyRouter system status". The agent calls get_system_status.

Or edit ~/.codeium/windsurf/mcp_config.json and reload Windsurf:

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

Revoke

Remove the entry from Cascade or mcp_config.json, 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