# Agent MCP Hub

> Agent MCP Hub is an open-source MCP server for developer tools. Delegate prompts to Codex, Cursor, OpenCode, Claude and Antigravity from one server. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux
- **Repository:** https://github.com/blackaxgit/agent-mcp-hub
- **GitHub stars:** 0
- **License:** MPL-2.0
- **MCP Registry name:** io.github.blackaxgit/agent-mcp-hub
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-11-23

## About

Agent MCP Hub turns the coding-agent CLIs already on your machine into tools another MCP client can call. Each of `codex`, `cursor`, `opencode`, `claude` and `agy` hands a prompt to that CLI, and `run_all` sends the same prompt to all of them in parallel so you can compare answers side by side. `list_agents` shows which CLIs are installed and `ping` is a health check.

It is stdio only by design. The README explains that Docker and HTTP transports were removed because a remote server cannot see the caller's repository path or reuse the caller's CLI logins. The hub runs as a child process of your client, as you.

`review_change` has one agent make a change in a git worktree, captures the real `git diff`, and has a second agent return a PASS, WARN or FAIL verdict. The README is candid that reviewer read-only enforcement is real for `codex` (OS sandbox) and `claude` (tool deny list), but advisory or absent for the others. Failures come back classified, for example not_authenticated or timed_out, with the fix named. Default timeouts are 30 minutes total and 5 minutes idle.

## Features

- **Delegate to five CLIs:** Wraps Codex, Cursor, OpenCode, Claude Code and Antigravity as separate tools.
- **Parallel fan-out:** `run_all` sends one prompt to every agent and returns results together, with per-agent model choices.
- **Cross-agent review:** `review_change` has one agent write and another judge the actual git diff.
- **Classified errors:** Reports not_installed, not_authenticated, timed_out, stream_stalled and similar with a fix.
- **Runs as you:** Uses your local CLI logins and repository path, with a confirm gate via `MCP_CONFIRM`.

## Good for

- Ask several coding agents the same question and compare answers
- Let Codex write a change and Claude review its diff
- Hand a task from one agent to another from inside your client
- Check which agent CLIs are installed and signed in

## Install

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

```sh
claude mcp add agent-mcp-hub -- npx -y agent-mcp-hub
```

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": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "agent-mcp-hub": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

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

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

```sh
codex mcp add agent-mcp-hub -- npx -y agent-mcp-hub
```

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

```toml
[mcp_servers.agent-mcp-hub]
command = "npx"
args = ["-y", "agent-mcp-hub"]
```

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

```json
{
  "mcpServers": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user agent-mcp-hub npx -- -y agent-mcp-hub

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

```json
{
  "mcpServers": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

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": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

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": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 9 tools changes data; 7 names don't say. From the server's own tool labels and tool names; not verified by us.

- `codex`: Delegate a prompt to codex exec
- `cursor`: Delegate a prompt to cursor-agent
- `opencode`: Delegate a prompt to opencode run
- `claude`: Delegate a prompt to the Claude Code CLI
- `agy`: Delegate a prompt to Google Antigravity
- `run_all` (name suggests: changes): Send the same prompt to all agents in parallel
- `list_agents` (name suggests: reads): Show which agent CLIs are installed
- `ping`: Health check
- `review_change`: Have one agent make a change and another review the git diff

## FAQ

### Can I run Agent MCP Hub remotely or in Docker?

No. It is stdio only by design, because a remote server cannot see your repository or reuse your CLI logins.

### Do I need all five CLIs?

No. Install and authenticate any subset.

### Is the reviewer sandboxed?

Only for Codex (OS-level read-only) and Claude (tool deny list); the others are advisory or not restricted.

### How long can a task run?

The default total timeout is 30 minutes with a 5-minute idle limit, both adjustable.

### Is Agent MCP Hub free?

Yes. Agent MCP Hub is open source, so you can use and self-host it for free.

### How do I add Agent MCP Hub to Claude Code?

Run this command in your terminal: claude mcp add agent-mcp-hub -- npx -y agent-mcp-hub

### What are the best alternatives to Agent MCP Hub?

The closest alternatives to Agent MCP Hub are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/agent-mcp-hub
