Skip to content
Gemini CLI

Opami Protect for Gemini CLI

io.github.opamiai/opami-protect-mcp

Hide private and sensitive data in text and local text files with Opami Protect pseudonymisation.

client:Gemini CLI transport:stdio runtime:npm

Install Opami Protect in Gemini CLI

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "opami-protect-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "opami-protect-mcp"
      ],
      "env": {
        "OPAMI_API_KEY": "<OPAMI_API_KEY>"
      }
    }
  }
}

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

Opami Protect in other clients