Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Agent MCP Gateway

local MCP server

Installation

Terminal

claude mcp add agent-mcp-gateway -e GATEWAY_MCP_CONFIG=... -e GATEWAY_RULES=... -e GATEWAY_DEFAULT_AGENT=... -e GATEWAY_DEBUG=... -- uvx agent-mcp-gateway

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

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

Fill in the environment variables with your own credentials.

Summary

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

Questions

Agent MCP Gateway is a local MCP server distributed as the pypi package agent-mcp-gateway.

Run: claude mcp add agent-mcp-gateway -e GATEWAY_MCP_CONFIG=... -e GATEWAY_RULES=... -e GATEWAY_DEFAULT_AGENT=... -e GATEWAY_DEBUG=... -- uvx agent-mcp-gateway

Run: codex mcp add agent-mcp-gateway --env GATEWAY_MCP_CONFIG=... --env GATEWAY_RULES=... --env GATEWAY_DEFAULT_AGENT=... --env GATEWAY_DEBUG=... -- uvx agent-mcp-gateway

Similar MCP servers

NameStars
  1. token-optimizer-mcpio.github.ooples/token-optimizer-mcp537
  2. Entrolyio.github.juyterman1000/entroly470
  3. ClariLayerio.github.clarilayer/clarilayer82
  4. Bhived MCPio.github.ArtKeyAi/bhived-mcp35
  5. my-cool-proxyio.github.karashiiro/my-cool-proxy15
  6. ContextOS — Powered Exoskeleton for AI Codingio.github.yubinbin32-ops/contextos11
  7. mdflow — Context OS for AI Coding Agentsio.github.yubinbin32-ops/mdflow11
  8. Honchoio.github.plastic-labs/honcho7,369
Buy me a coffee