Skip to content
VS Code

XRPay Agent Commerce for VS Code

io.github.gsabbih6/xrpay-agent-commerce

Discover and buy digital products with XRP or RLUSD, with private downloads, orders and receipts.

client:VS Code transport:stdio runtime:npm

Install XRPay Agent Commerce in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "xrpay-commerce-origin",
      "description": "XRPAY_COMMERCE_ORIGIN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xrpay-commerce-state-dir",
      "description": "XRPAY_COMMERCE_STATE_DIR",
      "password": true
    }
  ],
  "servers": {
    "xrpay-agent-commerce": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xrpay/x402"
      ],
      "env": {
        "XRPAY_COMMERCE_ORIGIN": "${input:xrpay-commerce-origin}",
        "XRPAY_COMMERCE_STATE_DIR": "${input:xrpay-commerce-state-dir}"
      }
    }
  }
}

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

XRPay Agent Commerce in other clients