Serve multiple stdio MCP servers from one container: path routing, hub meta-tools, OAuth 2.1 + API tokens for ChatGPT, Claude, Cursor and other MCP clients
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add hub-ni-c -- npx -y @ni-c/mcp-hub~/.codex/config.toml
[mcp_servers.hub-ni-c]
command = "npx"
args = ["-y", "@ni-c/mcp-hub"]
# codex mcp add hub-ni-c -- npx -y @ni-c/mcp-hub~/.cursor/mcp.json
{
"mcpServers": {
"hub-ni-c": {
"command": "npx",
"args": [
"-y",
"@ni-c/mcp-hub"
]
}
}
}.vscode/mcp.json
{
"servers": {
"hub-ni-c": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ni-c/mcp-hub"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"hub-ni-c": {
"command": "npx",
"args": [
"-y",
"@ni-c/mcp-hub"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"hub-ni-c": {
"command": "npx",
"args": [
"-y",
"@ni-c/mcp-hub"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"hub-ni-c": {
"command": "npx",
"args": [
"-y",
"@ni-c/mcp-hub"
]
}
}
}