MCP Server Studio

mcp-hub MCP server

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

Publisher
ni-c
Runs
Runs locally
Package
npm
Version
0.13.2
Category
Security
Updated
2026-12-01

Source code on GitHub

Set up mcp-hub (run locally)

Claude Desktop

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>"
      }
    }
  }
}

Claude Code

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]

Cursor

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>"
      }
    }
  }
}

VS Code

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>"
      }
    }
  }
}

Windsurf

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>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
CONFIG_PATHNoPath to the mcp.json listing the servers to expose, in Claude Code's mcpServers format (default mcp.json in the working directory)
IDLE_TIMEOUT_MINUTESNoMinutes of inactivity before a server is put to sleep; 0 starts every server at launch and keeps it running (default 60)
TOOL_CACHE_PATHNoTool snapshots of sleeping servers (default .mcp-hub/tool-cache.json beside the config)
LOG_FILENoMirror the hub's log lines into this file; stdout carries the protocol, so logging goes to stderr otherwise

More security MCP servers