{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "dev.forgesworn/402-mcp",
  "slug": "dev.forgesworn.402-mcp",
  "title": "402-mcp",
  "summary": "AI agents discover, pay for, and consume any Lightning-gated API autonomously",
  "version": "3.15.2",
  "serverKey": "402-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/dev.forgesworn.402-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/dev.forgesworn.402-mcp/install.md",
  "trust": {
    "score": 93,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T19:28:01.454664007Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "402-mcp@3.15.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add 402-mcp -- npx -y 402-mcp@3.15.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"402-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"402-mcp@3.15.2\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"402-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"402-mcp@3.15.2\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"402-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"402-mcp@3.15.2\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.402-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"402-mcp@3.15.2\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "NWC_URI",
      "required": false,
      "secret": true,
      "description": "Nostr Wallet Connect URI for autonomous Lightning payments",
      "help": "Nostr Wallet Connect URI for autonomous Lightning payments",
      "placeholder": "<NWC_URI>"
    },
    {
      "name": "MAX_AUTO_PAY_SATS",
      "required": false,
      "secret": false,
      "description": "Maximum sats to auto-pay per request",
      "help": "Maximum sats to auto-pay per request",
      "placeholder": "<MAX_AUTO_PAY_SATS>"
    }
  ],
  "expectedTools": [
    "l402-config",
    "l402-discover",
    "l402-fetch",
    "l402-pay",
    "l402-credentials",
    "l402-balance",
    "l402-store-token",
    "l402-buy-credits",
    "l402-redeem-cashu",
    "l402-search",
    "l402-fetch-preview"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: l402-config, l402-discover, l402-fetch, l402-pay, l402-credentials, l402-balance, l402-store-token, l402-buy-credits, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T19:28:01.454664007Z"
}
