Skip to content
Claude Desktop

Agent MCP Gateway for Claude Desktop

io.github.roddutra/agent-mcp-gateway

On-demand tool discovery for all your MCPs and per-subagent MCP controls to preserve context window.

client:Claude Desktop transport:stdio runtime:pypi

Install Agent MCP Gateway in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "agent-mcp-gateway": {
      "command": "uvx",
      "args": [
        "agent-mcp-gateway"
      ],
      "env": {
        "GATEWAY_MCP_CONFIG": "<GATEWAY_MCP_CONFIG>",
        "GATEWAY_RULES": "<GATEWAY_RULES>",
        "GATEWAY_DEFAULT_AGENT": "<GATEWAY_DEFAULT_AGENT>",
        "GATEWAY_DEBUG": "<GATEWAY_DEBUG>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

Agent MCP Gateway in other clients