Skip to content
Gemini CLI

Agent Safety Gate: Prompt Injection & Unsafe URL Check for Gemini CLI

io.github.christurtleday-hue/agent-safety-gate

Preflight a URL, text, HTML or file for prompt injection and unsafe links: allow, review or block.

client:Gemini CLI transport:streamable-http

Install Agent Safety Gate: Prompt Injection & Unsafe URL Check in Gemini CLI

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

{
  "mcpServers": {
    "agent-safety-gate": {
      "httpUrl": "https://mcp.apify.com/?tools=geeky_goth_gamer/agent-safety-gate"
    }
  }
}

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

Agent Safety Gate: Prompt Injection & Unsafe URL Check in other clients