Agent MCP Gateway
On-demand tool discovery for all your MCPs and per-subagent MCP controls to preserve context window.
Documentation & Preview
{ "mcpServers": { "mcp-agent-mcp-gateway": { "command": "uvx", "args": [ "--from", "agent-mcp-gateway==0.2.5", "agent-mcp-gateway" ], "env": { "GATEWAY_MCP_CONFIG": "${ENV_GATEWAY_MCP_CONFIG}", "GATEWAY_RULES": "${ENV_GATEWAY_RULES}", "GATEWAY_DEFAULT_AGENT": "${ENV_GATEWAY_DEFAULT_AGENT}", "GATEWAY_DEBUG": "${ENV_GATEWAY_DEBUG}" } } }, "setup": { "fields": [ { "id": "ENV_GATEWAY_MCP_CONFIG", "label": "GATEWAY_MCP_CONFIG", "description": "Path to MCP servers configuration file (default: .mcp.json)", "required": false, "secret": false, "default": "" }, { "id": "ENV_GATEWAY_RULES", "label": "GATEWAY_RULES", "description": "Path to gateway access control rules file (default: .mcp-gateway-rules.json)", "required": false, "secret": false, "default": "" }, { "id": "ENV_GATEWAY_DEFAULT_AGENT", "label": "GATEWAY_DEFAULT_AGENT", "description": "Default agent ID when not provided in tool calls", "required": false, "secret": false, "default": "" }, { "id": "ENV_GATEWAY_DEBUG", "label": "GATEWAY_DEBUG", "description": "Enable debug mode and expose diagnostic tools (default: false)", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Python 与 uv / uvx" ] }, "provenance": { "registryServer": "io.github.roddutra/agent-mcp-gateway", "registryVersion": "0.2.5", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.roddutra%2Fagent-mcp-gateway/versions/0.2.5", "repository": "roddutra/agent-mcp-gateway", "sourceCommit": "a1d664a4129bb6358b3cc9045f0095f2f32f127e", "namespaceRepositoryOwnerMatched": true, "package": { "registry": "pypi", "identifier": "agent-mcp-gateway", "version": "0.2.5", "wheelSha256": "e2f93a78c4d90b37d03f2583359c95761e680dcff7109618b41f7f9e94b0ed6c", "packageRepositoryMatched": true, "checkedAt": "2026-10-21T01:01:40.598Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }