PII Shield for Gemini CLI
ai.piishield/pii-shield
Redact names, IDs, emails, phones and card numbers before they reach the model; restore them after.
client:Gemini CLI
transport:streamable-http
tools:6
Install PII Shield in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"pii-shield": {
"httpUrl": "https://piishield.ai/mcp"
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs