Skip to content
Cursor

402 mcp for Cursor

dev.forgesworn/402-mcp

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

client:Cursor transport:stdio runtime:npm

Install 402 mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "402-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "402-mcp"
      ],
      "env": {
        "NWC_URI": "<NWC_URI>",
        "MAX_AUTO_PAY_SATS": "<MAX_AUTO_PAY_SATS>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

402 mcp in other clients