{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.refined-element/lightning-enable-mcp",
  "slug": "lightning-enable-mcp",
  "title": "Lightning Enable MCP Server",
  "summary": "AI agent Lightning payments: L402, invoices, wallets, API discovery, budgets, self-serve signup.",
  "version": "2.4.0",
  "serverKey": "lightning-enable-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/lightning-enable-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/lightning-enable-mcp/install.md",
  "trust": {
    "score": 91,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T13:05:25.309164264Z"
  },
  "methods": [
    {
      "id": "pypi",
      "label": "PyPI (uvx)",
      "transport": "stdio",
      "command": "uvx",
      "args": [
        "lightning-enable-mcp==2.4.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add lightning-enable-mcp -- uvx lightning-enable-mcp==2.4.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"lightning-enable-mcp\": {\n      \"args\": [\n        \"lightning-enable-mcp==2.4.0\"\n      ],\n      \"command\": \"uvx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"lightning-enable-mcp\": {\n      \"args\": [\n        \"lightning-enable-mcp==2.4.0\"\n      ],\n      \"command\": \"uvx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"lightning-enable-mcp\": {\n      \"args\": [\n        \"lightning-enable-mcp==2.4.0\"\n      ],\n      \"command\": \"uvx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.lightning-enable-mcp]\ncommand = \"uvx\"\nargs = [\"lightning-enable-mcp==2.4.0\"]"
        }
      ],
      "requires": [
        "uv (https://docs.astral.sh/uv/)"
      ]
    },
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/refinedelement/lightning-enable-mcp:2.4.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add lightning-enable-mcp -- docker run -i --rm docker.io/refinedelement/lightning-enable-mcp:2.4.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"lightning-enable-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"docker.io/refinedelement/lightning-enable-mcp:2.4.0\"\n      ],\n      \"command\": \"docker\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"lightning-enable-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"docker.io/refinedelement/lightning-enable-mcp:2.4.0\"\n      ],\n      \"command\": \"docker\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"lightning-enable-mcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"docker.io/refinedelement/lightning-enable-mcp:2.4.0\"\n      ],\n      \"command\": \"docker\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.lightning-enable-mcp]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"docker.io/refinedelement/lightning-enable-mcp:2.4.0\"]"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "STRIKE_API_KEY",
      "required": false,
      "secret": true,
      "description": "Strike API key for Lightning payments (recommended wallet)",
      "help": "Strike API key for Lightning payments (recommended wallet)",
      "placeholder": "<STRIKE_API_KEY>"
    },
    {
      "name": "NWC_CONNECTION_STRING",
      "required": false,
      "secret": true,
      "description": "Nostr Wallet Connect URI (for NWC wallets like CoinOS, CLINK, Alby Hub)",
      "help": "Nostr Wallet Connect URI (for NWC wallets like CoinOS, CLINK, Alby Hub)",
      "placeholder": "<NWC_CONNECTION_STRING>"
    },
    {
      "name": "LND_REST_HOST",
      "required": false,
      "secret": false,
      "description": "LND REST API host (e.g., localhost:8080)",
      "help": "LND REST API host (e.g., localhost:8080)",
      "placeholder": "<LND_REST_HOST>"
    },
    {
      "name": "LND_MACAROON_HEX",
      "required": false,
      "secret": true,
      "description": "LND admin macaroon in hex format",
      "help": "LND admin macaroon in hex format",
      "placeholder": "<LND_MACAROON_HEX>"
    },
    {
      "name": "OPENNODE_API_KEY",
      "required": false,
      "secret": true,
      "description": "OpenNode API key (direct payments only, no L402 support)",
      "help": "OpenNode API key (direct payments only, no L402 support)",
      "placeholder": "<OPENNODE_API_KEY>"
    },
    {
      "name": "OPENNODE_ENVIRONMENT",
      "required": false,
      "secret": false,
      "description": "OpenNode environment: production or dev (testnet)",
      "help": "OpenNode environment: production or dev (testnet)",
      "default": "production",
      "placeholder": "production"
    },
    {
      "name": "LIGHTNING_ENABLE_API_KEY",
      "required": false,
      "secret": true,
      "description": "Lightning Enable API key (unlocks producer + ASA tools). Optional: no key? The create_lightning_enable_account tool self-provisions one for ~100 sats over Lightning — no card, no subscription required.",
      "help": "Lightning Enable API key (unlocks producer + ASA tools). Optional: no key? The create_lightning_enable_account tool self-provisions one for ~100 sats over Lightning — no card, no subscription required.",
      "placeholder": "<LIGHTNING_ENABLE_API_KEY>"
    },
    {
      "name": "LIGHTNING_ENABLE_TOOL_PROFILE",
      "required": false,
      "secret": false,
      "description": "How many tools to advertise: lite (the wallet-setup and spend/read basics), standard (default), or full (adds the deprecated legacy names), or full (adds the pre-consolidation tool names).",
      "help": "How many tools to advertise: lite (the wallet-setup and spend/read basics), standard (default), or full (adds the deprecated legacy names), or full (adds the pre-consolidation tool names).",
      "default": "standard",
      "placeholder": "standard"
    },
    {
      "name": "AGENT_RELAY_URL",
      "required": false,
      "secret": false,
      "description": "Nostr relay URL for agent events (default: wss://agents.lightningenable.com)",
      "help": "Nostr relay URL for agent events (default: wss://agents.lightningenable.com)",
      "default": "wss://agents.lightningenable.com",
      "placeholder": "wss://agents.lightningenable.com"
    }
  ],
  "expectedTools": [
    "setup_wallet",
    "access_l402_resource",
    "pay_invoice",
    "pay_l402_challenge",
    "test_l402_payment",
    "get_balance",
    "budget",
    "receipts",
    "create_invoice",
    "check_invoice_status",
    "verify_confirmation_code",
    "discover_api",
    "docs",
    "create_lightning_enable_account",
    "wallet_ops",
    "l402_producer",
    "agent_services",
    "renew_lightning_enable_subscription"
  ],
  "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: setup_wallet, access_l402_resource, pay_invoice, pay_l402_challenge, test_l402_payment, get_balance, budget, receipts, ….",
    "If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T13:05:25.309164264Z"
}
