Skip to content
Cursor

mcp-hub for Cursor

io.github.ni-c/mcp-hub

Many stdio MCP servers from one container, published over HTTPS with OAuth 2.1 for any MCP client

client:Cursor transport:stdio runtime:npm

Install mcp-hub in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-hub": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/mcp-hub"
      ],
      "env": {
        "CONFIG_PATH": "<CONFIG_PATH>",
        "IDLE_TIMEOUT_MINUTES": "<IDLE_TIMEOUT_MINUTES>",
        "TOOL_CACHE_PATH": "<TOOL_CACHE_PATH>",
        "LOG_FILE": "<LOG_FILE>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

mcp-hub in other clients