
Lightning Enable MCP Server
Connects Claude to the Lightning Network for Bitcoin payments. Supports Strike, LND, and multiple NWC wallets. Exposes 23 tools including invoice payments, L402 API access with automatic payment challenges, budget tracking, and on-chain sends. Two standout features: L402 Producer tools let your agent sell services and create payment challenges, and Agent Service Agreement tools enable agent-to-agent commerce on Nostr with service discovery, negotiation, and settlement. Ships in .NET, Python, and Docker. The free tier covers basic wallet operations. Producer and ASA tools require an Agentic Commerce subscription. Useful when you want Claude to autonomously pay for APIs, participate in micropayment commerce, or both buy and sell services.
- GitHub stars
- 9
- tools
- 18
- auth
- Secret needed
- transport
- STDIO
- env vars
- 9
- last updated
- Nov 9, 2026
Tools
18 toolsPublic tool metadata for what this MCP can expose to an agent.
setup_walletReport the configured wallet, or connect one by pasting an NWC connection string
Report the configured wallet, or connect one by pasting an NWC connection string
No parameter schema in public metadata yet.
pay_invoicePay a BOLT11 Lightning invoice directly, get the preimage
Pay a BOLT11 Lightning invoice directly, get the preimage
No parameter schema in public metadata yet.
pay_l402_challengePay an L402 challenge (invoice + macaroon), get the token
Pay an L402 challenge (invoice + macaroon), get the token
No parameter schema in public metadata yet.
access_l402_resourceFetch a URL, auto-paying any L402 challenge
Fetch a URL, auto-paying any L402 challenge
No parameter schema in public metadata yet.
test_l402_paymentSelf-test the wallet against a public 1-sat L402 endpoint
Self-test the wallet against a public 1-sat L402 endpoint
No parameter schema in public metadata yet.
discover_apiSearch the L402 API registry / fetch an API manifest
Search the L402 API registry / fetch an API manifest
No parameter schema in public metadata yet.
docsReads the Lightning Enable docs without web access; no wallet or API key
Reads the Lightning Enable docs without web access; no wallet or API key
No parameter schema in public metadata yet.
create_invoiceCreate a BOLT11 invoice to receive payment
Create a BOLT11 invoice to receive payment
No parameter schema in public metadata yet.
check_invoice_statusCheck whether a created invoice was paid
Check whether a created invoice was paid
No parameter schema in public metadata yet.
get_balanceWallet balance: sats, all currencies (Strike), and wallet info
Wallet balance: sats, all currencies (Strike), and wallet info
No parameter schema in public metadata yet.
budgetRead limits and session spend or lower the runtime caps
Read limits and session spend or lower the runtime caps
No parameter schema in public metadata yet.
receiptsThe append-only receipt log or this session's payments
The append-only receipt log or this session's payments
No parameter schema in public metadata yet.
wallet_opsPrice, exchange, or send on-chain (Strike; send_onchain also LND)
Price, exchange, or send on-chain (Strike; send_onchain also LND)
No parameter schema in public metadata yet.
verify_confirmation_codeVerify an out-of-band payment confirmation code (verification only — never pays)
Verify an out-of-band payment confirmation code (verification only — never pays)
No parameter schema in public metadata yet.
create_lightning_enable_accountSelf-bootstrap signup: pay ~100 sats, get a merchant API key
Self-bootstrap signup: pay ~100 sats, get a merchant API key
No parameter schema in public metadata yet.
l402_producerThe whole seller side: configure, status, create_proxy, add_endpoint, publish, list_challenges, create, verify
The whole seller side: configure, status, create_proxy, add_endpoint, publish, list_challenges, create, verify
No parameter schema in public metadata yet.
agent_servicesAgent-to-agent commerce on Nostr: discover, request, settle, publish, unpublish, attest, reputation
Agent-to-agent commerce on Nostr: discover, request, settle, publish, unpublish, attest, reputation
No parameter schema in public metadata yet.
renew_lightning_enable_subscriptionPay the server-priced L402 invoice that buys or extends 30 days of Agentic Commerce for the configured API key (maxSats defaults to 50,000)
Pay the server-priced L402 invoice that buys or extends 30 days of Agentic Commerce for the configured API key (maxSats defaults to 50,000)
No parameter schema in public metadata yet.
Sponsors
Configuration
STRIKE_API_KEYsecretStrike API key for Lightning payments (recommended wallet)
NWC_CONNECTION_STRINGsecretNostr Wallet Connect URI (for NWC wallets like CoinOS, CLINK, Alby Hub)
LND_REST_HOSTLND REST API host (e.g., localhost:8080)
LND_MACAROON_HEXsecretLND admin macaroon in hex format
OPENNODE_API_KEYsecretOpenNode API key (direct payments only, no L402 support)
OPENNODE_ENVIRONMENTdefault: productionOpenNode environment: production or dev (testnet)
LIGHTNING_ENABLE_API_KEYsecretLightning Enable API key (unlocks producer + ASA tools). Optional: no key? The create_lightning_enable_account tool self-provisions one for ~100 sats over Lightning — no card, no subscription required.
LIGHTNING_ENABLE_TOOL_PROFILEdefault: standardHow many tools to advertise: lite (the wallet-setup and spend/read basics), standard (default), or full (adds the deprecated legacy names), or full (adds the pre-consolidation tool names).
AGENT_RELAY_URLdefault: wss://agents.lightningenable.comNostr relay URL for agent events (default: wss://agents.lightningenable.com)
Readme
Part of Lightning Enable — infrastructure for agent commerce over Lightning.
Lightning Enable MCP Server
Monetize your own API — 30-day free trial
Agents pay your API per request over Lightning — flat subscription at $49/mo, and you keep 100% of every sat.
Details
- Repository
- github.com/refined-element/lightning-enable-mcp
- Website
- docs.lightningenable.com/products/agentic-commerce/mcp-complete-guide
- Category
- AI & LLM Tools
- Package
lightning-enable-mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active