MCPHub

MCPHub

Open-Source, Self-Hosted MCP Gateway

One control plane for your MCP servers. Connect them once, route tools to the right agents, and give each user their own credentials.

GITHUB STARS
2,745
TOTAL DOCKER PULLS
500K+
MCP SERVERS INDEXED
20000+
COMMUNITY MEMBERS
400+

WORKS WITH YOUR AGENT CLIENTS

  • Claude
  • Cursor
  • Cline
  • Windsurf
  • Zed
How it works

A unified gateway between agents and MCP servers.

Connect your AI clients, route requests, enforce access control, and manage multiple MCP servers — all in one place.

AI CLIENTS / AGENTS
Claude
Cursor
Cline
Custom
MCPHub
MCP Gateway & Control Plane
Auth & Access
Routing
Credentials
Observability
MCP SERVERS
github
postgres
playwright
filesystem
Browse the Registry
Developer experience

Tools that respect your workflow.

Flexible Deployment

Choose Docker, npm, yarn, or pnpm to run MCPHub in your own environment.

Quick start guide
docker run -d --name mcphub \
  -p 127.0.0.1:3000:3000 \
  -v ./data:/app/data \
  samanhappy/mcphub

# open http://localhost:3000

MCP Registry

Discover MCP servers and copy installation configuration from the community Registry.

Browse the Registry
Search servers⌘K
DatabaseBrowserDevOps
  • postgres
    @modelcontextprotocol
  • sqlite
    @modelcontextprotocol
  • playwright
    @microsoft
mcphub.app/registry

Make your first tool call

  1. Start MCPHub with Docker and sign in using the first-run password from docker logs mcphub. Add a stdio server named fetch with command uvx and argument mcp-server-fetch.

  2. Add http://localhost:3000/mcp to Cursor as a Streamable HTTP MCP endpoint. If authentication is enabled, configure the credentials required by your gateway.

  3. Ask Cursor to fetch https://example.com using the MCP tool. The tool result should contain “Example Domain”.

Get started with MCPHub today.

Open source, self-hosted, and ready for your MCP infrastructure.

Apache 2.0 · Self-hosted · Docker in 60 seconds