A unified hub for centrally managing and dynamically orchestrating multiple MCP servers/APIs into separate endpoints with flexible routing strategies
Configuration
View docs{
"mcpServers": {
"samanhappy-mcphub": {
"command": "npx",
"args": [
"-y",
"time-mcp"
]
}
}
}MCPHub is a centralized platform that organizes multiple MCP servers behind flexible streaming endpoints, enabling you to manage, route, and scale your MCP deployments with ease. It supports accessing all servers, specific groups, or individual servers via HTTP/SSE, with optional smart routing, authentication, and containerized deployment for production use.
You can connect MCP clients to MCPHub to access all MCP servers or target specific groups or servers. Use the smart routing endpoints to discover the best available server for your task, or route directly to a named server or group. Authentication protects endpoints by default, and you can adjust authentication in trusted environments.
Prerequisites: install Node.js (recommended LTS) and an active container runtime if you plan to run via Docker. You will also use a package manager to install dependencies.
1) Create a configuration file for MCPHub to define your MCP servers.
2) Run MCPHub using Docker or a local development setup according to your preference.
Create a file named mcp_settings.json to list your MCP servers. You can define local (stdio) MCP servers using commands such as npx or uvx that start the specific MCP services you want MCPHub to manage.
{
"mcpServers": {
"time": {
"command": "npx",
"args": ["-y", "time-mcp"]
},
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
}
}
}MCP endpoints require authentication by default to prevent accidental exposure. To allow unauthenticated MCP access, disable the Bearer Authentication setting in the Keys section. Skip Authentication only affects dashboard login. Use these options only in trusted environments.
To connect AI clients, use the following endpoints to access MCPHub routed servers:
http://localhost:3000/mcp # All servers
http://localhost:3000/mcp/{group} # Specific group
http://localhost:3000/mcp/{server} # Specific server
http://localhost:3000/mcp/$smart # Smart routing
http://localhost:3000/mcp/$smart/{group} # Smart routing within groupMCPHub supports Docker for quick deployment. You can mount your configuration file and data directory to the container for persistent configuration and state.
Unified dashboard to monitor and control MCP servers.
Routing access to all servers, groups, or individuals via HTTP/SSE.
AI-powered tool discovery using vector semantic search.
OAuth 2.0 authentication for client and server modes.
Store configuration in PostgreSQL for production.
Docker-ready deployment for quick setup.