Skip to content
Gemini CLI

mcp gateway for Gemini CLI

io.github.authzx/mcp-gateway

AuthzX MCP Gateway — policy-enforcing proxy between AI agents and MCP servers

client:Gemini CLI transport:stdio runtime:npm

Install mcp gateway in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "@authzx/mcp-gateway"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

mcp gateway in other clients