AgentHubAgentHub

Agent MCP Gateway

MCP ServerMCP Registry官方收录

io.github.roddutra/agent-mcp-gateway · v0.2.5

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

概览

Agent MCP Gateway 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "agent-mcp-gateway": {
      "command": "uvx",
      "args": [
        "agent-mcp-gateway"
      ]
    }
  }
}

环境变量

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)

相关资源

统一 Manifest

{
  "id": "io.github.roddutra/agent-mcp-gateway",
  "type": "mcp-server",
  "version": "0.2.5",
  "displayName": "Agent MCP Gateway",
  "description": "On-demand tool discovery for all your MCPs and per-subagent MCP controls to preserve context window.",
  "repository": {
    "url": "https://github.com/roddutra/agent-mcp-gateway",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "pypi",
        "identifier": "agent-mcp-gateway",
        "version": "0.2.5",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "GATEWAY_MCP_CONFIG",
            "description": "Path to MCP servers configuration file (default: .mcp.json)"
          },
          {
            "name": "GATEWAY_RULES",
            "description": "Path to gateway access control rules file (default: .mcp-gateway-rules.json)"
          },
          {
            "name": "GATEWAY_DEFAULT_AGENT",
            "description": "Default agent ID when not provided in tool calls"
          },
          {
            "name": "GATEWAY_DEBUG",
            "description": "Enable debug mode and expose diagnostic tools (default: false)"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.roddutra/agent-mcp-gateway",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.roddutra%2Fagent-mcp-gateway/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
Agent MCP Gateway — MCP Server 安装与配置 · AgentHub