Skip to content

mcphubEvery MCP server. One hub. Every agent in sync.

Define your servers once in mcphub.yaml. mcphub fronts them all on a single stdio connection, syncs 12 agent harnesses for you, and shows which tools actually earn their context budget.

$ brew install abdul-hamid-achik/tap/mcphub
patch bay — live topologyn servers · 1 stdio connection
codemapvecgrepgithubbobobsidianpostgresmcphubgateway · stdioserver__toolyour agentClaude CodeCodexopencodeCopilot CLIGemini CLICrush

See it run

Real output, not a mockup

One YAML file in, twelve synced harnesses out — and a local ledger of what every server actually costs you.

$ mcphub sync
» claude  (claude, gateway) → ~/.claude.json
    update   mcphub
» codex  (codex, gateway) → ~/.codex/config.toml
    update   mcphub
» copilot  (copilot, gateway) → ~/.copilot/mcp-config.json
    update   mcphub
» crush  (crush, gateway) → ~/.config/crush/crush.json
    update   mcphub
» hermes  (hermes, gateway) → ~/.hermes/config.yaml
    update   mcphub
» opencode  (opencode, gateway) → ~/.config/opencode/opencode.json
    update   mcphub

Dry run. Re-run with --write to apply (a .bak is saved first).

How it works

Three commands, and you never hand-edit a config again

  1. 1mcphub init

    Write mcphub.yaml once — or import the servers your agents already declare with --from-agents.

  2. 2mcphub sync --write

    Push the right config into every harness. Dry-run by default, a timestamped .bak before any write.

  3. 3mcphub mcp serve

    Your agent connects to one gateway that proxies everything — and every call is recorded locally.

Syncs into 12 harnesses

  • Claude Code
  • opencode
  • Codex
  • Copilot CLI
  • Qwen Code
  • Gemini CLI
  • Kilo Code
  • Kimi Code CLI
  • Crush
  • Forge
  • Hermes
  • local-agent

Stop hand-editing agent configs.

n servers → 1 hub → every agent

Released under the MIT License.