Skip to content
VS Code

spraay x402 mcp for VS Code

io.github.plagtech/spraay-x402-mcp

MCP server for Spraay x402 Gateway. 60 tools for crypto payments, DeFi, and AI on Base.

client:VS Code transport:stdio runtime:npm

Install spraay x402 mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "x402-wallet-private-key",
      "description": "X402_WALLET_PRIVATE_KEY",
      "password": true
    }
  ],
  "servers": {
    "spraay-x402-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "spraay-x402-mcp"
      ],
      "env": {
        "X402_WALLET_PRIVATE_KEY": "${input:x402-wallet-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

spraay x402 mcp in other clients