2025-03-31 19:48:44 +08:00
2025-03-31 15:38:30 +08:00
2025-03-31 15:38:30 +08:00
2025-03-31 15:38:30 +08:00
2025-03-31 15:38:30 +08:00
2025-03-31 15:38:30 +08:00

MCPHub: Multiple Servers, Single Endpoint, Zero Hassle

MCPHub is a unified hub server that consolidates multiple MCP (Model Context Protocol) servers into a single SSE endpoint. It simplifies service management and provides a centralized interface for all your MCP needs.

Dashboard Preview

Features

  • Centralized Management: Manage multiple MCP servers from a single hub
  • Protocol Support: Compatible with stdio and SSE MCP protocols
  • Dashboard UI: Monitor server status and dynamically manage servers through a web interface
  • Dynamic Management: Add, remove, or reconfigure MCP servers without restarting the hub

Quick Start

Docker

docker run -p 3000:3000 samanhappy/mcphub

Dashboard

Access the interactive management UI at http://localhost:3000

The dashboard provides:

  • Real-time monitoring of all MCP servers
  • Status indicators for all connected services
  • Dynamic addition or removal of new MCP servers without restarting

SSE endpoint

Connect your Host App, such as Claude Desktop, Cursor, Cherry Studio, and more, seamlessly to http://localhost:3000/sse.

Local Development

Clone the Repository

git clone https://github.com/samanhappy/mcphub.git

Configuration (Optional)

Edit the mcp_settings.json file:

{
  "mcpServers": {
    "time-mcp": {
      "command": "npx",
      "args": ["-y", "time-mcp"]
    },
    "sequential-thinking": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
    }
  }
}

Start the Server

cd mcphub && pnpm install && pnpm dev

License

MIT License

Description
A unified hub for centralized management and dynamic organization of multiple MCP servers into streamable HTTP (SSE) endpoints, with support for flexible routing strategies
Readme Apache-2.0 16 MiB
Languages
TypeScript 98.2%
JavaScript 0.9%
CSS 0.7%
Dockerfile 0.1%