Skip to content
Gemini CLI

agentpay for Gemini CLI

io.github.sdeanesh-png/agentpay

Spending controls for AI agents: per-agent budgets, vendor allowlists, full audit trail.

client:Gemini CLI transport:stdio runtime:npm

Install agentpay 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": {
    "agentpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agentpay-run/mcp-server"
      ],
      "env": {
        "AGENTPAY_API_KEY": "<AGENTPAY_API_KEY>",
        "AGENTPAY_BASE_URL": "<AGENTPAY_BASE_URL>"
      }
    }
  }
}

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

agentpay in other clients