drio
Open app

🌐 Lightning Network MCP Server

Source

Ligthning Network MCP server.

Catalog onlyCatalog onlySTDIO

Overview

Lightning Network MCP Server is a Model Context Protocol (MCP) server that enables AI models to interact with the Lightning Network, allowing them to pay invoices.

To use the server, you can install it via Smithery or manually clone the repository, install dependencies, and configure the environment variables. Start the server in development or production mode to begin using its features.

  • 📝 Pay invoices on the Lightning Network - 🤖 MCP-compliant API for AI integration
  1. Enabling AI models to make payments on the Lightning Network.
  2. Facilitating invoice payments for decentralized applications.
  3. Integrating with various AI services that require payment functionalities.

Add to your AI client

Use these steps to connect 🌐 Lightning Network MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "lightning-mcp-abdelstark": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-lightning-mcp-abdelstark"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "lightning-mcp-abdelstark": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-lightning-mcp-abdelstark"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "lightning-mcp-abdelstark": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-lightning-mcp-abdelstark"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "lightning-mcp-abdelstark": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-lightning-mcp-abdelstark"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "lightning-mcp-abdelstark": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-lightning-mcp-abdelstark"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "lightning-mcp-abdelstark": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-lightning-mcp-abdelstark"
      ]
    }
  }
}

FAQ

Can I use this server for any AI model?

Yes! The server is designed to be compatible with any AI model that can utilize the MCP protocol.

Is there a specific version of Node.js required?

Yes, Node.js version 18 or higher is required to run the server.

How can I contribute to the project?

You can fork the repository, create a feature branch, and submit a pull request with your changes.7:["