← Back to Plugins
MCP Server MCP

Agent MCP Gateway

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

uvx agent-mcp-gateway

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "agent-mcp-gateway",
      "version": "0.2.5",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Path to MCP servers configuration file (default: .mcp.json)",
          "name": "GATEWAY_MCP_CONFIG"
        },
        {
          "description": "Path to gateway access control rules file (default: .mcp-gateway-rules.json)",
          "name": "GATEWAY_RULES"
        },
        {
          "description": "Default agent ID when not provided in tool calls",
          "name": "GATEWAY_DEFAULT_AGENT"
        },
        {
          "description": "Enable debug mode and expose diagnostic tools (default: false)",
          "name": "GATEWAY_DEBUG"
        }
      ]
    }
  ]
}
mcp model-context-protocol pypi

Comments

Sign in to leave a comment

Loading comments...