Lightning Tools MCP Server

MCP server for accessing useful bitcoin lightning tools

Local serverstdioTypeScript

What is the Lightning Tools MCP server?

If you already use Lightning Tools, the lightning tools mcp server is the piece that lets your assistant work with it directly. MCP server for accessing useful bitcoin lightning tools.

What the server does

This repository has been deprecated in favor of Alby MCP, which includes all the NWC tools along with additional lightning tools.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Prerequisites — The Prerequisites tool exposed by this server
  • Installation — The Installation tool exposed by this server
  • Building — The Building tool exposed by this server

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Credentials and setup notes

Configuration is passed through the environment: NWC_CONNECTION_STRING. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Node.js 20+ - Yarn

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Lightning Tools's toolset — Prerequisites, Installation, Building — is a fair guide to whether it matches your workflow. It is maintained by getAlby; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
InstallationThe Installation tool exposed by this server.
BuildingThe Building tool exposed by this server.

How to install the Lightning Tools MCP server

{
  "mcpServers": {
    "lightning-tools": {
      "command": "npx",
      "args": ["-y", "@getalby/lightning-tools-mcp-server"],
      "env": {
        "NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js 20+ - Yarn
VariableDescriptionRequired
NWC_CONNECTION_STRINGConfiguration value read at startup.Optional

Example prompts to try

  • Use Lightning Tools to Prerequisites.
  • Use Lightning Tools to Installation.
  • Use Lightning Tools to Building.

Frequently asked questions

It connects Lightning Tools to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Prerequisites, Installation, Building) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Lightning Tools directly.