Skip to content
VS Code

x402 mcp server for VS Code

io.github.jmthomasofficial/x402-mcp-server

JMT x402: 35 pay-per-call Base/USDC tools for agents, auto-paid via x402 v2. No API key.

client:VS Code transport:stdio runtime:npm

Install x402 mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "jmt-x402-private-key",
      "description": "JMT_X402_PRIVATE_KEY",
      "password": true
    }
  ],
  "servers": {
    "x402-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@jmthomasofficial/x402-mcp-server"
      ],
      "env": {
        "JMT_X402_PRIVATE_KEY": "${input:jmt-x402-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