Skip to content
Gemini CLI

Sanction for Gemini CLI

io.github.ericlovold/sanction

The wallet an AI agent carries — mandate, budget, vault, and audit. Counterparties verify first.

client:Gemini CLI transport:stdio runtime:npm

Install Sanction 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": {
    "sanction": {
      "command": "npx",
      "args": [
        "-y",
        "sanction-mcp"
      ],
      "env": {
        "SANCTION_API_KEY": "<SANCTION_API_KEY>",
        "SANCTION_WALLET_ID": "<SANCTION_WALLET_ID>",
        "SANCTION_API_URL": "<SANCTION_API_URL>"
      }
    }
  }
}

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

Sanction in other clients