# AgentRouter

> AgentRouter is a paid MCP server for agent tooling. MCP server for finding, pricing and running paid AI provider tools from a prepaid wallet. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, CLI
- **Website:** https://docs.agentrouter.to/integrations/mcp
- **MCP Registry name:** io.github.pageonelab/agentrouter
- **Categories:** [agent tooling](https://ai-powered.com/categories/agent-tooling)
- **Listing updated:** 2026-11-27

## About

AgentRouter gives an AI client one connection to a catalogue of third-party provider tools. Instead of wiring up each vendor separately, the assistant searches for a tool by task, checks its price terms, and runs it, with charges taken from a wallet balance the account holder funds in Settings.

The tool list stays fixed at a small set of operations. New providers appear through search rather than as new MCP tools, so the host never has to reload a growing list. Each run returns a receipt, and results that are too large for the reply can be read page by page or saved to a file.

It suits developers and teams using Claude Code, Codex or Cursor who want agents to call paid services with spend limits, idempotent retries and a dispute path for runs that return unusable output.

## Features

- **Task-based tool search:** Finds provider tools by describing the job rather than naming a vendor API.
- **Price checks before running:** Shows input schema, limits and price terms for a tool before any charge is made.
- **Wallet-based spending:** Charges run against an account balance, with an optional user-set cost ceiling per call.
- **Safe retries:** Idempotency keys return an original run without a second charge if a connection drops.
- **Paged result retrieval:** Large outputs can be read in fragments or saved to a file to keep context small.
- **Run tracking and disputes:** Lists and stops runs, reports balance and lets users request refunds on unusable results.

## Good for

- Letting a coding assistant call paid data or media tools without leaving the chat
- Setting a maximum spend per call when an agent runs third-party services
- Retrying long-running provider jobs without being charged twice
- Reviewing recent runs and receipts for an agent's paid tool usage

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http agentrouter https://mcp.agentrouter.to/
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "agentrouter": {
      "type": "http",
      "url": "https://mcp.agentrouter.to/"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.agentrouter.to/
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agentrouter": {
      "url": "https://mcp.agentrouter.to/"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "agentrouter": {
      "type": "http",
      "url": "https://mcp.agentrouter.to/"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.agentrouter.to/
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add agentrouter --url https://mcp.agentrouter.to/
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.agentrouter]
url = "https://mcp.agentrouter.to/"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "agentrouter": {
      "httpUrl": "https://mcp.agentrouter.to/"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http agentrouter https://mcp.agentrouter.to/

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "agentrouter": {
      "serverUrl": "https://mcp.agentrouter.to/"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "agentrouter": {
      "url": "https://mcp.agentrouter.to/",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "agentrouter": {
      "type": "streamableHttp",
      "url": "https://mcp.agentrouter.to/"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "agentrouter": {
      "url": "https://mcp.agentrouter.to/"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "agentrouter": {
      "url": "https://mcp.agentrouter.to/"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "agentrouter": {
      "url": "https://mcp.agentrouter.to/"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "agentrouter": {
      "url": "https://mcp.agentrouter.to/"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.agentrouter.to/
```

Enter a Name (for example "AgentRouter"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agentrouter": {
      "type": "http",
      "url": "https://mcp.agentrouter.to/"
    }
  }
}
```

## Tools

Going by the tool names, 2 of 12 tools change data; 4 names don't say. From the server's own tool labels and tool names; not verified by us.

- `find_tools` (name suggests: reads): Search tools by task (free)
- `describe_tool` (name suggests: reads): Input schema, limits, price terms and pricing_version (free)
- `invoke_tool`: Run a tool; returns the Run receipt
- `get_run` (name suggests: reads): A run by id, optionally waiting for it to finish
- `list_runs` (name suggests: reads): Recent runs, filtered by session, status or tool
- `stop_run` (name suggests: changes): Stop a stoppable run
- `whoami`: Account, wallet owner, caller and scopes
- `get_balance` (name suggests: reads): Available and reserved balance
- `feedback`: Feedback or a data issue
- `request_tool`: Record a capability that find_tools could not match
- `create_dispute` (name suggests: changes): Ask for a refund on charged runs with unusable results
- `get_dispute` (name suggests: reads): Dispute status

## FAQ

### How do I connect AgentRouter to my client?

For Claude Code, run the documented claude mcp add command pointing at https://mcp.agentrouter.to/, then authenticate through /mcp with OAuth sign-in.

### What happens if a run fails or returns unusable output?

Failed runs set an error flag with a code and hints. Charged runs with unusable results can be disputed for a refund.

### Does a new provider require a client update?

No. The tool set is fixed, and new providers are discovered through the search tool.

### Is AgentRouter free?

No. AgentRouter is a paid product.

### How do I add AgentRouter to Claude Code?

Run this command in your terminal: claude mcp add --transport http agentrouter https://mcp.agentrouter.to/

### What are the best alternatives to AgentRouter?

The closest alternatives to AgentRouter are ToolRouter, Agent Router, Arch Tools MCP, Imperium MCP Gateway — Universal 490+ Tool Discovery, Safe-Proxy & Router and AgentDiet Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [ToolRouter](https://ai-powered.com/mcp/toolrouter): ToolRouter is a freemium MCP server for mcp data access.
- [Agent Router](https://ai-powered.com/mcp/agent-router): Agent Router is a free MCP server for agent tooling.
- [Arch Tools MCP](https://ai-powered.com/mcp/arch-tools-mcp): Arch Tools MCP is a freemium MCP server for developer tools.
- [Imperium MCP Gateway — Universal 490+ Tool Discovery, Safe-Proxy & Router](https://ai-powered.com/mcp/imperium-mcp-gateway-universal-490-tool-discovery-safe-proxy): Imperium MCP Gateway — Universal 490+ Tool Discovery, Safe-Proxy & Router is a paid MCP server for agent tooling.
- [AgentDiet Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router](https://ai-powered.com/mcp/agentdiet-universal-a2a-and-mcp-tool-discovery-safe-proxy-an): AgentDiet Universal A2A & MCP Tool Discovery, Safe-Proxy & Swarm Router is an MCP server for agent tooling.
- [Agent Margin Router](https://ai-powered.com/mcp/agent-margin-router): Agent Margin Router is a paid MCP server for agent tooling.
- [Agent Payment MCP](https://ai-powered.com/mcp/agent-payment-mcp-2): Agent Payment MCP is an MCP server for finance and payments.
- [Tools for Agents](https://ai-powered.com/mcp/tools-for-agents): Tools for Agents is a freemium MCP server for agent tooling.

---
Source: https://ai-powered.com/mcp/agentrouter
