Leanwall for Gemini CLI
io.github.kaushaljogi2002/leanwall
Local MCP firewall: 3 meta-tools front all your servers, cut tokens, redact secrets, gate writes
client:Gemini CLI
transport:stdio
runtime:pypi
Install Leanwall in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"leanwall": {
"command": "uvx",
"args": [
"leanwall"
],
"env": {
"LEANWALL_CONFIG": "<LEANWALL_CONFIG>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs