Skip to content
Zed

x402 Wallet for Zed

io.github.nirholas/x402-mcp

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

client:Zed transport:stdio runtime:npm

Install x402 Wallet in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "x402-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/x402-mcp"
      ],
      "env": {
        "SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>",
        "SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
        "MAX_PAY_USD": "<MAX_PAY_USD>",
        "REQUIRE_CONFIRM": "<REQUIRE_CONFIRM>",
        "THREE_WS_BASE": "<THREE_WS_BASE>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

x402 Wallet in other clients