Local MCP gateway that proxies AI clients to many MCP servers with a token-efficient code mode
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add perforce-agentic-gateway -- uvx perforce-agentic-gateway~/.codex/config.toml
[mcp_servers.perforce-agentic-gateway]
command = "uvx"
args = ["perforce-agentic-gateway"]
# codex mcp add perforce-agentic-gateway -- uvx perforce-agentic-gateway~/.cursor/mcp.json
{
"mcpServers": {
"perforce-agentic-gateway": {
"command": "uvx",
"args": [
"perforce-agentic-gateway"
]
}
}
}.vscode/mcp.json
{
"servers": {
"perforce-agentic-gateway": {
"type": "stdio",
"command": "uvx",
"args": [
"perforce-agentic-gateway"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"perforce-agentic-gateway": {
"command": "uvx",
"args": [
"perforce-agentic-gateway"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"perforce-agentic-gateway": {
"command": "uvx",
"args": [
"perforce-agentic-gateway"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"perforce-agentic-gateway": {
"command": "uvx",
"args": [
"perforce-agentic-gateway"
]
}
}
}