Skip to content
VS Code

agenticpay for VS Code

io.github.krystiangw/agenticpay

x402 USDC paywall bridge for MCP — pay per tool call on Solana.

client:VS Code transport:stdio runtime:npm

Install agenticpay in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agenticpay-bridge-keypair",
      "description": "AGENTICPAY_BRIDGE_KEYPAIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agenticpay-bridge-tools",
      "description": "AGENTICPAY_BRIDGE_TOOLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agenticpay-bridge-network",
      "description": "AGENTICPAY_BRIDGE_NETWORK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agenticpay-bridge-rpc",
      "description": "AGENTICPAY_BRIDGE_RPC",
      "password": true
    }
  ],
  "servers": {
    "agenticpay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agenticpay/mcp-bridge"
      ],
      "env": {
        "AGENTICPAY_BRIDGE_KEYPAIR": "${input:agenticpay-bridge-keypair}",
        "AGENTICPAY_BRIDGE_TOOLS": "${input:agenticpay-bridge-tools}",
        "AGENTICPAY_BRIDGE_NETWORK": "${input:agenticpay-bridge-network}",
        "AGENTICPAY_BRIDGE_RPC": "${input:agenticpay-bridge-rpc}"
      }
    }
  }
}

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

agenticpay in other clients