Skip to content

@himorishige/hatago-mcp-hub

npm GitHub Release

Unified MCP Hub for managing multiple MCP servers. Works with Claude Code, Codex CLI, Cursor, Windsurf, VS Code.

Terminal window
# Create config
npx @himorishige/hatago-mcp-hub init
# STDIO (Claude Code)
npx @himorishige/hatago-mcp-hub serve --stdio --config ./hatago.config.json
# HTTP (debug)
npx @himorishige/hatago-mcp-hub serve --http --port 3535
Terminal window
hatago init [--mode stdio|http] [--config path] [--force]
hatago serve [--stdio|--http] [-c path] [-h host] [-p port] [--watch] [--tags a,b] [--verbose|--quiet]

hatago.config.json:

{
"$schema": "https://raw.githubusercontent.com/himorishige/hatago-hub/main/schemas/config.schema.json",
"version": 1,
"logLevel": "info",
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
}
}
}

Remote servers:

{
"mcpServers": {
"deepwiki": { "url": "https://mcp.deepwiki.com/sse", "type": "sse" },
"custom": { "url": "https://api.example.com/mcp", "type": "http", "headers": { "Authorization": "Bearer ${API_KEY}" } }
}
}
import { startServer } from '@himorishige/hatago-mcp-hub';
await startServer({ mode: 'stdio', config: './hatago.config.json', watchConfig: true });

MIT