Agent MCP Gateway
A Model Context Protocol (MCP) gateway that aggregates multiple MCP servers and provides policy-based access control for agents and subagents. Solves Claude Code's MCP context window waste by enabling on-demand tool discovery instead of loading all tool definitions upfront. It runs locally over stdio via the published package.
People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.
VERIFIED ACTIVE
LAST COMMIT 2025-12-02 · ★ 41 · #515 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25
MIT · Python servers · how we verify → /methodology
01 · Install Agent MCP Gateway
before you install - you'll need
Set GATEWAY_MCP_CONFIG, GATEWAY_RULES, BRAVE_API_KEY, DATABASE_URL, GATEWAY_DEBUG before connecting. GATEWAY_DEFAULT_AGENT is optional or environment-specific per the README.
Claude Code
claude mcp add roddutra-agent-mcp-gateway -- uvx agent-mcp-gateway Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"roddutra-agent-mcp-gateway": {
"command": "uvx",
"args": [
"agent-mcp-gateway"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
pypi package agent-mcp-gateway - check the name against the project README before installing (PyPI has no namespace ownership)
registry namespace io.github.roddutra is GitHub-verified and matches the repo owner
03 · What Agent MCP Gateway can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
Latest releases
v0.2.5 · 2025-12-02
Fixed · Graceful shutdown of downstream MCP servers - stdio subprocesses are now properly terminated when gateway exits · Gateway now follows MCP specification for stdio shutdown: close stdin, wait 2s, SIGTERM, then…
v0.2.4 · 2025-11-12
Changed · Enhanced MCP Registry metadata with title, repository info, and environment variable documentation · Condensed release process documentation (57% reduction) while maintaining all key information · Improved…
v0.2.3 · 2025-11-12
Added · MCP Registry publishing support via automated GitHub Actions workflow · server.json configuration for MCP Registry metadata · MCP Registry identifier in README.md for PyPI ownership validation…
04 · Who maintains Agent MCP Gateway
Agent MCP Gateway is maintained by roddutra. It's the only MCP server we track from this author; the repo dates to Oct 2025.
05 · Facts
- repository
- github.com/roddutra/agent-mcp-gateway
- category
- other - ranked #515 of 848 actively-maintained other servers as of 2026-08-25.
- registry
- io.github.roddutra/agent-mcp-gateway (active, first published 2025-11-12 · 3 versions)
- packages
- pypi:agent-mcp-gateway
06 · Agent MCP Gateway FAQ
What is Agent MCP Gateway?
A Model Context Protocol (MCP) gateway that aggregates multiple MCP servers and provides policy-based access control for agents and subagents. Solves Claude Code's MCP context window waste by enabling on-demand tool discovery instead of loading all tool definitions upfront. It runs locally over stdio via the published package.
Is Agent MCP Gateway still maintained?
Yes - as of 2026-08-25, its last commit was 2025-12-02. We re-verify nightly.
How do I install Agent MCP Gateway?
Run `uvx agent-mcp-gateway`. The README documents 6 environment variables (GATEWAY_MCP_CONFIG, GATEWAY_RULES, GATEWAY_DEFAULT_AGENT…) to set first. Set GATEWAY_MCP_CONFIG, GATEWAY_RULES, BRAVE_API_KEY, DATABASE_URL, GATEWAY_DEBUG before connecting. GATEWAY_DEFAULT_AGENT is optional or environment-specific per the README. You can also paste the ready-made client config above.
Does Agent MCP Gateway run locally?
Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Agent MCP Gateway
Alternatives to Agent MCP Gateway
Maintained other servers if Agent MCP Gateway isn't the fit.
- Heyputer MCP Server Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more ★ 43,204 · 2026-08-24
- Server Commands An MCP server to run arbitrary commands ★ 38,704 · 2026-08-05
- Zotero MCP (54yyyu) Search, read, annotate, and add to your Zotero research library, local or web. ★ 4,780 · 2026-08-25
- Firebase MCP Gives AI development tools Firebase-specific capabilities and expertise. ★ 4,460 · 2026-08-25
- Microsoft Fabric MCP Server MCP tools for interacting with Microsoft Fabric ★ 3,598 · 2026-08-21
- Ship Swift 40+ production-ready SwiftUI recipes for building full-stack iOS apps via MCP. ★ 2,968 · 2026-08-09
More MCP servers to compare · Pmd · Cli2mcp · Rootly · x402 Discovery MCP · Rootstock (RSK) MCP Server
More Python MCP servers · Backburner · Health Bridge for AI · Zettel Forge · Memory OS AI · Agentpay · see all