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.
- Start free trial — 30 days, no charge today
- Fast Lane — pay 100 sats over Lightning, no card
- Pricing
Or sign up without leaving your agent: call the create_lightning_enable_account tool.
An open-source MCP (Model Context Protocol) server that enables AI agents to make Lightning Network payments and participate in agent-to-agent commerce. Wallet, invoice, L402, budget, and API-discovery tools work out of the box with just a wallet. Producer tools (sell access via L402) and Agent Service Agreement (ASA) tools (agent-to-agent discovery, request, settlement, and attestation over Nostr) unlock with an Agentic Commerce subscription. See the full tool list.
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, a durable receipt log, and balance checks
- Create invoices — Generate invoices to receive payments
- Run wallet operations — BTC price, currency exchange, and on-chain sends (Strike; on-chain also LND)
- Self-bootstrap a Lightning Enable account —
create_lightning_enable_accountpays a ~100-sat activation fee over L402 and returns a merchant API key: the free→paid signup form that is the protocol, unlocking the producer + ASA tools with no browser or checkout page. - Sell services (L402 Producer) — Set up the seller account, put an API behind L402, price its routes, list it publicly, mint payment challenges and verify payer tokens — all from one tool, so an agent can go from an API key to a paid endpoint without touching REST
- Agent commerce (ASA) — Discover, request, settle, and review agent-to-agent services on Nostr





