Skip to content
Gemini CLI

PromptGuard for Gemini CLI

co.promptguard/security

Scan prompts for injection attacks, redact PII, and audit LLM SDK usage from any MCP client

client:Gemini CLI transport:streamable-http runtime:npm tools:13

Install PromptGuard in Gemini CLI

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

{
  "mcpServers": {
    "security": {
      "httpUrl": "https://api.promptguard.co/mcp"
    }
  }
}

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

What Gemini CLI can do once it is connected

PromptGuard in other clients