Skip to content
VS Code

x402 mcp server for VS Code

io.github.jannis-e/x402-mcp-server

Pay-per-call x402 tools on Base: web extract/render, burn-once secret vault, chart, GeoTIFF

client:VS Code transport:stdio runtime:npm

Install x402 mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "base-private-key",
      "description": "BASE_PRIVATE_KEY",
      "password": true
    }
  ],
  "servers": {
    "x402-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "x402-mcp-server_by_milza"
      ],
      "env": {
        "BASE_PRIVATE_KEY": "${input:base-private-key}"
      }
    }
  }
}

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

x402 mcp server in other clients