Lightning Enable MCP Server
by refined-elementio.github.refined-element/lightning-enable-mcpv2.0.5
Bitcoin Lightning payments for AI agents: pay and create invoices, check balances and access L402-paywalled APIs, with Strike, OpenNode and NWC wallets.
context tax
queued
security
queued
cold start
queued
freshness
Active14d ago
Install Lightning Enable MCP server
Install in Claude Code
claude mcp add lightning-enable -e STRIKE_API_KEY='<strike-api-key>' -e NWC_CONNECTION_STRING='<nwc-connection-string>' -e LND_MACAROON_HEX='<lnd-macaroon-hex>' -e OPENNODE_API_KEY='<opennode-api-key>' -e LIGHTNING_ENABLE_API_KEY='<lightning-enable-api-key>' -- uvx lightning-enable-mcpInstall in Cursor
{
"mcpServers": {
"lightning-enable": {
"command": "uvx",
"args": [
"lightning-enable-mcp"
],
"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>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"lightning-enable": {
"command": "uvx",
"args": [
"lightning-enable-mcp"
],
"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>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"lightning-enable": {
"type": "stdio",
"command": "uvx",
"args": [
"lightning-enable-mcp"
],
"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>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"lightning-enable": {
"command": "uvx",
"args": [
"lightning-enable-mcp"
],
"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>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| STRIKE_API_KEY | — | yes | Strike API key for Lightning payments (recommended wallet) |
| NWC_CONNECTION_STRING | — | yes | 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 | — | yes | LND admin macaroon in hex format |
| OPENNODE_API_KEY | — | yes | OpenNode API key (direct payments only, no L402 support) |
| OPENNODE_ENVIRONMENT | — | — | OpenNode environment: production or dev (testnet) |
| LIGHTNING_ENABLE_API_KEY | — | 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 | — | — | How many tools to advertise: lite (the five spend/read basics), standard (default), or full (adds the deprecated legacy names), or full (adds the pre-consolidation tool names). |
| AGENT_RELAY_URL | — | — | Nostr relay URL for agent events (default: wss://agents.lightningenable.com) |
Freshness
Active — last maintenance signal 14d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-25 · 14d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-25 · 14d ago · official registry · v2.0.5
FAQ
›How do I install the Lightning Enable MCP server in Claude Code?
Run: claude mcp add lightning-enable -e STRIKE_API_KEY='<strike-api-key>' -e NWC_CONNECTION_STRING='<nwc-connection-string>' -e LND_MACAROON_HEX='<lnd-macaroon-hex>' -e OPENNODE_API_KEY='<opennode-api-key>' -e LIGHTNING_ENABLE_API_KEY='<lightning-enable-api-key>' -- uvx lightning-enable-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Lightning Enable require an API key?
Yes. It expects STRIKE_API_KEY, NWC_CONNECTION_STRING, LND_MACAROON_HEX, OPENNODE_API_KEY, LIGHTNING_ENABLE_API_KEY, of which 5 are secrets.
›Can I use Lightning Enable as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Lightning Enable in the official MCP registry?
Yes, as io.github.refined-element/lightning-enable-mcp.
Alternatives to Lightning Enable
Other finance & fintech MCP servers.