Lightning Enable

Provides an MCP server to empower AI agents with Lightning wallet capabilities for payments, invoices, spending tracking, and currency exchange.
  • other

0

GitHub Stars

other

Language

4 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "refined-element-lightning-enable-mcp": {
      "command": "dotnet",
      "args": [
        "tool",
        "run",
        "lightning-enable-mcp"
      ],
      "env": {
        "STRIKE_API_KEY": "YOUR_STRIKE_API_KEY"
      }
    }
  }
}

You can run a dedicated MCP server that gives your AI agents a Lightning wallet, enabling payments, invoice creation, balance tracking, and currency exchange through a simple, extensible interface. It supports .NET and Python runtimes and can be run locally via standard tools or pulled as a Docker image for quick experiments.

How to use

You will run the MCP server locally and connect your MCP client to it. Start the server with your preferred runtime, supply the required API key, and then perform actions such as paying invoices, creating invoices, and checking balances through the MCP interface. You can manage spending with built-in budget controls and access L402 APIs to streamline API access.

How to install

Prerequisites depend on the runtime you choose. You can install and run using .NET, Python, or Docker. Follow the concrete steps below for your preferred option.

# .NET
dotnet tool install -g LightningEnable.Mcp

# Python
pip install lightning-enable-mcp

# Python (no install)
uvx lightning-enable-mcp

# Docker
docker pull refinedelement/lightning-enable-mcp:latest

.NET runtime usage

After installing the .NET tool, run the MCP server using the runtime command. Provide your API key for the Strike service.

dotnet tool run lightning-enable-mcp

Python runtime usage

After installing via pip or using uvx, run the MCP server with the Python runtime. Supply the Strike API key as needed.

uvx lightning-enable-mcp

Docker usage

If you prefer Docker, pull the image to run the MCP server in a container.

docker pull refinedelement/lightning-enable-mcp:latest

Configuration and environment

The server requires you to provide your Strike API key in the environment so it can process payments and access Strike services.

Security and access

Treat your API keys as secrets. Use strong access controls and rotate keys as needed. Only expose the MCP server to trusted clients and network segments.

Available tools

pay_invoices

Pay Lightning invoices (BOLT11) using the integrated Lightning wallet.

access_l402

Automatically satisfy L402 challenges to access APIs seamlessly.

track_spending

Monitor spending with budgets, history, and balance checks.

create_invoices

Generate invoices to receive payments via the Lightning wallet.

exchange_currency

Convert currencies (USD/BTC) using the Strike wallet or integrated exchange features.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational