Skip to content
Gemini CLI

SNAP Protocol for Gemini CLI

io.github.agentzeny/snap-private-payments

Private agent payments on Solana via ZK proofs: deposit, withdraw, list pools, estimate fees.

client:Gemini CLI transport:stdio runtime:npm

Install SNAP Protocol 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": {
    "snap-private-payments": {
      "command": "npx",
      "args": [
        "-y",
        "snap-mcp-server"
      ],
      "env": {
        "SNAP_RPC_URL": "<SNAP_RPC_URL>",
        "SNAP_POOL_ADDRESS": "<SNAP_POOL_ADDRESS>",
        "SNAP_RELAYER_URL": "<SNAP_RELAYER_URL>"
      }
    }
  }
}

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

SNAP Protocol in other clients