Lightning Enable MCP Server

io.github.refined-element/lightning-enable-mcp

AI agent Lightning payments: L402, invoices, wallets, API discovery, budgets, self-serve signup.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "lightning-enable-mcp": {
      "command": "uvx",
      "args": [
        "lightning-enable-mcp"
      ],
      "env": {
        "STRIKE_API_KEY": "<your STRIKE_API_KEY>",
        "NWC_CONNECTION_STRING": "<your NWC_CONNECTION_STRING>",
        "LND_MACAROON_HEX": "<your LND_MACAROON_HEX>",
        "OPENNODE_API_KEY": "<your OPENNODE_API_KEY>",
        "LIGHTNING_ENABLE_API_KEY": "<your LIGHTNING_ENABLE_API_KEY>",
        "LIGHTNING_ENABLE_TOOL_PROFILE": "standard",
        "AGENT_RELAY_URL": "wss://agents.lightningenable.com"
      }
    }
  }
}
Environment variables
  • STRIKE_API_KEYsecretStrike API key for Lightning payments (recommended wallet)
  • NWC_CONNECTION_STRINGsecretNostr Wallet Connect URI (for NWC wallets like CoinOS, CLINK, Alby Hub)
  • LND_MACAROON_HEXsecretLND admin macaroon in hex format
  • OPENNODE_API_KEYsecretOpenNode API key (direct payments only, no L402 support)
  • LIGHTNING_ENABLE_API_KEYsecretLightning 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.
  • LIGHTNING_ENABLE_TOOL_PROFILEHow 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).
  • AGENT_RELAY_URLNostr relay URL for agent events (default: wss://agents.lightningenable.com)

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
2.2.0
Registry
active
Published
11/4/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Lightning Enable MCP Server is listed here — it’s also the link we check for a free listing.

Lightning Enable MCP Server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-refined-element-lightning-enable-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Lightning Enable MCP Server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Lightning Enable MCP Server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-refined-element-lightning-enable-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.