Skip to content
VS Code

three.ws Billing for VS Code

io.github.nirholas/billing-mcp

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

client:VS Code transport:stdio runtime:npm

Install three.ws Billing in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "three-ws-base",
      "description": "THREE_WS_BASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "three-ws-timeout-ms",
      "description": "THREE_WS_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "three-ws-session",
      "description": "THREE_WS_SESSION",
      "password": true
    }
  ],
  "servers": {
    "billing-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/billing-mcp"
      ],
      "env": {
        "THREE_WS_BASE": "${input:three-ws-base}",
        "THREE_WS_TIMEOUT_MS": "${input:three-ws-timeout-ms}",
        "THREE_WS_SESSION": "${input:three-ws-session}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

three.ws Billing in other clients