π Lightning Network MCP Server
@AbdelStark
About π Lightning Network MCP Server
Ligthning Network MCP server.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"lightning-mcp": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@AbdelStark/lightning-mcp",
"--client",
"claude"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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.
Frequently asked questions
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.
Basic information
More Other MCP servers
Mobile Mcp
mobile-nextModel Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)

Peekaboo MCP β lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.
Codelf
unbugA search tool helps dev to solve the naming things problem.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation β’ (~400 MCP servers for AI agents) β’ AI Automation / AI Agent with MCPs β’ AI Workflows & AI Agents β’ MCPs for AI Agents
Comments