1. Conduid
  2. Finance
  3. Lightning Enable MCP Server
MCP server · Finance

Lightning Enable MCP Server

AI agent Lightning payments and commerce: invoices, L402, API discovery, budgets, ASA

Unclaimed finance
37Low

Scored 6 months ago · breakdown

About Lightning Enable MCP Server

Lightning Enable MCP Server is an MCP server in the Finance category: aI agent Lightning payments and commerce: invoices, L402, API discovery, budgets, ASA.

Install

uvx
uvx lightning-enable-mcp
pip
pip install lightning-enable-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (16)

access_l402_resourceFree

Parameters not published.

agent_servicesAgentic Commerce

Parameters not published.

budgetFree

Parameters not published.

check_invoice_statusFree

Parameters not published.

create_invoiceFree

Parameters not published.

create_lightning_enable_accountFree

Parameters not published.

discover_apiFree

Parameters not published.

get_balanceFree

Parameters not published.

l402_producerAgentic Commerce

Parameters not published.

pay_invoiceFree

Parameters not published.

Show all 16 tools
pay_l402_challengeFree

Parameters not published.

receiptsFree

Parameters not published.

setup_walletFree

Parameters not published.

test_l402_paymentFree

Parameters not published.

verify_confirmation_codeFree

Parameters not published.

wallet_opsFree

Parameters not published.

Ask AI

✦

Ask AI about Lightning Enable MCP Server

Powered by Claude · Grounded in docs

I know everything about Lightning Enable MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Part of Lightning Enable — infrastructure for agent commerce over Lightning.

Lightning Enable MCP Server

An open-source MCP (Model Context Protocol) server that enables AI agents to make Lightning Network payments and participate in agent-to-agent commerce. 23 tools total: 15 free wallet tools, 2 producer tools, and 6 Agent Service Agreement (ASA) tools for discovering, negotiating, and settling services between agents on Nostr. Producer and ASA tools require an Agentic Commerce subscription.

Available in .NET and Python.

What It Does

Give your AI agent a Lightning wallet and it can:

  • Pay invoices — Send Bitcoin via Lightning to any BOLT11 invoice
  • Access L402 APIs — Automatically pay L402 challenges for seamless API access
  • Discover APIs — Search the L402 API registry to find paid APIs by keyword or category, or fetch a specific API's manifest for full endpoint details and pricing
  • Track spending — Budget limits, payment history, and balance checks
  • Create invoices — Generate invoices to receive payments
  • Get BTC price — Real-time Bitcoin price from Strike
  • Exchange currency — Convert between USD/BTC/EUR and more (Strike wallet)
  • Send on-chain — Send Bitcoin on-chain (Strike/LND)
  • Sell services (L402 Producer) — Create L402 payment challenges and verify payments, enabling agents to be full commerce participants that both buy and sell
  • Agent commerce (ASA) — Discover, request, settle, and review agent-to-agent services on Nostr

Quick Install

# .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

Claude Desktop Config

Add to your claude_desktop_config.json:

.NET:

{
  "mcpServers": {
    "lightning-enable": {
      "command": "dotnet",
      "args": ["tool", "run", "lightning-enable-mcp"],
      "env": {
        "STRIKE_API_KEY": "your-strike-api-key"
      }
    }
  }
}

Python:

{
  "mcpServers": {
    "lightning-enable": {
      "command": "uvx",
      "args": ["lightning-enable-mcp"],
      "env": {
        "STRIKE_API_KEY": "your-strike-api-key"
      }
    }
  }
}

Config file locations:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/claude/claude_desktop_config.json

Supported Wallets

Wallet Setup L402 Support
Strike API key Yes
LND REST + macaroon Yes (guaranteed)
NWC (CoinOS) Connection string Yes
NWC (CLINK) Connection string Yes
NWC (Alby Hub) Connection string Yes
OpenNode API key No (no preimage)

Try It: Lightning Enable Store

The Lightning Enable Store is a live L402-powered web store. Ask Claude:

Buy me a Lightning Enable t-shirt from store.lightningenable.com

Documentation

Repository Structure

lightning-enable-mcp/
├── dotnet/
│   ├── src/LightningEnable.Mcp/         # .NET MCP server
│   ├── tests/LightningEnable.Mcp.Tests/  # .NET tests
│   └── LightningEnable.Mcp.sln          # Solution file
├── python/
│   └── lightning-enable-mcp/             # Python MCP server
├── .github/workflows/publish-mcp.yml     # CI/CD
├── LICENSE                               # MIT
└── README.md                             # This file

Agent Service Agreement (ASA) Tools

These tools enable agent-to-agent commerce on Nostr:

Tool Description Subscription
discover_agent_services Search for agent capabilities by category, hashtag, or keyword Free
publish_agent_capability Publish your agent's services to the Nostr network (kind 38400) Agentic Commerce
request_agent_service Request a service from another agent (kind 38401) Agentic Commerce
settle_agent_service Pay for an agent service via L402 Lightning settlement Free*
publish_agent_attestation Leave a review/rating for an agent after service completion (kind 38403) Agentic Commerce
get_agent_reputation Check an agent's reputation score from on-protocol attestations Free

*settle uses wallet balance, subject to budget limits

How Agent Commerce Works

  1. Discover — discover_agent_services(category="translation") finds agents offering translation
  2. Request — request_agent_service(capability_id, budget_sats=100) sends a service request
  3. Settle — settle_agent_service(l402_endpoint) pays via Lightning and receives the result
  4. Review — publish_agent_attestation(pubkey, agreement_id, rating=5) builds on-protocol reputation

For dynamic pricing, providers use create_l402_challenge to generate invoices at negotiated prices. Requesters pay and providers verify with verify_l402_payment.

Related Projects

License

MIT — see LICENSE.

Links

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Lightning Enable MCP Server

How do I install Lightning Enable MCP Server?

Run uvx lightning-enable-mcp, then add the server to your MCP client's configuration.

Is Lightning Enable MCP Server safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Lightning Enable MCP Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.