#4040th of 155 in MCP servers for developers
mcphub
Self-hosted gateway that aggregates MCP servers behind one authenticated endpoint
- Stars
- 2.7k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- TypeScript
2,004 on 28 Apr 20262,713 on 17 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
MCPHub sits between AI clients and MCP servers, exposing local stdio and remote SSE or Streamable HTTP servers through stable endpoints for all servers, groups, or single servers. It adds bearer keys, OAuth 2.0, per-user credentials, a web dashboard, tool-call logs and health checks. Smart Routing uses pgvector semantic search to pick tools. Config lives in mcp_settings.json or PostgreSQL.
Who it is for: Teams self-hosting many MCP servers for Claude Code, Cursor and similar clients
Strengths
- Routes by group, single server, or semantic Smart Routing at /mcp/$smart
- Supports stdio, SSE and Streamable HTTP servers behind one endpoint
- Per-user encrypted credentials with isolated stdio runtimes
- Hot config changes without downtime; file-based config by default, no database needed
Weaknesses
- Social login needs PostgreSQL database mode; Smart Routing uses pgvector
- Database mode requires you to persist MCPHUB_CREDENTIAL_ENCRYPTION_KEY; losing it loses credentials
- Multiple replicas need PostgreSQL and explicit session affinity
- Rust and Playwright servers need the larger latest-full image
What it needs
- no GPU
- Docker + Compose
- Needs Docker, PostgreSQL (optional, pgvector for Smart Routing), Node.js >=22 and pnpm 10.12.4 (source builds only)
- port 3000
What changed
- v1.2.5 ↗ (opens in a new tab)Breaking
“Upgrade note: deployments using DBSYNCHRONIZE=false must apply docs/migrations/0006-file-staging.sql and docs/migrations/0007-tool-name-compatibility.sql before upgrading.”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
Reported, then fixed by a linked change
- TypeORM Postgres driver loses connection after long idle — no auto-reconnect, all MCP requests fail with HTTP 500 ↗ (opens in a new tab)2 reactions · closed 19 Jul 2026Fixed by fix: recover stale PostgreSQL connections ↗ (opens in a new tab)
- openapi.yml specs via URL prevent Server editing ↗ (opens in a new tab)2 reactions · closed 1 Jul 2026Fixed by fix: allow editing OpenAPI servers with recursive schemas (#959) ↗ (opens in a new tab)
- [Bug] Server options (timeout) silently dropped during JSON import ↗ (opens in a new tab)2 reactions · closed 28 May 2026Fixed by Preserve stdio request options during JSON server import ↗ (opens in a new tab)
- 建议:补充openAPI的tool调用失败"API call failed: 400"的上游详情 ↗ (opens in a new tab)2 reactions · closed 23 May 2026Fixed by Include upstream OpenAPI error details in tool call failures ↗ (opens in a new tab)
- Bugs in New UI ↗ (opens in a new tab)2 reactions · closed 18 May 2026Fixed by Improve wide-screen dashboard layout and prevent server row text collisions ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in MCP servers for developers
See all 155| Rank | Project | Score |
|---|---|---|
| 1 | codegraphLocal code knowledge graph that coding agents query over MCP | 97 out of 100 |
| 2 | gitnexusCode knowledge graph exposed to coding agents through MCP tools | 97 out of 100 |
| 3 | playwright-mcpMCP server that lets LLMs drive a browser through Playwright accessibility snapshots | 93 out of 100 |
| #4 | code-review-graphLocal Tree-sitter code graph that gives coding assistants review context over MCP | 92 out of 100 |
| #5 | fastmcpPython framework for building MCP servers, clients, and interactive apps | 92 out of 100 |