GrindFree Agent Security for Gemini CLI
io.github.ronin93/grindfree-agent-security
Pay-per-call agent security (x402): injection, tools, shell/SQL, memory, leaks, docs, safe web reads
client:Gemini CLI
transport:stdio
runtime:npm
Install GrindFree Agent Security in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"grindfree-agent-security": {
"command": "npx",
"args": [
"-y",
"@grindfree/agent-security-mcp"
],
"env": {
"X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs