MCP.so
Sign In

Lightning Network MCP Server

@AbdelStark

Basic information

Category

Other

License

MIT

Transports

stdio

Author

AbdelStark

About Lightning Network MCP Server

Ligthning Network MCP server.

Lightning 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"
      ]
    }
  }
}

Lightning Network MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

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

Frequently asked questions

1

What does this server do?

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

2

What are the prerequisites?

Node.js 18 or later is required.

3

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.

4

What tool does the server expose?

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

5

Does it support multiple Lightning Network backends?

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

Comments

More Other MCP servers