# external-agents MCP server

> Routes LLM calls across 20+ providers using round-robin dispatch and fallback to reduce rate-limit interruptions and costs.

- Repository: https://github.com/mrrlin-dev/external-agents
- Page: https://hostedmcp.org/servers/mrrlin-dev/external-agents
- Transport: stdio
- Stars: 0
- License: MIT

## Install

### Claude Code

```sh
claude mcp add external-agents -- npx -y @mrrlin-dev/external-agents
```

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

```json
{
  "mcpServers": {
    "external-agents": {
      "command": "npx",
      "args": [
        "-y",
        "@mrrlin-dev/external-agents"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "external-agents": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrrlin-dev/external-agents"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"external-agents","type":"stdio","command":"npx","args":["-y","@mrrlin-dev/external-agents"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "external-agents": {
      "command": "npx",
      "args": [
        "-y",
        "@mrrlin-dev/external-agents"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add external-agents -- npx -y @mrrlin-dev/external-agents
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.external-agents]
command = "npx"
args = ["-y", "@mrrlin-dev/external-agents"]
```

### Gemini CLI

```sh
gemini mcp add -s user external-agents npx -- -y @mrrlin-dev/external-agents
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "external-agents": {
      "command": "npx",
      "args": [
        "-y",
        "@mrrlin-dev/external-agents"
      ]
    }
  }
}
```

## FAQ

### How does external-agents help reduce costs?

It allows your primary agent to hand off tasks to a pool of 40+ cheaper or free-tier models instead of using expensive frontier models for every task.

### What happens if a provider reaches its rate limit?

The server automatically moves to a different provider and honors that provider's specific reset time.

### Can I use this with existing CLI tools like Claude Code or Cursor?

Yes, it is designed to work with agentic CLIs like Claude Code, OpenAI Codex, Cursor, and others.

### How do I add new API keys to the pool?

You can use the local dashboard provided by the installation to paste your provider keys inline.
