lightning-mcp-server
Build and configure the MCP server for Lightning Node Connect (LNC)
Setup & Installation
Install command
clawhub install roasbeef/lightning-mcp-serverIf the CLI is not installed:
Install command
npx clawhub@latest install roasbeef/lightning-mcp-serverOr install with OpenClaw CLI:
Install command
openclaw skills install roasbeef/lightning-mcp-serveror paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/roasbeef/lightning-mcp-serverWhat This Skill Does
MCP server that connects AI assistants to Lightning Network nodes via Lightning Node Connect (LNC). Uses encrypted WebSocket tunnels through a mailbox relay, requiring only a 10-word pairing phrase from Lightning Terminal, no TLS certificates or macaroons. Read-only by default, exposing 18 tools for querying node state, channels, payments, invoices, peers, and on-chain data.
Access a remote lnd node without exposing TLS certificates, macaroons, or open gRPC ports; the mailbox relay handles all connectivity using only an in-memory pairing phrase.
When to Use It
- Check Lightning node channel balances and capacity mid-conversation
- Decode a BOLT11 invoice to verify amount and recipient before paying
- Review payment history and track a specific payment by hash
- Inspect peer connections and sample Lightning Network topology
- Estimate on-chain fees for different confirmation targets
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Check Lightning node channel balances and capacity mid-conversation
- 1Check Lightning node channel balances and capacity mid-conversation
- 2Decode a BOLT11 invoice to verify amount and recipient before paying
- 3Review payment history and track a specific payment by hash
- 4Inspect peer connections and sample Lightning Network topology
- 5Estimate on-chain fees for different confirmation targets
Build and configure the MCP server for Lightning Node Connect (LNC)
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.