Skip to content
VS Code

swarmpay for VS Code

io.github.ginokino/swarmpay

Payment layer for AI agents. Send USDC, manage escrows on Base blockchain.

client:VS Code transport:stdio runtime:pypi

Install swarmpay in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "swarmpay-network",
      "description": "SWARMPAY_NETWORK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cdp-api-key-id",
      "description": "CDP_API_KEY_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cdp-api-key-secret",
      "description": "CDP_API_KEY_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "swarmpay-admin-wallet",
      "description": "SWARMPAY_ADMIN_WALLET",
      "password": true
    }
  ],
  "servers": {
    "swarmpay": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "swarmpay"
      ],
      "env": {
        "SWARMPAY_NETWORK": "${input:swarmpay-network}",
        "CDP_API_KEY_ID": "${input:cdp-api-key-id}",
        "CDP_API_KEY_SECRET": "${input:cdp-api-key-secret}",
        "SWARMPAY_ADMIN_WALLET": "${input:swarmpay-admin-wallet}"
      }
    }
  }
}

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

swarmpay in other clients