Skip to content
Gemini CLI

RAGbase Shield for Gemini CLI

io.github.ragbase/ragbase-shield

Local, reversible pseudonymisation of client files for Claude, ChatGPT and Copilot.

client:Gemini CLI transport:stdio runtime:pypi

Install RAGbase Shield in Gemini CLI

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

{
  "mcpServers": {
    "ragbase-shield": {
      "command": "uvx",
      "args": [
        "ragbase-shield"
      ]
    }
  }
}

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

RAGbase Shield in other clients