agent-mcp-gateway
agent-mcp-gateway is an MCP server by roddutra. Provides per-subagent MCP access controls to Claude Code (or any MCP client) across all your MCPs and prevents context window bloat. Loads only 3 tools instead of all your MCP Server's tool definitions. Agents discover tools on-demand, only when needed. Control which servers and individual tools eac. It has 42 GitHub stars and ranks #375 of 777 in AI Agent Frameworks by stars.
- Category
- AI Agent Frameworks
- MCP evidence
- Listed in the official MCP Registry · Its own PyPI package · Install line in its README
- Author
- roddutra
- GitHub stars
- 42
- This week
- +1 stars this week · +0 forks since 18 Nov 2026
- Language
- Python
- License
- MIT (open source)
- Last update
- 2025-12-02 (12 months ago)
- Forks
- 5
- Created
- 2025-10-29 (13 months ago)
- MCP Registry
io.github.roddutra/agent-mcp-gateway- Links
- SourcePyPI
How to install agent-mcp-gateway
agent-mcp-gateway is published on PyPI as agent-mcp-gateway. The command below is the one its README gives, as read on 10 Nov 2026.
- Get ready. It reads these environment variables:
GATEWAY_MCP_CONFIG,GATEWAY_RULES,GATEWAY_DEFAULT_AGENT; put your own values in place of the placeholders. You need uv foruvx. - Add it to Claude Code from a terminal:
claude mcp add agent-mcp-gateway -e GATEWAY_MCP_CONFIG=<YOUR_GATEWAY_MCP_CONFIG> -e GATEWAY_RULES=<YOUR_GATEWAY_RULES> -e GATEWAY_DEFAULT_AGENT=<YOUR_GATEWAY_DEFAULT_AGENT> -- uvx agent-mcp-gateway - Or add it to Cursor or Claude Desktop in
.cursor/mcp.jsonorclaude_desktop_config.json:{ "mcpServers": { "agent-mcp-gateway": { "command": "uvx", "args": [ "agent-mcp-gateway" ], "env": { "GATEWAY_MCP_CONFIG": "<YOUR_GATEWAY_MCP_CONFIG>", "GATEWAY_RULES": "<YOUR_GATEWAY_RULES>", "GATEWAY_DEFAULT_AGENT": "<YOUR_GATEWAY_DEFAULT_AGENT>" } } } } - Restart the client and check it. Run
claude mcp list, or open the client's MCP settings, and confirm agent-mcp-gateway and its tools are listed. The install guide covers VS Code and Codex.
More MCP servers for Claude Code
agent-mcp-gateway ranks #1493 by GitHub stars among the 3,785 listings in MCP servers for Claude Code. That page compares the top entries by stars, license and last update.
Report a problem with this listing · Advertise on MCP Harbor
Frequently asked questions
What is agent-mcp-gateway?
agent-mcp-gateway is an MCP server by roddutra in the AI Agent Frameworks category. Provides per-subagent MCP access controls to Claude Code (or any MCP client) across all your MCPs and prevents context window bloat. Loads only 3 tools instead of all your MCP Server's tool definitions. Agents... It has 42 GitHub stars and ranks #375 of 777 in AI Agent Frameworks by stars.
Is agent-mcp-gateway free and open source?
The code in the agent-mcp-gateway repository is published under the MIT license, an open-source license that lets you read, modify and reuse the code. The license covers the code only. An app, account or API that agent-mcp-gateway connects to can have its own price and terms, so check those before you rely on it in a commercial product.
What are the alternatives to agent-mcp-gateway?
Other AI Agent Frameworks projects on MCP Harbor include paperclip, lobehub, oh-my-openagent. Each alternative links to its own page with stars, license and recent activity. The AI Agent Frameworks category ranks all 777 by stars, and you can re-sort it by growth this week.
Alternatives to agent-mcp-gateway
All 777 AI Agent Frameworks MCP servers →
Data last updated . Stars and downloads are refreshed every day from GitHub and npm.