io.github.nirholas
billing-mcp
three.ws Billing
An agent's account economics — plan quotas, metered usage, invoices, receipts, and earnings.
stdioofficialservice
Package Details
@three-ws/billing-mcp
Transportstdio
Runtimenpx
Environment Variables
THREE_WS_BASE(str)
Default:
https://three.wsBase URL of the three.ws API that serves the billing endpoints. Override only when self-hosting or targeting a preview deployment.
THREE_WS_TIMEOUT_MS(num)
Default:
20000Per-request timeout in milliseconds for the live three.ws API reads.
THREE_WS_SESSION(str)
RequiredSecret
Your three.ws session token (the value of the `__Host-sid` cookie from a signed-in browser). REQUIRED — it exposes private billing data, so every account-scoped read (get_billing_summary, query_usage, export_billing_history, get_receipt, get_revenue) resolves the calling user from it and returns only your data. Only the public get_fee_info works without it. Treat like a password.