whereismyai
Mcpgate
Mcpgate is an API gateway that adds authentication, rate limiting, and caching to Model Context Protocol servers.
mcpgate is a production gateway that sits in front of Model Context Protocol servers. It adds authentication, per-key rate limiting, response caching, circuit breakers, structured logs, and Prometheus metrics. The gateway runs either as an HTTP proxy or in stdio mode to aggregate multiple backends behind a single stream. Operators can configure the gateway using a YAML file and manage features like tool filtering, schema rewriting, and response rewriting. It supports API keys, OIDC JWTs, and OAuth2 tokens for credential validation.
Mcpgate at a glance
- Best for: Software engineer
- Runs on: Linux, macOS, Windows
- Pricing: Free
- Released: December 2026
- Category: AI coding tool
- Website: github.com/sunwen1983/mcpgate
Key features
- API-key authentication and Bearer tokens
- Per-key rate limiting with token buckets
- Response caching for tools and lists
- Circuit breakers with failure detection
- Prometheus metrics and structured logs
- Tool filtering and schema rewriting
- Stdio mode for local process aggregation
Use it for
- Add authentication and rate limits to MCP servers
- Cache tool responses to reduce backend load
- Protect slow backends with circuit breakers
- Aggregate multiple MCP backends into a single stream
Alternatives to Mcpgate
- mcpgawk — Pins each tool to what you approved and blocks calls if a server changes.
- MCP Context Forge — Federates MCP and REST services into a single clean endpoint.
- Mcpspan — Track MCP tool usage, token costs, and errors privately on your own machine.
- MetaMCP — Centralizes MCP server management with enterprise authentication and scaling.
- mcp-router — Reduces Claude Code tokens by 13% to 44% using tool search and JSON shaping
- FastMCP — The standard framework for building Model Context Protocol servers and clients.
- AWS MCP Servers — Provides real-time access to official AWS documentation and infrastructure tools.
- Apple Docs 2.0 MCP — Read Apple documentation, design guidelines, and WWDC sessions directly in your AI assistant.
- MCP Python SDK — Builds protocol servers and clients using standard Python type hints.
- Mcpwatch — Detects unauthorized tool changes and security risks in Model Context Protocol servers.
- MCP Karaoke — Provides mock cloud servers for testing AI clients and agents.
- MCP Toolsearch Proxy — Cuts token usage by 97 percent for large tool catalogs while maintaining high search accuracy.
All Mcpgate alternatives