MCP Zero-Trust Gateway for Gemini CLI
io.github.nabrahma/mcp-ztgateway
Security gateway: verifies what MCP servers really do, then confines each call. Needs Docker.
client:Gemini CLI
transport:stdio
runtime:pypi
Install MCP Zero-Trust Gateway in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"mcp-ztgateway": {
"command": "uvx",
"args": [
"mcp-ztgateway"
],
"env": {
"GATEWAY_API_KEY": "<GATEWAY_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