Skip to content
Gemini CLI

three.ws Billing for Gemini CLI

io.github.nirholas/billing-mcp

An agent's account economics — plan quotas, metered usage, invoices, receipts, and earnings.

client:Gemini CLI transport:stdio runtime:npm

Install three.ws Billing 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": {
    "billing-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/billing-mcp"
      ],
      "env": {
        "THREE_WS_BASE": "<THREE_WS_BASE>",
        "THREE_WS_TIMEOUT_MS": "<THREE_WS_TIMEOUT_MS>",
        "THREE_WS_SESSION": "<THREE_WS_SESSION>"
      }
    }
  }
}

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

three.ws Billing in other clients