Lightning Enable MCP Server
About
AI agent Lightning payments: invoices, wallets, L402 access, API discovery, budgets, and commerce.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
STRIKE_API_KEY NWC_CONNECTION_STRING LND_REST_HOST LND_MACAROON_HEX OPENNODE_API_KEY OPENNODE_ENVIRONMENT LIGHTNING_ENABLE_API_KEY AGENT_RELAY_URLClaude Code
claude mcp add --env STRIKE_API_KEY= --env NWC_CONNECTION_STRING= --env LND_REST_HOST= --env LND_MACAROON_HEX= --env OPENNODE_API_KEY= --env OPENNODE_ENVIRONMENT= --env LIGHTNING_ENABLE_API_KEY= --env AGENT_RELAY_URL= lightning-enable-mcp -- dnx LightningEnable.Mcp
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"lightning-enable-mcp","command":"dnx","args":["LightningEnable.Mcp"],"env":{"STRIKE_API_KEY":"","NWC_CONNECTION_STRING":"","LND_REST_HOST":"","LND_MACAROON_HEX":"","OPENNODE_API_KEY":"","OPENNODE_ENVIRONMENT":"","LIGHTNING_ENABLE_API_KEY":"","AGENT_RELAY_URL":""}}'
JSON
{
"mcpServers": {
"lightning-enable-mcp": {
"command": "dnx",
"args": [
"LightningEnable.Mcp"
],
"env": {
"STRIKE_API_KEY": "",
"NWC_CONNECTION_STRING": "",
"LND_REST_HOST": "",
"LND_MACAROON_HEX": "",
"OPENNODE_API_KEY": "",
"OPENNODE_ENVIRONMENT": "",
"LIGHTNING_ENABLE_API_KEY": "",
"AGENT_RELAY_URL": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.