Koskamo

mcp-hub MCP

mcp-hub is a community-maintained MCP gateway that aggregates multiple stdio MCP servers into a single containerized HTTPS endpoint. It supports both MCP protocol revisions, provides path-based routing for individual servers, and offers a hub aggregate endpoint with meta-tools. The server handles OAuth 2.1 authentication for both clients and upstreams, ensuring secure access for tools like ChatGPT, Claude, and Cursor.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

mcp-hub MCP logo, by ni-cCommunity listingLocal stdioSource reviewed; not executedPublished by ni-c
Vendor documentation

What you can do with it

  • Aggregating multiple stdio MCP servers into one container
  • Providing path-based routing for individual MCP servers
  • Exposing a hub aggregate endpoint with meta-tools
  • Managing OAuth 2.1 authentication for clients and upstreams

Source and maintenance

Community listingRegistry 0.11.7
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@ni-c/mcp-hub 0.11.7

npmnpx
@ni-c/mcp-hub package definition
{
  "version": "0.11.7",
  "transport": "stdio",
  "identifier": "@ni-c/mcp-hub",
  "runtimeHint": "npx",
  "registryType": "npm",
  "packageArguments": [
    {
      "type": "positional",
      "value": "--stdio"
    }
  ],
  "environmentVariables": [
    {
      "name": "CONFIG_PATH",
      "format": "string",
      "description": "Path to the mcp.json listing the servers to expose, in Claude Code's mcpServers format (default mcp.json in the working directory)"
    },
    {
      "name": "IDLE_TIMEOUT_MINUTES",
      "format": "number",
      "default": "60",
      "description": "Minutes of inactivity before a server is put to sleep; 0 starts every server at launch and keeps it running (default 60)"
    },
    {
      "name": "TOOL_CACHE_PATH",
      "format": "string",
      "description": "Tool snapshots of sleeping servers (default .mcp-hub/tool-cache.json beside the config)"
    },
    {
      "name": "LOG_FILE",
      "format": "string",
      "description": "Mirror the hub's log lines into this file; stdout carries the protocol, so logging goes to stderr otherwise"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mcp-hub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/mcp-hub@0.11.7",
        "--stdio"
      ],
      "env": {
        "CONFIG_PATH": "<YOUR_CONFIG_PATH>",
        "IDLE_TIMEOUT_MINUTES": "<YOUR_IDLE_TIMEOUT_MINUTES>",
        "TOOL_CACHE_PATH": "<YOUR_TOOL_CACHE_PATH>",
        "LOG_FILE": "<YOUR_LOG_FILE>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-hub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/mcp-hub@0.11.7",
        "--stdio"
      ],
      "env": {
        "CONFIG_PATH": "<YOUR_CONFIG_PATH>",
        "IDLE_TIMEOUT_MINUTES": "<YOUR_IDLE_TIMEOUT_MINUTES>",
        "TOOL_CACHE_PATH": "<YOUR_TOOL_CACHE_PATH>",
        "LOG_FILE": "<YOUR_LOG_FILE>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mcp-hub-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/mcp-hub@0.11.7",
        "--stdio"
      ],
      "env": {
        "CONFIG_PATH": "<YOUR_CONFIG_PATH>",
        "IDLE_TIMEOUT_MINUTES": "<YOUR_IDLE_TIMEOUT_MINUTES>",
        "TOOL_CACHE_PATH": "<YOUR_TOOL_CACHE_PATH>",
        "LOG_FILE": "<YOUR_LOG_FILE>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mcp-hub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/mcp-hub@0.11.7",
        "--stdio"
      ],
      "env": {
        "CONFIG_PATH": "<YOUR_CONFIG_PATH>",
        "IDLE_TIMEOUT_MINUTES": "<YOUR_IDLE_TIMEOUT_MINUTES>",
        "TOOL_CACHE_PATH": "<YOUR_TOOL_CACHE_PATH>",
        "LOG_FILE": "<YOUR_LOG_FILE>"
      }
    }
  }
}

Let your agent find its tools

Find servers like mcp-hub MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.