MCP Hub

by @ravitemer

Hub MCP Server

MCP Hub coordinates multiple MCP servers behind one client endpoint. It provides a REST management API and web UI, with server lifecycle controls, authentication handling, and live capability updates.

Server facts

MCP Hub

GitHub stars

521

Last commit

Oct 24, 2025

Runtime

node

License

MIT

Tech

Runtime
node
Transports
stdio
Remote access
No

Activity

GitHub stars
521
Last commit
Data as of

Tags

  • Hot Reload
  • Mcp Proxy
  • Oauth
  • Server Management

Overview

MCP Hub centralizes connections between MCP clients and multiple underlying servers. It offers a management surface through REST endpoints and a web interface, while a separate MCP endpoint exposes the capabilities of connected servers to clients. This lets a client use one connection instead of configuring every backend individually. Capabilities are namespaced to avoid collisions when different servers expose similarly named operations. The hub handles request routing, connection state, authentication, and updates when servers or their capabilities change. It supports tools, resources, resource templates, and prompts, along with the associated list-change notifications described in the README.

Managed servers can run locally through stdio or connect remotely through streamable HTTP and SSE. Authentication options include OAuth with PKCE and custom headers. Operators can start, stop, enable, or disable servers, monitor status, and use reconnection with backoff. Configuration can come from several files merged in order, including VS Code-compatible server definitions. Variable substitution supports environment values, workspace details, inputs, and command output. Development mode can restart a server when watched files change, while workspace tracking helps distinguish instances in different directories. Installation is through npm, followed by a launch command specifying a port and configuration path. Roots, sampling, and completion are explicitly unsupported, so the hub is not a complete implementation of every MCP capability.

Install & configure

Requirements

  • npm
  • Install mcp-hub globally
  • A configuration file defining managed MCP servers
Documented launch / install command
mcp-hub --port 3000 --config path/to/config.json

Install with npm install -g mcp-hub first. Replace the example config path. The sample endpoint uses port 37373, but this launch example selects 3000; connect clients to the chosen port.

Use cases

  • Connect several MCP clients to a shared set of servers
  • Manage local and remote server lifecycles centrally
  • Reuse VS Code MCP configuration files
  • Restart development servers when watched files change

Strengths

  • Combines management APIs with one MCP client endpoint
  • Supports local stdio and remote HTTP or SSE servers
  • Namespacing reduces capability name collisions
  • Includes OAuth PKCE and header authentication

Limitations

  • Does not support roots, sampling, or completion
  • Requires a port and server configuration to launch

MCP Hub setup notes

  • MCP Hub records stdio only; confirm a network transport upstream before planning remote access.

Frequently asked questions

Clients use the hub MCP endpoint, which exposes capabilities from managed servers.

Related MCP servers