MCP Server Studio
Many stdio MCP servers from one container, published over HTTPS with OAuth 2.1 for any MCP client
Registry name: io.github.ni-c/mcp-hub
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-hub": {
"command": "npx",
"args": [
"-y",
"@ni-c/[email protected]"
],
"env": {
"CONFIG_PATH": "<CONFIG_PATH>",
"IDLE_TIMEOUT_MINUTES": "<IDLE_TIMEOUT_MINUTES>",
"TOOL_CACHE_PATH": "<TOOL_CACHE_PATH>",
"LOG_FILE": "<LOG_FILE>"
}
}
}
}Run in your terminal:
claude mcp add mcp-hub -e CONFIG_PATH='<CONFIG_PATH>' -e IDLE_TIMEOUT_MINUTES='<IDLE_TIMEOUT_MINUTES>' -e TOOL_CACHE_PATH='<TOOL_CACHE_PATH>' -e LOG_FILE='<LOG_FILE>' -- npx -y @ni-c/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp-hub": {
"command": "npx",
"args": [
"-y",
"@ni-c/[email protected]"
],
"env": {
"CONFIG_PATH": "<CONFIG_PATH>",
"IDLE_TIMEOUT_MINUTES": "<IDLE_TIMEOUT_MINUTES>",
"TOOL_CACHE_PATH": "<TOOL_CACHE_PATH>",
"LOG_FILE": "<LOG_FILE>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"mcp-hub": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ni-c/[email protected]"
],
"env": {
"CONFIG_PATH": "<CONFIG_PATH>",
"IDLE_TIMEOUT_MINUTES": "<IDLE_TIMEOUT_MINUTES>",
"TOOL_CACHE_PATH": "<TOOL_CACHE_PATH>",
"LOG_FILE": "<LOG_FILE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"mcp-hub": {
"command": "npx",
"args": [
"-y",
"@ni-c/[email protected]"
],
"env": {
"CONFIG_PATH": "<CONFIG_PATH>",
"IDLE_TIMEOUT_MINUTES": "<IDLE_TIMEOUT_MINUTES>",
"TOOL_CACHE_PATH": "<TOOL_CACHE_PATH>",
"LOG_FILE": "<LOG_FILE>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
CONFIG_PATH | No | Path to the mcp.json listing the servers to expose, in Claude Code's mcpServers format (default mcp.json in the working directory) |
IDLE_TIMEOUT_MINUTES | No | Minutes of inactivity before a server is put to sleep; 0 starts every server at launch and keeps it running (default 60) |
TOOL_CACHE_PATH | No | Tool snapshots of sleeping servers (default .mcp-hub/tool-cache.json beside the config) |
LOG_FILE | No | Mirror the hub's log lines into this file; stdout carries the protocol, so logging goes to stderr otherwise |