mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-23 18:29:21 -05:00
766 B
766 B
MCP Hub
A hub server for MCP servers.
Usage
- Create a configuration file named
mcp_settings.jsonwith your MCP server settings:
{
"mcpServers": {
"time-mcp": {
"command": "npx",
"args": ["-y", "time-mcp"]
},
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}
- 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
- The server will be available at
http://localhost:3000/sse