본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

lightning-mcp-server

roasbeef 제작

Web & Frontend Development
826clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Build and configure the MCP server for Lightning Node Connect (LNC)

설명

이 스킬이 하는 일

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.

사용 시점

  • 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

예시 워크플로

입력

User asks: What is the current balance and channel status of my Lightning node?

에이전트
  1. 1

    Call lnc_connect with the 10-word pairing phrase to open an encrypted tunnel

  2. 2

    Call lnc_get_balance to retrieve on-chain wallet and channel balances

  3. 3

    Call lnc_list_channels to get active channels with capacity and local/remote balances

  4. 4

    Call lnc_disconnect to close the tunnel

  5. 5

    Return a summary of balances and channel status to the user

출력

Node has 0.05 BTC on-chain, 3 active channels totaling 0.12 BTC capacity, with 0.08 BTC local balance available to send

요구 사항

  • Lightning Terminal (litd) installed and running on the target lnd node to generate pairing phrases

설치

clawhub install roasbeef/lightning-mcp-server

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크