Skip to content
Zed

402 mcp for Zed

dev.forgesworn/402-mcp

AI agents discover, pay for, and consume any Lightning-gated API autonomously

client:Zed transport:stdio runtime:npm

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

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

402 mcp in other clients