roddutra/agent-mcp-gateway
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 each agent/subagent can access.
Platform-specific configuration:
{
"mcpServers": {
"agent-mcp-gateway": {
"command": "npx",
"args": [
"-y",
"agent-mcp-gateway"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Loading reviews...