Skip to content
Cline

Agent MCP Gateway for Cline

io.github.roddutra/agent-mcp-gateway

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

client:Cline transport:stdio runtime:pypi

Install Agent MCP Gateway in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.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>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

Agent MCP Gateway in other clients