MCP Hub logo

MCP Hub

by ravitemer

MCP Hub acts as a central coordinator between clients and multiple MCP servers. It makes it easy to utilize capabilities from multiple servers through a single interface.

View on GitHub

Last updated: N/A

What is MCP Hub?

MCP Hub is a central coordinator that manages and provides a unified interface for multiple MCP (Micro Control Plane) servers. It simplifies the utilization of capabilities from various servers through a single point of access.

How to use MCP Hub?

  1. Install MCP Hub using npm install -g mcp-hub. 2. Configure the hub by creating a JSON configuration file that defines the managed MCP servers (both STDIO and SSE types are supported). 3. Start the hub server using the command mcp-hub --port 3000 --config path/to/config.json. 4. Interact with the hub via its REST API or by subscribing to real-time Server-Sent Events (SSE).

Key features of MCP Hub

  • Dynamic Server Management

  • Unified REST API

  • Real-time Events & Monitoring

  • Client Connection Management

  • Process Lifecycle Management

Use cases of MCP Hub

  • Centralized management of multiple MCP servers

  • Providing a single interface for clients to access tools and resources from different servers

  • Real-time monitoring of server status and events

  • Integration with other applications and services via REST API and SSE

FAQ from MCP Hub

What types of MCP servers are supported?

MCP Hub supports both local (stdio) and remote (SSE) MCP servers.

How do I configure MCP Hub?

MCP Hub uses a JSON configuration file to define managed servers. The configuration file specifies the server type (STDIO or SSE) and the necessary options for each server.

How do I access tools and resources from MCP servers?

MCP Hub provides a unified REST API for executing tools and accessing resources from any connected server.

How do I monitor the status of MCP servers?

MCP Hub provides real-time status updates via Server-Sent Events (SSE) and a /health endpoint.

How do I integrate MCP Hub with other applications?

MCP Hub can be integrated with other applications via its REST API and SSE events. An example integration with Neovim is provided.