Skip to content
Gemini CLI

Aperion Shield for Gemini CLI

io.github.aperionai/shield

Local guardrail proxy that blocks destructive MCP tool calls, rug pulls, and tool poisoning

client:Gemini CLI transport:stdio runtime:oci

Install Aperion Shield in Gemini CLI

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

{
  "mcpServers": {
    "shield": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/aperionai/shield:shield-v1.0.1"
      ]
    }
  }
}

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

Aperion Shield in other clients