# AnyRouter MCP with Claude Desktop

> Add the AnyRouter MCP server to Claude Desktop with Connectors, or an mcp-remote bridge.


# Connect AnyRouter to Claude Desktop

Add AnyRouter as a custom connector in Claude Desktop.

1. Open **Settings → Connectors → Add custom connector**. Set **Name** to `AnyRouter` and **Remote MCP server URL** to `https://anyrouter.dev/api/v1/mcp`. Leave OAuth Client ID and Secret empty (Dynamic Client Registration).

   ![Claude Desktop Add custom connector dialog with the AnyRouter MCP URL filled in](/img/docs/mcp/anyrouter-mcp-claude-code-add-custom-connector.png)

2. Click **Add**. In the browser consent page, pick a permission level and click **Allow**. **Read-only** (default) views credits, recent usage, and provider-key status; **Standard** also mints and rotates API keys. See [scopes](/api-reference/mcp#scopes-and-consent-bundles).

3. Check it: ask "How many AnyRouter credits do I have left?" Claude calls `get_credits`. The tools available depend on the level you granted; see the [MCP overview](/mcp#what-the-client-can-do).

Without the Connectors UI, add a bridge in `claude_desktop_config.json` (Settings → Developer → Edit Config), then restart:

```json
{
  "mcpServers": {
    "anyrouter": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://anyrouter.dev/api/v1/mcp"]
    }
  }
}
```

## Revoke

Revoke from the [MCP dashboard](https://anyrouter.dev/dashboard/mcp). Re-adding the connector starts a new OAuth flow.


## Related

- [AnyRouter MCP with Claude Code](/docs/mcp/claude-code.md)
- [AnyRouter MCP with Cursor](/docs/mcp/cursor.md)
- [AnyRouter MCP with OpenCode](/docs/mcp/opencode.md)
- [AnyRouter MCP with other clients](/docs/mcp/other-clients.md)
