MCP.so
Sign In
Servers

🌐 Lightning Network MCP Server

@AbdelStark

Ligthning Network MCP server.

Overview

What is 🌐 Lightning Network MCP Server?

A Model Context Protocol (MCP) server that enables AI models to interact with the Lightning Network, allowing them to pay invoices. It is built with TypeScript and uses lnbits as the backend.

How to use 🌐 Lightning Network MCP Server?

Install via Smithery (npx -y @smithery/cli install @AbdelStark/lightning-mcp --client claude) or manually (clone repo, install dependencies, configure .env with lnbits URL and keys). Start the server with npm run dev (development) or npm start (production). Use the pay_invoice tool with a BOLT11 invoice string.

Key features of 🌐 Lightning Network MCP Server

  • Pay invoices on the Lightning Network
  • MCP‑compliant API for AI integration

Use cases of 🌐 Lightning Network MCP Server

  • AI assistants paying Lightning invoices on behalf of users
  • Automated invoice payment processing triggered by AI models

FAQ from 🌐 Lightning Network MCP Server

What does this server do?

It lets AI models interact with the Lightning Network to pay invoices via the Model Context Protocol.

What are the prerequisites?

Node.js 18 or later is required.

How do I configure the Lightning Network backend?

You must set BITCOIN_LNBITS_NODE_URL, BITCOIN_LNBITS_ADMIN_KEY, and BITCOIN_LNBITS_READ_KEY in a .env file.

What tool does the server expose?

The only tool is pay_invoice, which takes a BOLT11 invoice string and pays it.

Does it support multiple Lightning Network backends?

Currently only lnbits is supported; support for additional backends is planned but not yet implemented.

Tags

More from Other