π Lightning Network MCP Server
A Model Context Protocol (MCP) server that enables AI models to interact with Lightning Network, allowing them to pay invoices.
π Features
π Pay invoices on Lightning Network
π€ MCP-compliant API for AI integration
Related MCP server: MCP2Lambda
π·ββοΈ TODOs
Add support for multiple Lightning Network backends
Implement stdin transport mode (configurable via environment variable)
π Prerequisites
Node.js 18+
π οΈ Installation
Installing via Smithery
To install Lightning Network MCP Server for Claude Desktop automatically via Smithery:
Manual Installation
Clone the repository:
Install dependencies:
Create a
.envfile:
π‘ You can copy the
.env.examplefile and modify it as needed.
π¦ Usage
Starting the Server
Available Tools
pay_invoice
Pays an invoice on the Lightning Network.
Example input:
π§ Development
Project Structure
Running Tests
π€ Contributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add some amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Resources
π¬ Contact
Feel free to follow me if youβd like, using my public key:
Or just scan this QR code to find me:
