Skip to content
VS Code

mcp server for VS Code

dev.true402/mcp-server

Pay-per-call AI + web + on-chain tools over x402 (USDC on Base): LLM, SEO, extract, token safety.

client:VS Code transport:stdio runtime:npm

Install mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wallet-private-key",
      "description": "WALLET_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "server-url",
      "description": "SERVER_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "max-payment-usdc",
      "description": "MAX_PAYMENT_USDC",
      "password": true
    }
  ],
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@true402.dev/mcp-server"
      ],
      "env": {
        "WALLET_PRIVATE_KEY": "${input:wallet-private-key}",
        "SERVER_URL": "${input:server-url}",
        "MAX_PAYMENT_USDC": "${input:max-payment-usdc}"
      }
    }
  }
}

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

mcp server in other clients