← Index

Lightning Enable MCP Server

io.github.refined-element/lightning-enable-mcp·v1.12.4·Finance & Payments
Quality Score
95
/100

AI agent Lightning payments: invoices, wallets, L402 access, API discovery, budgets, and commerce.

§01  Install
Claude Desktop (uvx)
{
  "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_REST_HOST": "<lnd_rest_host>",
        "LND_MACAROON_HEX": "<your-lnd_macaroon_hex>",
        "OPENNODE_API_KEY": "<your-opennode_api_key>",
        "OPENNODE_ENVIRONMENT": "production",
        "L402_MAX_SATS_PER_REQUEST": "1000",
        "L402_MAX_SATS_PER_SESSION": "10000",
        "LIGHTNING_ENABLE_API_KEY": "<your-lightning_enable_api_key>",
        "AGENT_RELAY_URL": "wss://agents.lightningenable.com"
      }
    }
  }
}
Claude Desktop (Docker)
{
  "mcpServers": {
    "lightning-enable-mcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "docker.io/refinedelement/lightning-enable-mcp:1.12.4"
      ],
      "env": {
        "STRIKE_API_KEY": "<your-strike_api_key>",
        "NWC_CONNECTION_STRING": "<your-nwc_connection_string>",
        "LND_REST_HOST": "<lnd_rest_host>",
        "LND_MACAROON_HEX": "<your-lnd_macaroon_hex>",
        "OPENNODE_API_KEY": "<your-opennode_api_key>",
        "OPENNODE_ENVIRONMENT": "production",
        "L402_MAX_SATS_PER_REQUEST": "1000",
        "L402_MAX_SATS_PER_SESSION": "10000",
        "LIGHTNING_ENABLE_API_KEY": "<your-lightning_enable_api_key>",
        "AGENT_RELAY_URL": "wss://agents.lightningenable.com"
      }
    }
  }
}
§02  Environment variables
STRIKE_API_KEY
secret

Strike API key for Lightning payments (recommended wallet)

NWC_CONNECTION_STRING
secret

Nostr Wallet Connect URI (for NWC wallets like CoinOS, CLINK, Alby Hub)

LND_REST_HOST

LND REST API host (e.g., localhost:8080)

LND_MACAROON_HEX
secret

LND admin macaroon in hex format

OPENNODE_API_KEY
secret

OpenNode API key (direct payments only, no L402 support)

OPENNODE_ENVIRONMENT

OpenNode environment: production or dev (testnet)

L402_MAX_SATS_PER_REQUEST

Maximum satoshis allowed per single payment request

L402_MAX_SATS_PER_SESSION

Maximum total satoshis allowed per session

LIGHTNING_ENABLE_API_KEY
secret

Lightning Enable API key for agent registration and ASA publishing (Agentic Commerce subscription)

AGENT_RELAY_URL

Nostr relay URL for agent events (default: wss://agents.lightningenable.com)

STRIKE_API_KEY
secret

Strike API key for Lightning payments (recommended wallet)

NWC_CONNECTION_STRING
secret

Nostr Wallet Connect URI (for NWC wallets like CoinOS, CLINK, Alby Hub)

LND_REST_HOST

LND REST API host (e.g., localhost:8080)

LND_MACAROON_HEX
secret

LND admin macaroon in hex format

OPENNODE_API_KEY
secret

OpenNode API key (direct payments only, no L402 support)

L402_MAX_SATS_PER_REQUEST

Maximum satoshis allowed per single payment request

L402_MAX_SATS_PER_SESSION

Maximum total satoshis allowed per session

LIGHTNING_ENABLE_API_KEY
secret

Lightning Enable API key for agent registration and ASA publishing (Agentic Commerce subscription)

AGENT_RELAY_URL

Nostr relay URL for agent events (default: wss://agents.lightningenable.com)

STRIKE_API_KEY
secret

Strike API key for Lightning payments (recommended wallet)

NWC_CONNECTION_STRING
secret

Nostr Wallet Connect URI (for NWC wallets like CoinOS, CLINK, Alby Hub)

LND_REST_HOST

LND REST API host (e.g., localhost:8080)

LND_MACAROON_HEX
secret

LND admin macaroon in hex format

OPENNODE_API_KEY
secret

OpenNode API key (direct payments only, no L402 support)

L402_MAX_SATS_PER_REQUEST

Maximum satoshis allowed per single payment request

L402_MAX_SATS_PER_SESSION

Maximum total satoshis allowed per session

LIGHTNING_ENABLE_API_KEY
secret

Lightning Enable API key for agent registration and ASA publishing (Agentic Commerce subscription)

AGENT_RELAY_URL

Nostr relay URL for agent events (default: wss://agents.lightningenable.com)

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
20
installability
25
documentation
15
stability
10
§04  Alternatives in Finance & Payments