Skip to content
VS Code

Domain & DNS Trust API (x402) for VS Code

io.github.reception-ctrl/x402-domain-trust

Verify domain trust, DNS posture, and HTTP redirect chains with x402 USDC micropayments.

client:VS Code transport:stdio runtime:npm

Install Domain & DNS Trust API (x402) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "evm-private-key",
      "description": "EVM_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "solana-private-key",
      "description": "SOLANA_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "max-payment-usd",
      "description": "MAX_PAYMENT_USD",
      "password": true
    }
  ],
  "servers": {
    "x402-domain-trust": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "x402-domain-trust-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "${input:evm-private-key}",
        "SOLANA_PRIVATE_KEY": "${input:solana-private-key}",
        "MAX_PAYMENT_USD": "${input:max-payment-usd}"
      }
    }
  }
}

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

Domain & DNS Trust API (x402) in other clients