Skip to content
VS Code

capacity attest for VS Code

io.github.holistis/capacity-attest

Signed delivery claims for x402 capacity trades: GPU-hours, storage, API credits, bandwidth.

client:VS Code transport:stdio runtime:npm

Install capacity attest in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "capacity-attest-data-dir",
      "description": "CAPACITY_ATTEST_DATA_DIR",
      "password": true
    }
  ],
  "servers": {
    "capacity-attest": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "capacity-attest"
      ],
      "env": {
        "CAPACITY_ATTEST_DATA_DIR": "${input:capacity-attest-data-dir}"
      }
    }
  }
}

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

capacity attest in other clients