MCP directory
AM

Agent MCP Gateway

by github.com/roddutra · v0.2.5 · updated Dec 2, 2025

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

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx agent-mcp-gateway==0.2.5

Environment variables

  • GATEWAY_MCP_CONFIG

    Path to MCP servers configuration file (default: .mcp.json)

  • GATEWAY_RULES

    Path to gateway access control rules file (default: .mcp-gateway-rules.json)

  • GATEWAY_DEFAULT_AGENT

    Default agent ID when not provided in tool calls

  • GATEWAY_DEBUG

    Enable debug mode and expose diagnostic tools (default: false)

More MCP servers