Skip to content
Gemini CLI

Agent Shield for Gemini CLI

io.github.ameerasofficial-ai/agent-shield

Scan MCP servers, x402 offers, prompt injection, leaks; sanctions and business checks.

client:Gemini CLI transport:streamable-http tools:11

Install Agent Shield in Gemini CLI

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

{
  "mcpServers": {
    "agent-shield": {
      "httpUrl": "https://agent-shield.ameeras-official.workers.dev/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

Agent Shield in other clients