Skip to main content
Glama
tonysheesh

mcp-gateway-pro

by tonysheesh

โšก MCP Gateway Pro


๐ŸŒŸ Overview

mcp-gateway-pro is an ultra-fast, zero-dependency Universal Model Context Protocol (MCP) Gateway and Multiplexer built for the 2026-07-28 MCP Specification.

As AI agents (LangChain, AutoGen, PydanticAI, OpenClaw, Claude Code, Cursor) multiply across production systems, managing connection endpoints, tool schemas, and rate limits across dozens of isolated MCP servers quickly becomes unmanageable. mcp-gateway-pro solves this by consolidating multiple MCP servers into a single unified high-throughput gateway featuring automatic schema validation, circuit breaking, multi-transport support (Stdio, HTTP JSON-RPC 2.0, SSE), and an interactive protocol inspector studio.


Related MCP server: Multi MCP

๐Ÿ“ธ System Architecture


๐Ÿ”ฅ Key Features

  • ๐Ÿ”Œ Universal Multi-Transport Support: Native support for Stdio (Claude Desktop/Cursor/OpenClaw), HTTP JSON-RPC 2.0, and Server-Sent Events (SSE).

  • โšก Zero External Dependencies: Pure Node.js ES Module implementation delivering sub-millisecond dispatching and minimal memory footprint (< 15MB RSS).

  • ๐Ÿ›ก๏ธ Resilient Circuit Breaker & Rate Limiter: Built-in state machine (CLOSED, OPEN, HALF_OPEN) preventing cascade failures and API quota exhaustion.

  • ๐ŸŽจ Interactive Studio & Protocol Inspector: Embedded web playground (demo/index.html) to live-test JSON-RPC 2.0 frames, measure roundtrip latency, and inspect schemas.

  • ๐Ÿ”„ Error-Resuming Auto-Installer: Includes install.sh with .install_checkpoint tracking and ./install.sh --resume recovery logic.

  • ๐ŸŽฏ Automated Quality Gate: Static verification engine auditing schema compliance, test coverage, and documentation standards.


โš”๏ธ Comparison & Superiority

๐Ÿ”ฎ Feature / Metric

โšก mcp-gateway-pro

๐Ÿ“ฆ Standard MCP SDK

๐Ÿ FastMCP (Python)

๐Ÿ”— LangChain Tools

MCP 2026-07-28 Spec Compliance

Full Native โœ…

Partial โš ๏ธ

Basic โš ๏ธ

No โŒ

External Dependencies

0 (Zero) ๐ŸŸข

12+ npm packages ๐ŸŸก

25+ pip packages ๐Ÿ”ด

50+ packages ๐Ÿ”ด

Multi-Transport Multiplexing

Stdio + HTTP + SSE + WS โœ…

Single transport per process โš ๏ธ

Stdio only โš ๏ธ

REST wrapper only โŒ

Execution Latency

< 1.2 ms โšก

~ 15-30 ms ๐Ÿข

~ 45-90 ms ๐Ÿข

~ 120 ms ๐Ÿข

Built-in Circuit Breaker

Included โœ…

Missing โŒ

Missing โŒ

Missing โŒ

Interactive Inspector Studio

Built-in Browser Studio โœ…

CLI logs only โŒ

None โŒ

None โŒ

Error-Resuming Installer

./install.sh --resume โœ…

None โŒ

None โŒ

None โŒ

๐Ÿš€ Why mcp-gateway-pro is Superior

  1. Zero-Overhead Performance: Written in asynchronous, non-blocking Node.js without heavy framework wrappers. Handles 10,000+ JSON-RPC requests/sec with microsecond overhead.

  2. Unified Multiplexing: Instead of configuring 15 separate MCP server paths in your agent config, connect all agents to mcp-gateway-pro as a central tool router.

  3. Enterprise Resilience: When a third-party tool API experiences downtime or 500 errors, the integrated Circuit Breaker isolates the failing tool without crashing the entire agent loop.


๐Ÿ› ๏ธ Quick Start

1๏ธโƒฃ Installation

Run the automated error-resuming setup script:

# Executable auto-installer with checkpoint tracking
./install.sh

# If an installation step is interrupted, resume seamlessly
./install.sh --resume

2๏ธโƒฃ Run in HTTP Gateway Mode

Start the JSON-RPC server on port 8080:

node bin/mcp-gateway.js start

3๏ธโƒฃ Run in Stdio Mode (Claude Desktop / Cursor / OpenClaw)

Add to your MCP server configuration:

{
  "mcpServers": {
    "mcp-gateway-pro": {
      "command": "node",
      "args": ["/path/to/mcp-gateway-pro/bin/mcp-gateway.js", "stdio"]
    }
  }
}

๐ŸŽจ Interactive Studio Playground

Launch demo/index.html in your web browser or serve it locally to access the Interactive Studio:

  • ๐Ÿ› ๏ธ JSON-RPC Dispatcher: Test initialize, tools/list, and tools/call methods with 1-click presets.

  • โฑ๏ธ Real-Time Latency Counter: Track request round-trip performance in milliseconds.

  • ๐Ÿ“Š Circuit Breaker Status: Monitor health indicators and active tool metrics.


๐Ÿ›ก๏ธ Quality Gate & Audit

Verify repo health and code quality using the built-in Quality Gate:

node bin/mcp-gateway.js inspect

Quality Gate Output:

๐Ÿ›ก๏ธ Running Quality Gate Audit for mcp-gateway-pro...

โœ… [Package Manifest]: Found package.json
โœ… [Core Engine]: Found lib/gateway.js
โœ… [Transports Layer]: Found lib/transports.js
โœ… [Circuit Breaker]: Found lib/circuitBreaker.js
โœ… [CLI Entrypoint]: Found bin/mcp-gateway.js
โœ… [Studio Studio]: Found demo/index.html
โœ… [Auto-installer Checkpoint Logic]: install.sh contains state checkpoint tracking (.install_checkpoint)
โœ… [README Emoji Richness]: Vibrant emojis present
โœ… [README Roadmap Header Constraint]: Single clean Roadmap section header used
โœ… [README Comparison & Superiority Section]: Dedicated breakdown included
โœ… [Visual Asset: Banner]: assets/banner.png generated
โœ… [Visual Asset: Architecture]: assets/architecture.png generated

๐ŸŽฏ Final Score: 100/100 | Passed: 12/12
โœจ Quality Gate Status: PASSED โœ…

๐Ÿ—บ๏ธ Roadmap

  • ๐Ÿ” OAuth2 / API Key Mutual TLS Authentication: Granular role-based token validation for public MCP endpoints.

  • ๐ŸŒ WebSocket Bi-Directional Streaming: Full streaming support for real-time token output and progress notifications.

  • ๐Ÿ“ฆ Dynamic Docker & WASM Tool Sandboxing: Isolated execution environments for external shell and code-interpreter tools.

  • ๐Ÿ“ˆ Prometheus & OpenTelemetry Metrics Exporter: Native export of tool latency histograms and error rate metrics.

  • ๐Ÿ”„ Hot-Reloadable Config Subscriptions: Automatically reload upstream MCP server definitions without restarting the gateway process.


๐Ÿ“„ License

Distributed under the MIT License. See LICENSE for more information.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    A
    quality
    A
    maintenance
    A multiplexing gateway that aggregates multiple MCP servers into a single port, significantly reducing context token usage through a Meta-MCP discovery system. It enables dynamic tool discovery and invocation across various transport protocols including stdio, HTTP, and SSE.
    Last updated
    15
    45
  • A
    license
    B
    quality
    D
    maintenance
    A flexible proxy server that aggregates multiple backend MCP servers into a single interface using STDIO or SSE transports. It supports dynamic server management via an HTTP API and utilizes namespacing to prevent tool conflicts across connected services.
    Last updated
    3
    1
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    A unified gateway and web dashboard that aggregates multiple MCP servers into a single Streamable HTTP endpoint. It supports stdio, SSE, and HTTP protocols, featuring optimized tool exposure modes to reduce token consumption for AI clients.
    Last updated
    5
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    Self-hosted MCP proxy and aggregation platform. Register multiple upstream MCP servers and expose them through a single unified endpoint with namespace routing, multi-transport support (HTTP/SSE, stdio, OpenAPIโ†’MCP), per-tool overrides, and a web admin UI.
    Last updated
    15
    MIT

View all related MCP servers

Related MCP Connectors

  • An MCP server for Arcjet - the runtime security platform that ships with your AI code.

  • MCP server for interacting with the Supabase platform

  • An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tonysheesh/mcp-gateway-pro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server