Skip to content
VS Code

Agent Wormhole for VS Code

io.github.runningoffcode/wormhole-x402

Check tokens, pages and x402 payments before your agent trusts them. Offline verdicts.

client:VS Code transport:stdio runtime:npm

Install Agent Wormhole in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wormhole-api-key",
      "description": "WORMHOLE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wormhole-verify-url",
      "description": "WORMHOLE_VERIFY_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wormhole-address-ledger",
      "description": "WORMHOLE_ADDRESS_LEDGER",
      "password": true
    }
  ],
  "servers": {
    "wormhole-x402": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "wormhole-x402"
      ],
      "env": {
        "WORMHOLE_API_KEY": "${input:wormhole-api-key}",
        "WORMHOLE_VERIFY_URL": "${input:wormhole-verify-url}",
        "WORMHOLE_ADDRESS_LEDGER": "${input:wormhole-address-ledger}"
      }
    }
  }
}

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

Agent Wormhole in other clients