Our take
- Activity
- 88
- Community
- 61
- Issues
- 80
- Pull requests
- 81
+157 stars in the last 30 days
- Releases more often than 92% of the projects we track
- Merges more pull requests than 89% of the projects we track
Project history
Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.
Stars
2,704Forks
371Change since Nov 17, 2026: +6 stars·+1 forks
Overview
MCPHub sits between MCP-compatible clients and MCP servers, giving operators one place to connect servers and expose their tools through stable endpoints. Rather than configuring each client against individual servers, teams can manage routing and access centrally.
It is suited to people running several MCP servers who want a self-hosted dashboard, shared controls, and operational visibility. It supports both local and remote connections and offers file-based configuration by default, with PostgreSQL available for database mode.
Key Features
- Routes clients to all connected servers, a group, an individual server, or smart routing endpoints.
- Connects to local and remote servers over stdio, SSE, and Streamable HTTP.
- Manages authentication, bearer keys, OAuth 2.0, and server or group visibility.
- Supports per-user credentials with encrypted storage and isolated stdio runtimes.
- Provides a web dashboard, activity logs, server logs, and health checks.
- Allows server configuration changes without downtime through hot-swappable configuration.
- Offers PostgreSQL-backed storage and vector-based smart routing as optional capabilities.
Use Cases
- A developer running several MCP servers can give Claude Code, Cursor, or another compatible client a single gateway endpoint.
- A team can group servers by project or purpose and control which users can access each group.
- An operator can centralize request logs and health checks when troubleshooting a self-hosted MCP setup.
- A deployment that needs individual users' credentials for a shared server can use per-user credential bindings.
Getting Started
Run the Docker image with a persistent data directory:
docker run -p 3000:3000 -v ./data:/app/data samanhappy/mcphub
Open http://localhost:3000 to access the dashboard. See the README and documentation for setup, configuration, and client connection details.
Alternatives
- mcp-gateway: A Rust gateway that also exposes REST APIs and uses on-demand tool discovery, while MCPHub focuses on managing MCP server connections and access.
- magictunnel: A Rust MCP proxy centered on natural-language tool discovery and invocation, rather than MCPHub’s centralized routing, access controls, and operations.
| Project | Language | License | Stars | Status |
|---|---|---|---|---|
| mcphub | TypeScript | Apache-2.0 | 2.5k | Not checked yet |
| mcp-gateway | Rust | Other | 78 | Active |
| magictunnel | Rust | – | 259 | Inactive |
Considerations
- Docker is the recommended quick-start option. Running from source requires Node.js 20 or newer and pnpm 10.12.4.
- MCP endpoints require authentication by default. Disabling it should be limited to trusted environments.
- The default file-based configuration suits straightforward deployments; PostgreSQL is available for database mode.
- Smart routing relies on vector semantic search and is listed with PostgreSQL and pgvector in the project stack.
- The repository is active and licensed under Apache-2.0. Review the project's configuration and security guidance before exposing a gateway outside a trusted network.
Found this useful?
Share it with someone who would like mcphub.