Finance & commerce / Lightning Enable MCP Server
Lightning Enable MCP Server
io.github.refined-element/lightning-enable-mcp · v2.3.1
AI agent Lightning payments: L402, invoices, wallets, API discovery, budgets, self-serve signup.
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #173 of 300 Finance & commerce servers on Socketlist by score, with 9 GitHub stars and a last code push 20d ago.
Install
dnx LightningEnable.Mcp@2.3.1 --yesuvx lightning-enable-mcpdocker run -i --rm docker.io/refinedelement/lightning-enable-mcp:2.3.1Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Connect Lightning Enable MCP Server to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.
claude mcp add --env STRIKE_API_KEY=<strike_api_key> --env NWC_CONNECTION_STRING=<nwc_connection_string> --env LND_MACAROON_HEX=<lnd_macaroon_hex> --env OPENNODE_API_KEY=<opennode_api_key> --env LIGHTNING_ENABLE_API_KEY=<lightning_enable_api_key> --transport stdio lightning-enable-mcp-server -- dnx LightningEnable.Mcp@2.3.1 --yes.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.
{
"mcpServers": {
"lightning-enable-mcp-server": {
"type": "stdio",
"command": "dnx",
"args": [
"LightningEnable.Mcp@2.3.1",
"--yes"
],
"env": {
"STRIKE_API_KEY": "${STRIKE_API_KEY}",
"NWC_CONNECTION_STRING": "${NWC_CONNECTION_STRING}",
"LND_MACAROON_HEX": "${LND_MACAROON_HEX}",
"OPENNODE_API_KEY": "${OPENNODE_API_KEY}",
"LIGHTNING_ENABLE_API_KEY": "${LIGHTNING_ENABLE_API_KEY}"
}
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"lightning-enable-mcp-server": {
"command": "dnx",
"args": [
"LightningEnable.Mcp@2.3.1",
"--yes"
],
"env": {
"STRIKE_API_KEY": "${env:STRIKE_API_KEY}",
"NWC_CONNECTION_STRING": "${env:NWC_CONNECTION_STRING}",
"LND_MACAROON_HEX": "${env:LND_MACAROON_HEX}",
"OPENNODE_API_KEY": "${env:OPENNODE_API_KEY}",
"LIGHTNING_ENABLE_API_KEY": "${env:LIGHTNING_ENABLE_API_KEY}"
}
}
}
} Configuration the publisher declares
| Environment variable | Required | Secret | Publisher's note |
|---|---|---|---|
STRIKE_API_KEY | No | Yes | Strike API key for Lightning payments (recommended wallet) |
NWC_CONNECTION_STRING | No | Yes | Nostr Wallet Connect URI (for NWC wallets like CoinOS, CLINK, Alby Hub) |
LND_REST_HOST | No | No | LND REST API host (e.g., localhost:8080) |
LND_MACAROON_HEX | No | Yes | LND admin macaroon in hex format |
OPENNODE_API_KEY | No | Yes | OpenNode API key (direct payments only, no L402 support) |
OPENNODE_ENVIRONMENT | No | No | OpenNode environment: production or dev (testnet) |
LIGHTNING_ENABLE_API_KEY | No | Yes | 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 |
LIGHTNING_ENABLE_TOOL_PROFILE | No | No | 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). |
AGENT_RELAY_URL | No | No | Nostr relay URL for agent events (default: wss://agents.lightningenable.com) |
"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.
Allowlist entry
If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.
{
"allowedMcpServers": [
{
"serverCommand": [
"dnx",
"LightningEnable.Mcp@2.3.1",
"--yes"
]
}
]
} How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Signals
| GitHub stars | 9 |
| npm weekly downloads | - |
| Last push | 20d ago |
| Licence | MIT |
| Open issues | 27 |
| SECURITY.md | Yes |
| Language | C# |
| Latest version published | 2026-11-09 |
Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.
Similar servers
BankMCP™
Score 90Read-only MCP server for your own bank accounts via Enable Banking. Self-hosted, one user.
Sato Hub: Build Onchain & Crypto Agents
Score 74Build any crypto agent: x402, ERC-8004, wallets. Does a server take your key? Hosted? Maintained?
mcp-server
Score 74Give AI agents a Bitcoin wallet with Lightning Network payments and L402 support.
Five MCP servers worth your time, every week
The Plug Weekly is a free email picked from these scores. About a 3-minute read. Unsubscribe any time.