Skip to content
VS Code

x402station for VS Code

io.github.sf1nx/x402station

x402station.io: independent risk-signal layer for x402 endpoints before agents pay.

client:VS Code transport:stdio runtime:npm

Install x402station in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agent-private-key",
      "description": "AGENT_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "x402station-base-url",
      "description": "X402STATION_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "x402station": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "x402station-mcp"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "${input:agent-private-key}",
        "X402STATION_BASE_URL": "${input:x402station-base-url}"
      }
    }
  }
}

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

x402station in other clients