← Back to Plugins
MCP Server MCP

three.ws Billing

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

npx -y @three-ws/[email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@three-ws/billing-mcp",
      "version": "0.1.2",
      "runtimeHint": "npx",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Base URL of the three.ws API that serves the billing endpoints. Override only when self-hosting or targeting a preview deployment.",
          "format": "string",
          "default": "https://three.ws",
          "name": "THREE_WS_BASE"
        },
        {
          "description": "Per-request timeout in milliseconds for the live three.ws API reads.",
          "format": "number",
          "default": "20000",
          "name": "THREE_WS_TIMEOUT_MS"
        },
        {
          "description": "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.",
          "isRequired": true,
          "format": "string",
          "isSecret": true,
          "name": "THREE_WS_SESSION"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...