Skip to content
MCP server

Agent MCP Hub

Delegate prompts to Codex, Cursor, OpenCode, Claude and Antigravity from one server

Runs locallyActively maintained

The repository was last updated 17 days ago and is published under MPL-2.0.

Agent MCP Hub is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Linux
Runs
Locally
What it can do
Can change data (1 tool)
GitHub stars
0
Last commit

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.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.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "agent-mcp-hub": {
      "command": "npx",
      "args": [
        "-y",
        "agent-mcp-hub"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Agent MCP Hub

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.

Tools this server provides (9)

Taken from the project documentation; the running server may differ.

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_allName suggests: changes
Send the same prompt to all agents in parallel
list_agentsName 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

What it does

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

Pricing

Open source

MPL-2.0 licence

Agent MCP Hub 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.

How AIPoweredBot checks servers