Package

mcp-hub

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

io.github.ni-c/mcp-hubSource repository
Version0.13.1latest catalog version
ConnectionPackagenpm · oci
PublishedNov 19, 2026catalog
UpdatedNov 19, 2026catalog
Overview

What this server provides

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

Install

Packages

2
Package 1npm
@ni-c/mcp-hub0.13.1
  • CONFIG_PATH

    Path to the mcp.json listing the servers to expose, in Claude Code's mcpServers format (default mcp.json in the working directory)

    Format: string
    Optional
  • IDLE_TIMEOUT_MINUTES

    Minutes of inactivity before a server is put to sleep; 0 starts every server at launch and keeps it running (default 60)

    Format: number · Default: 60
    Optional
  • TOOL_CACHE_PATH

    Tool snapshots of sleeping servers (default .mcp-hub/tool-cache.json beside the config)

    Format: string
    Optional
  • LOG_FILE

    Mirror the hub's log lines into this file; stdout carries the protocol, so logging goes to stderr otherwise

    Format: string
    Optional
Package 2oci
ghcr.io/ni-c/mcp-hub:0.13.1Version not declared
http://localhost:{PORT}/hub
  • EXTERNAL_URL

    Public base URL exactly as clients see it, e.g. https://mcp.example.net (no path)

    Format: string
    Required
  • PASSWORD_HASH

    bcrypt hash of the OAuth login password (htpasswd -bnBC 10 "" 'pw' | tr -d ':\n')

    Format: string
    Required
  • TWO_FACTOR

    Set to totp to ask for a one-time code from an authenticator app at every sign-in. Default off.

    Format: string
    Optional
  • TOTP_SECRET

    Base32 secret the authenticator app was set up with (mcp-hub-admin totp init). Read only when TWO_FACTOR is totp.

    Format: string
    Optional
  • TRUSTED_PROXIES

    Comma-separated IPs/CIDRs of the reverse proxy allowed to set X-Forwarded-* headers

    Format: string
    Optional
  • CLIENT_REGISTRATION

    Which mechanisms a client may use to obtain a client_id: cimd (Client ID Metadata Documents), dcr (RFC 7591 dynamic registration), or both

    Format: string · Default: cimd,dcr
    Optional
  • CIMD_ALLOWED_ORIGINS

    Comma-separated https origins whose client ID metadata documents are accepted, e.g. https://chatgpt.com; unset admits every https origin

    Format: string
    Optional
  • PORT

    Listen port inside the container

    Format: number · Default: 80
    Optional
View server metadata