Skip to content
Zed

drain mcp for Zed

io.github.kimbo128/drain-mcp

Pay for AI inference with USDC micropayments on Polygon. No API keys needed.

client:Zed transport:stdio runtime:npm

Install drain mcp 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": {
    "drain-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "drain-mcp"
      ],
      "env": {
        "DRAIN_PRIVATE_KEY": "<DRAIN_PRIVATE_KEY>"
      }
    }
  }
}

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

drain mcp in other clients