mcphub
Self-hosted MCP gateway and control plane for connecting, controlling, and operating MCP servers.
- 2.6k stars
- 349 forks
- 15 open issues
- Language: TypeScript
- License: Apache-2.0
- updated
Install
git clone https://github.com/samanhappy/mcphub{
"mcpServers": {
"mcphub": {
"command": "node",
"args": ["/path/to/mcphub/dist/index.js"]
}
}
}{
"mcpServers": {
"mcphub": {
"command": "node",
"args": ["/path/to/mcphub/dist/index.js"]
}
}
}- Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
- Replace any <placeholder> values with your API keys or paths.
- Restart Claude. The MCP server and its tools appear automatically.
Clone https://github.com/samanhappy/mcphub and follow its README for install instructions.
Editor's note
MCPHub is a TypeScript-based MCP gateway that consolidates multiple MCP servers behind a single, self-hosted hub with a web dashboard, exposing them through Streamable HTTP and SSE endpoints at distinct URL paths: `/mcp` for all servers at once, `/mcp/{group}` for logical groups, `/mcp/{server}` for individual servers, and `/mcp/$smart` for AI-powered tool discovery via vector semantic search. Claude Desktop and other MCP-compatible clients connect to these endpoints directly, replacing the need to configure each MCP server separately in every client. Operators manage servers through either a browser dashboard or a bundled CLI that supports commands like `mcphub servers add`, `mcphub tools list`, and `mcphub call`, with hot-swappable configuration that requires no downtime. A notable feature is tool result compression, which reduces large text outputs before they reach clients, and production deployments can store configuration in PostgreSQL with OAuth 2.0 and social login support. The project suits teams or individuals running many MCP servers who want centralized access control, grouping, and routing from a single Docker-deployable service.
MCP Servers overview
What people ask about mcphub
What is samanhappy/mcphub?
samanhappy/mcphub is mcp servers for the Claude AI ecosystem. Self-hosted MCP gateway and control plane for connecting, controlling, and operating MCP servers. It has 2.6k GitHub stars and its last recorded update is dated 2026-10-23.
How do I install mcphub?
You can install mcphub by cloning the repository (https://github.com/samanhappy/mcphub) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is samanhappy/mcphub safe to use?
Our security agent has analyzed samanhappy/mcphub and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains samanhappy/mcphub?
samanhappy/mcphub is maintained by samanhappy. The last recorded GitHub activity is dated 2026-10-23, with 15 open issues.
Are there alternatives to mcphub?
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.