← Back to browse

x402 Wallet

Indexed by io.github.nirholas

About

Self-custodial x402 wallet for AI agents: pay any service in USDC or $THREE from your own key.

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsSOLANA_SECRET_KEY SOLANA_RPC_URL MAX_PAY_USD REQUIRE_CONFIRM THREE_WS_BASE
Claude Code
claude mcp add --env SOLANA_SECRET_KEY= --env SOLANA_RPC_URL= --env MAX_PAY_USD= --env REQUIRE_CONFIRM= --env THREE_WS_BASE= x402-mcp -- npx @three-ws/x402-mcp
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"x402-mcp","command":"npx","args":["@three-ws/x402-mcp"],"env":{"SOLANA_SECRET_KEY":"","SOLANA_RPC_URL":"","MAX_PAY_USD":"","REQUIRE_CONFIRM":"","THREE_WS_BASE":""}}'
JSON
{
  "mcpServers": {
    "x402-mcp": {
      "command": "npx",
      "args": [
        "@three-ws/x402-mcp"
      ],
      "env": {
        "SOLANA_SECRET_KEY": "",
        "SOLANA_RPC_URL": "",
        "MAX_PAY_USD": "",
        "REQUIRE_CONFIRM": "",
        "THREE_WS_BASE": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.