Skip to content
VS Code

agentpay for VS Code

io.github.alefnt/agentpay

AI Agent payment protocol on CKB Fiber Network. Zero-gas micropayments with Hold Invoice escrow.

client:VS Code transport:stdio runtime:npm

Install agentpay in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "fiber-rpc-url",
      "description": "FIBER_RPC_URL",
      "password": true
    }
  ],
  "servers": {
    "agentpay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agentpay-dev/mcp-server"
      ],
      "env": {
        "FIBER_RPC_URL": "${input:fiber-rpc-url}"
      }
    }
  }
}

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

agentpay in other clients