Agent MCP Gateway for Zed
io.github.roddutra/agent-mcp-gateway
On-demand tool discovery for all your MCPs and per-subagent MCP controls to preserve context window.
client:Zed
transport:stdio
runtime:pypi
Install Agent MCP Gateway in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"agent-mcp-gateway": {
"command": "uvx",
"args": [
"agent-mcp-gateway"
],
"env": {
"GATEWAY_MCP_CONFIG": "<GATEWAY_MCP_CONFIG>",
"GATEWAY_RULES": "<GATEWAY_RULES>",
"GATEWAY_DEFAULT_AGENT": "<GATEWAY_DEFAULT_AGENT>",
"GATEWAY_DEBUG": "<GATEWAY_DEBUG>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs