mcp-gateway vs mcphub

MCP gateways for routing and managing server connections

mcp-gateway and mcphub both put a single gateway between MCP clients and servers, centralizing connections and routing. mcp-gateway also exposes REST API operations and uses on-demand tool discovery, while mcphub emphasizes self-hosted operations, access management, and visibility.

mcp-gatewaymcphub
LanguageRustTypeScript
LicenseNOASSERTIONApache-2.0
Stars782.5k
Forks19330
Last analyzedOct 3, 2026Oct 3, 2026

Key differences

  • mcp-gateway aggregates MCP servers and REST capabilities imported from OpenAPI specifications; mcphub focuses on connecting and routing to MCP servers.
  • mcp-gateway exposes meta-tools for searching and invoking tools on demand, which can add a discovery hop; mcphub offers routes to all servers, groups, or individual servers, plus optional smart routing.
  • mcp-gateway is written in Rust, while mcphub is written in TypeScript.
  • mcp-gateway reports its license as NOASSERTION and describes commercial use as requiring a commercial license; mcphub is licensed under Apache-2.0.
  • mcp-gateway supports stdio, Streamable HTTP, SSE, and WebSocket transports; mcphub lists stdio, SSE, and Streamable HTTP.
  • mcphub provides activity and server logs, per-user credentials, and optional PostgreSQL storage; mcp-gateway highlights protocol-revision bridging, REST imports, and per-client tool scopes.

Choose mcp-gateway if you…

  • need to expose selected REST API operations as MCP tools alongside MCP servers.
  • want on-demand tool discovery for a large catalog or a bridge between supported MCP protocol revisions.
  • need WebSocket transport or a Rust gateway.
Read the mcp-gateway analysis →

Choose mcphub if you…

  • want a self-hosted dashboard with activity logs, server logs, and health checks.
  • need user or group access controls and per-user credential bindings.
  • want optional PostgreSQL storage and vector-based smart routing.
Read the mcphub analysis →

Compare the numbers side by side, or add more projects

This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.