What is the Agent MCP Gateway MCP server?
On-demand tool discovery for all your MCPs and per-subagent MCP controls to preserve context window.
How to install Agent MCP Gateway
Copy-paste configuration for popular MCP clients.
GATEWAY_MCP_CONFIGPath to MCP servers configuration file (default: .mcp.json)
GATEWAY_RULESPath to gateway access control rules file (default: .mcp-gateway-rules.json)
GATEWAY_DEFAULT_AGENTDefault agent ID when not provided in tool calls
GATEWAY_DEBUGEnable debug mode and expose diagnostic tools (default: false)
{
"mcpServers": {
"agent-mcp-gateway": {
"command": "uvx",
"args": [
"agent-mcp-gateway"
],
"env": {
"GATEWAY_MCP_CONFIG": "<YOUR_GATEWAY_MCP_CONFIG>",
"GATEWAY_RULES": "<YOUR_GATEWAY_RULES>",
"GATEWAY_DEFAULT_AGENT": "<YOUR_GATEWAY_DEFAULT_AGENT>",
"GATEWAY_DEBUG": "<YOUR_GATEWAY_DEBUG>"
}
}
}
}{
"mcpServers": {
"agent-mcp-gateway": {
"command": "uvx",
"args": [
"agent-mcp-gateway"
],
"env": {
"GATEWAY_MCP_CONFIG": "<YOUR_GATEWAY_MCP_CONFIG>",
"GATEWAY_RULES": "<YOUR_GATEWAY_RULES>",
"GATEWAY_DEFAULT_AGENT": "<YOUR_GATEWAY_DEFAULT_AGENT>",
"GATEWAY_DEBUG": "<YOUR_GATEWAY_DEBUG>"
}
}
}
}{
"mcpServers": {
"agent-mcp-gateway": {
"command": "uvx",
"args": [
"agent-mcp-gateway"
],
"env": {
"GATEWAY_MCP_CONFIG": "<YOUR_GATEWAY_MCP_CONFIG>",
"GATEWAY_RULES": "<YOUR_GATEWAY_RULES>",
"GATEWAY_DEFAULT_AGENT": "<YOUR_GATEWAY_DEFAULT_AGENT>",
"GATEWAY_DEBUG": "<YOUR_GATEWAY_DEBUG>"
}
}
}
}{
"servers": {
"agent-mcp-gateway": {
"type": "stdio",
"command": "uvx",
"args": [
"agent-mcp-gateway"
],
"env": {
"GATEWAY_MCP_CONFIG": "<YOUR_GATEWAY_MCP_CONFIG>",
"GATEWAY_RULES": "<YOUR_GATEWAY_RULES>",
"GATEWAY_DEFAULT_AGENT": "<YOUR_GATEWAY_DEFAULT_AGENT>",
"GATEWAY_DEBUG": "<YOUR_GATEWAY_DEBUG>"
}
}
}
}claude mcp add agent-mcp-gateway --env GATEWAY_MCP_CONFIG=<YOUR_GATEWAY_MCP_CONFIG> --env GATEWAY_RULES=<YOUR_GATEWAY_RULES> --env GATEWAY_DEFAULT_AGENT=<YOUR_GATEWAY_DEFAULT_AGENT> --env GATEWAY_DEBUG=<YOUR_GATEWAY_DEBUG> -- uvx agent-mcp-gatewayRelated MCP servers
Scrapling MCP Server
Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.
Chrome DevTools MCP
Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.
com.puter/mcp-server
Let AI agents manage your Puter files, websites, and serverless workers over MCP.
Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.
Run arbitrary shell commands from an MCP-connected AI agent.
Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.