Skip to content
Grok

402 mcp for Grok

dev.forgesworn/402-mcp

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

client:Grok transport:stdio runtime:npm

Install 402 mcp in Grok

.mcp.json (in your project root)

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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

402 mcp in other clients