An MCP server that proxies multiple MCP servers.
Clone and cd:
git clone https://github.com/One-MCP/multi-mcp.git
cd multi-mcpInstall dependencies:
uv venv
uv pip install -r requirements.txtStart server:
hypercorn src.main:app
# hypercorn src.main:app --bind 0.0.0.0:7860Then you can access the server via http://localhost:8080/sse (for SSE mode) or http://localhost:8080/mcp (for streamable HTTP mode).
You can follows the VSCode Documentation#Configuration format to create the configuration JSON files, and there are also example files in the examples/config.
| Variable Name | Default Value | Description |
|---|---|---|
AUTH_TOKEN |
None |
The authentication token, the server will not perform authentication if not set |
CONFIG |
./examples/config/mcp_tools.json |
Path to the MCP configuration file |
ENCODING |
utf-8 |
The character encoding used for communication |
TRANSPORT |
sse |
The transport protocol for the server (one of stdio, sse, http) |
USE_NAMESPACE |
True |
Whether to use namespaces for tools/resources |
DEBUG |
False |
Enable or disable debug mode |
This program uses either Authorization or X-MCP-Token HTTP headers for authentication.
For the Authorization header, it receives Bearer <Your-AUTH_TOKEN> while for the X-MCP-Token, it receives <Your-AUTH_TOKEN>.
This project is inspired by: multi-mcp