Skip to content
VS Code

x402 Seller for VS Code

io.github.entreprisedaney33-rgb/x402-seller-mcp

Pay-per-call MCP tools (crypto/DeFi data, web reading, AI tasks) in USDC over x402 on Base.

client:VS Code transport:stdio runtime:npm

Install x402 Seller in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "buyer-private-key",
      "description": "BUYER_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "x402-origin",
      "description": "X402_ORIGIN",
      "password": true
    }
  ],
  "servers": {
    "x402-seller-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "x402-seller-mcp"
      ],
      "env": {
        "BUYER_PRIVATE_KEY": "${input:buyer-private-key}",
        "X402_ORIGIN": "${input:x402-origin}"
      }
    }
  }
}

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

x402 Seller in other clients