{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.nirholas/billing-mcp",
  "slug": "io.github.nirholas.billing-mcp",
  "title": "three.ws Billing",
  "summary": "An agent's account economics — plan quotas, metered usage, invoices, receipts, and earnings.",
  "version": "0.1.3",
  "serverKey": "billing-mcp",
  "pageUrl": "http://23.23.102.237/tool/io.github.nirholas.billing-mcp",
  "installMdUrl": "http://23.23.102.237/tool/io.github.nirholas.billing-mcp/install.md",
  "trust": {
    "score": 97,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T09:12:47.726443579Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/billing-mcp@0.1.3"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add billing-mcp -e 'THREE_WS_SESSION=<THREE_WS_SESSION>' -- npx -y @three-ws/billing-mcp@0.1.3"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"billing-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@three-ws/billing-mcp@0.1.3\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"THREE_WS_SESSION\": \"<THREE_WS_SESSION>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"billing-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@three-ws/billing-mcp@0.1.3\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"THREE_WS_SESSION\": \"<THREE_WS_SESSION>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"THREE_WS_SESSION\",\n      \"id\": \"three-ws-session\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"billing-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@three-ws/billing-mcp@0.1.3\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"THREE_WS_SESSION\": \"${input:three-ws-session}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.billing-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"@three-ws/billing-mcp@0.1.3\"]\nenv = { \"THREE_WS_SESSION\" = \"<THREE_WS_SESSION>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "THREE_WS_BASE",
      "required": false,
      "secret": false,
      "description": "Base URL of the three.ws API that serves the billing endpoints. Override only when self-hosting or targeting a preview deployment.",
      "help": "Base URL of the three.ws API that serves the billing endpoints. Override only when self-hosting or targeting a preview deployment.",
      "default": "https://three.ws",
      "placeholder": "https://three.ws"
    },
    {
      "name": "THREE_WS_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Per-request timeout in milliseconds for the live three.ws API reads.",
      "help": "Per-request timeout in milliseconds for the live three.ws API reads.",
      "default": "20000",
      "placeholder": "20000"
    },
    {
      "name": "THREE_WS_SESSION",
      "required": true,
      "secret": true,
      "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) resolves the calling user from it and returns only your data. Only the public get_fee_info works without it. Treat like a password.",
      "help": "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) resolves the calling user from it and returns only your data. O",
      "placeholder": "<THREE_WS_SESSION>"
    }
  ],
  "expectedTools": [
    "get_billing_summary",
    "query_usage",
    "export_billing_history",
    "get_receipt",
    "get_fee_info"
  ],
  "agentSteps": [
    "Ask the user for: THREE_WS_SESSION. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: get_billing_summary, query_usage, export_billing_history, get_receipt, get_fee_info.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T09:12:47.726443579Z"
}
