Lightning Network MCP Server
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
🌐 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
👷♂️ 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
.env
file:
💡 You can copy the
.env.example
file 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
- Lnbits repository
- Lnbits demo
- Model Context Protocol
- Visual testing tool for MCP servers
- Awesome MCP Servers
- Awesome MCP Clients
- MCP TypeScript SDK
📬 Contact
Feel free to follow me if you’d like, using my public key:
Or just scan this QR code to find me:
<p align="center"> Made with ❤️ for the Bitcoin community </p>
This server cannot be installed
Enables AI models to interact with the Lightning Network by providing an MCP-compliant API to pay invoices.
- 🚀 Features
- 👷♂️ TODOs
- 📋 Prerequisites
- 🛠️ Installation
- 🚦 Usage
- 🔧 Development
- 🤝 Contributing
- 📜 License
- 🔗 Resources
- 📬 Contact