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

MCP Hub

A hub server for MCP servers.

Usage

  1. Create a configuration file named mcp_settings.json with your MCP server settings:
{
  "mcpServers": {
    "time-mcp": {
      "command": "npx",
      "args": ["-y", "time-mcp"]
    },
    "sequential-thinking": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sequential-thinking"
      ]
    }
  }
}
  1. Run MCP Hub using Docker:
docker run -p 3000:3000 -v ./mcp_settings.json:/app/mcp_settings.json samanhappy/mcphub

This will:

  • Map port 3000 from the container to your local machine
  • Mount your local configuration file into the container
  • Start the MCP Hub server
  1. The server will be available at http://localhost:3000/sse
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%