Skip to content
Gemini CLI

TokenSafe for Gemini CLI

dev.tokensafe/tokensafe

Reduce your AI bills by up to 99% locally: focused code, warm prompt caches & zero secret leaks.

client:Gemini CLI transport:streamable-http runtime:npm tools:13

Install TokenSafe in Gemini CLI

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

{
  "mcpServers": {
    "tokensafe": {
      "httpUrl": "https://api.tokensafe.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

TokenSafe in other clients