Skip to content
Zed

x402 api for Zed

io.github.fernsugi/x402-api

DeFi data API for AI agents — pay-per-call via x402/USDC on Base

client:Zed transport:stdio runtime:npm

Install x402 api 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-api": {
      "command": "npx",
      "args": [
        "-y",
        "@x402-api/mcp-server"
      ],
      "env": {
        "X402_API_BASE_URL": "<X402_API_BASE_URL>"
      }
    }
  }
}

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

x402 api in other clients