Skip to content

10‑Minute Quickstart

Hatago MCP Hub lets you manage multiple MCP servers from one place. Follow this guide to get to a working setup quickly.

  1. Check Node.js version

    Terminal window
    node --version # v20.0.0+
  2. Pick your AI client

    • Claude Code (recommended)
    • Codex CLI
    • Cursor / Windsurf

Use npx for zero‑install usage:

Terminal window
# Create config interactively
npx @himorishige/hatago-mcp-hub init

The init command asks only for the integration mode. It does not install or select sample servers for you. You’ll edit the config to add servers in the next step. [ISA]

  1. Select mode

    ? Select mode:
    ❯ stdio (for Claude Code)
    http (for debugging)
  2. Confirm file was created

    ✅ Created hatago.config.json

Create .mcp.json in your project (the init command does not create this file):

{
"mcpServers": {
"hatago": {
"command": "npx",
"args": [
"@himorishige/hatago-mcp-hub",
"serve",
"--stdio",
"--config",
"./hatago.config.json"
]
}
}
}

Restart Claude Code (Reload Window) after saving.

  1. Open a new chat in Claude Code
  2. List available tools (e.g. type /tools)
  3. Try the filesystem tool (“list current directory”)
  4. Read internal resource: hatago://servers (via your client’s resource panel or a JSON‑RPC call to resources/read)

Looks good when

  • You see multiple tools
  • File operations work
  • Status shows connected servers

If it fails

Add GitHub

Connect to remote APIs via HTTP/SSE

Split by environment

Use tags for dev/prod switching

Terminal window
npx @himorishige/hatago-mcp-hub serve --http

Then open http://localhost:3535/health