Koskamo

Lightning Enable MCP

An open-source MCP server that enables AI agents to make Lightning Network payments, manage wallets, access L402 APIs, discover services, and handle budgets. It supports multiple wallet backends including LND, NWC, Strike, and OpenNode, allowing agents to pay invoices, create invoices, and settle agent-to-agent commerce.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Lightning Enable MCP logo, by Lightning EnableCommunity listingLocal stdioSource reviewed; not executedPublished by Lightning Enable
You need:pip install lightning-enable-mcpdotnet tool install -g LightningEnable.Mcpdocker pull refinedelement/lightning-enable-mcp:latestuvx lightning-enable-mcp
Vendor documentation

What you can do with it

  • Pay invoices via Lightning Network
  • Access L402 APIs by paying challenges
  • Discover paid APIs in the L402 registry
  • Manage agent budgets and receipts

Source and maintenance

Community listingRegistry 2.1.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

lightning-enable-mcp 2.1.1

pypiuvx
lightning-enable-mcp package definition
{
  "version": "2.1.1",
  "transport": "stdio",
  "identifier": "lightning-enable-mcp",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "environmentVariables": [
    {
      "name": "STRIKE_API_KEY",
      "description": "Strike API key for Lightning payments (recommended wallet)"
    },
    {
      "name": "NWC_CONNECTION_STRING",
      "description": "Nostr Wallet Connect URI (for NWC wallets like CoinOS, CLINK, Alby Hub)"
    },
    {
      "name": "LND_REST_HOST",
      "description": "LND REST API host (e.g., localhost:8080)"
    },
    {
      "name": "LND_MACAROON_HEX",
      "description": "LND admin macaroon in hex format"
    },
    {
      "name": "OPENNODE_API_KEY",
      "description": "OpenNode API key (direct payments only, no L402 support)"
    },
    {
      "name": "LIGHTNING_ENABLE_API_KEY",
      "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."
    },
    {
      "name": "LIGHTNING_ENABLE_TOOL_PROFILE",
      "default": "standard",
      "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)."
    },
    {
      "name": "AGENT_RELAY_URL",
      "default": "wss://agents.lightningenable.com",
      "description": "Nostr relay URL for agent events (default: wss://agents.lightningenable.com)"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "lightning-enable-mcp-mcp": {
      "command": "uvx",
      "args": [
        "lightning-enable-mcp==2.1.1"
      ],
      "env": {
        "STRIKE_API_KEY": "<YOUR_STRIKE_API_KEY>",
        "NWC_CONNECTION_STRING": "<YOUR_NWC_CONNECTION_STRING>",
        "LND_REST_HOST": "<YOUR_LND_REST_HOST>",
        "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": "<YOUR_LIGHTNING_ENABLE_TOOL_PROFILE>",
        "AGENT_RELAY_URL": "<YOUR_AGENT_RELAY_URL>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "lightning-enable-mcp-mcp": {
      "command": "uvx",
      "args": [
        "lightning-enable-mcp==2.1.1"
      ],
      "env": {
        "STRIKE_API_KEY": "<YOUR_STRIKE_API_KEY>",
        "NWC_CONNECTION_STRING": "<YOUR_NWC_CONNECTION_STRING>",
        "LND_REST_HOST": "<YOUR_LND_REST_HOST>",
        "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": "<YOUR_LIGHTNING_ENABLE_TOOL_PROFILE>",
        "AGENT_RELAY_URL": "<YOUR_AGENT_RELAY_URL>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "lightning-enable-mcp-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lightning-enable-mcp==2.1.1"
      ],
      "env": {
        "STRIKE_API_KEY": "<YOUR_STRIKE_API_KEY>",
        "NWC_CONNECTION_STRING": "<YOUR_NWC_CONNECTION_STRING>",
        "LND_REST_HOST": "<YOUR_LND_REST_HOST>",
        "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": "<YOUR_LIGHTNING_ENABLE_TOOL_PROFILE>",
        "AGENT_RELAY_URL": "<YOUR_AGENT_RELAY_URL>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "lightning-enable-mcp-mcp": {
      "command": "uvx",
      "args": [
        "lightning-enable-mcp==2.1.1"
      ],
      "env": {
        "STRIKE_API_KEY": "<YOUR_STRIKE_API_KEY>",
        "NWC_CONNECTION_STRING": "<YOUR_NWC_CONNECTION_STRING>",
        "LND_REST_HOST": "<YOUR_LND_REST_HOST>",
        "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": "<YOUR_LIGHTNING_ENABLE_TOOL_PROFILE>",
        "AGENT_RELAY_URL": "<YOUR_AGENT_RELAY_URL>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Lightning Enable MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.