mcp-gateway
by theognis1002·★ 41·Score 47
Production-ready API gateway for MCP servers with authentication, logging, rate limiting, and multi-protocol support.
Overview
The MCP Gateway is a comprehensive enterprise-grade infrastructure for managing MCP servers. It translates REST APIs into MCP, builds virtual MCP servers with security and observability, and bridges multiple transports including stdio, SSE, and HTTP. The gateway provides features like JWT authentication, RBAC, rate limiting, server discovery, namespace management, and real-time monitoring.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose MCP Gateway when you need enterprise-grade security and multi-protocol support for MCP servers in a production environment, especially when managing multiple MCP servers across different namespaces.
When NOT to choose this
Avoid for simple single-server deployments or when you need lightweight resource usage, as this is a full-featured gateway with significant overhead.
Comparable tools
Installation
Docker Installation (Recommended)
# Clone the repository
git clone https://github.com/mcp-gateway/mcp-gateway.git
cd mcp-gateway
# Copy env
cp .env.example .env
# Run with Docker Compose
docker compose up --buildAfter starting the gateway, access the admin interface at http://localhost:3000 with credentials admin@admin.com / qwerty123.
Claude Desktop Integration
Add to your Claude Desktop config.json:
{
"mcpServers": {
"mcp-gateway": {
"command": "docker",
"args": ["run", "--rm", "-p", "8080:8080", "mcp-gateway/mcp-gateway:latest"]
}
}
}FAQ
- What protocols does the MCP Gateway support?
- The gateway supports multiple protocols including JSON-RPC 2.0 over HTTP, WebSocket, Server-Sent Events, Streamable HTTP, and STDIO for CLI bridging.
- How does the gateway handle security?
- The gateway provides JWT authentication, OAuth2/OIDC support, RBAC with fine-grained permissions, API key management, rate limiting with Redis, and content filtering for PII detection.
Compare mcp-gateway with
Last updated · Auto-generated from public README + GitHub signals.