Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

Lightning Enable MCP Server

PYPI · LIGHTNING-ENABLE-MCP · 3 COMPONENTS

AI agent Lightning payments: L402, invoices, wallets, API discovery, budgets, self-serve signup.

−16 this week 71 Trust /100

Last scanned (22 hours ago)

Scores higher than 67% of PyPI servers

Category Finance and Payments

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security50
  • Malware scan not yet available for this package.Unverified
  • No known CVEs affecting this package version or its production dependencies.Pass
  • Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
  • 2 of 49 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency48
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Build provenance not yet verified. View diagnostics → Unverified
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 0 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability83
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 2412 tokens (~126/item across 19 items; 18 tools + 1 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
  • No destabilizing schema changes in the last 30 days.Pass
Tool Coverage99
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 98% of tool parameters carry a description.Partial
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • All 3 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
  • An AI judge read all 19 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 4 Nov 26 −16
    • Malware scan: pass → unverified ▼ security
    • Provenance: fail → unverified ▼ security
    • Package version: 2.1.1 → 2.2.0 functional
  • 1 Nov 26 +1
    • Stability: 0.97 → pass security
  • 31 Oct 26 +14
    • Malware scan: unverified → pass ▲ security
    • Stability: pass → 0.97 functional
  • 29 Oct 26 −15
    • Malware scan: pass → unverified ▼ security
  • 26 Oct 26 +15
    • Malware scan: unverified → pass ▲ security
  • 22 Oct 26 0
    • Package version: 2.1.0 → 2.1.1 functional
  • 19 Oct 26 −15
    • Malware scan: pass → unverified ▼ security
  • 18 Oct 26 +16
    • Malware scan: unverified → pass ▲ security
    • Stability: 0.97 → pass security
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 4 Nov 2026 · Analysed pypi/lightning-enable-mcp@2.2.0

Provenance Inconclusive

We could not complete the check, so nothing is claimed either way. This is a gap on our side, not a finding about the package.

Result Inconclusive
Ecosystem pypi
Reason Attestation not fetched

Background: How many MCP packages publish verified provenance →

Install scripts 1 script
Hook Tier Command
build_backend allowlisted hatchling.build

Background: Why install scripts are a supply-chain risk →

Dependencies 49 packages
Packages resolved 49
Stale 2
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 18 exposed · ~2,370 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
access_l402_resource ~135

Fetch a URL with GET or HEAD, automatically paying any L402 challenge and retrying. Read-only: other HTTP methods are refused. Returns the response plus what was paid.

NameTypeReqDescription
bodystring–Optional request body (rarely needed)
confirmation_noncestring–Code the human reads off the server console (never returned to you). Omit to request one.
headersobject–Extra headers
max_satsinteger–Max sats to pay
methodstring–GET or HEAD only (paid HTTP is read-only)
urlstringyesURL to fetch

No output schema declared.

No examples provided.

agent_services ~422

Agent Service Agreements over Nostr: discover, request, settle, publish and review agent services. Requires LIGHTNING_ENABLE_API_KEY.

NameTypeReqDescription
actionstringyesdiscover: search listings. request: ask for a service. settle: PAY an agreement's L402 endpoint. publish: list your service once; to change it, unpublish then publish. unpublish: remove it. attest: r…
agreement_idstring–settle/attest: agreement id
bodystring–settle: request body
budget_satsinteger–request: max sats
capability_event_idstring–request: capability event id
categoriesarray–publish: categories
categorystring–discover: category
confirmation_noncestring–Code the human reads off the server console (never returned to you). Omit to request one.
contentstring–publish: service text; attest: review text
hashtagsarray–discover/publish: hashtags
l402_endpointstring–settle/publish: L402 endpoint
limitinteger–discover/reputation: max results
max_satsinteger–settle: max sats
methodstring–settle: HTTP method
parametersstring–request: extra params, JSON string
price_satsinteger–publish: price per request
proofstring–attest: preimage hash
pubkeystring–reputation: agent pubkey
querystring–discover: keyword
ratinginteger–attest: 1-5
reasonstring–unpublish: reason
service_idstring–publish/unpublish: listing d-tag
subject_pubkeystring–attest: agent being reviewed
target_urlstring–publish: API URL to wrap in a new L402 proxy

No output schema declared.

No examples provided.

budget ~89

View or tighten this session's spending limits. Tightening is one-way - an agent can lower its caps but never raise the operator's config limits.

NameTypeReqDescription
actionstringyesstatus: read limits, tiers and session spend. tighten: lower the runtime sats caps.
per_requestinteger–tighten: max sats per request
per_sessioninteger–tighten: max sats per session

No output schema declared.

No examples provided.

check_invoice_status ~33

Check whether an invoice from create_invoice has been paid.

NameTypeReqDescription
invoice_idstringyesInvoice ID from create_invoice

No output schema declared.

No examples provided.

create_invoice ~55

Create a BOLT11 Lightning invoice to receive a payment.

NameTypeReqDescription
amount_satsintegeryesSatoshis to receive
expiry_secsinteger–Expiry in seconds
memostring–Invoice memo

No output schema declared.

No examples provided.

create_lightning_enable_account ~106

Self-bootstrapping signup: pay a ~100-sat activation fee for a Lightning Enable merchant API key. Needs only a wallet; the key is saved to ~/.lightning-enable/config.json.

NameTypeReqDescription
confirmation_noncestring–Code the human reads off the server console (never returned to you). Omit to request one.
emailstringyesEmail to register
max_satsinteger–Max sats for the ~100-sat fee

No output schema declared.

No examples provided.

discover_api ~103

Discover L402 APIs: search the registry with query/category, or fetch one API's manifest with url.

NameTypeReqDescription
budget_awareboolean–Annotate endpoints with affordable call counts
categorystring–Registry category filter, e.g. 'ai'
querystring–Registry keyword search, e.g. 'weather'
urlstring–Base URL of an L402 API, or a manifest URL. Omit to search the registry.

No output schema declared.

No examples provided.

docs ~85

Search or read the Lightning Enable docs. search: query -> sections. read: path, optional section -> text.

NameTypeReqDescription
actionstringyes–
limitinteger–default 5, max 20
pathstring–e.g. /nwc-setup/account-setup
querystring––
sectionstring–heading text

No output schema declared.

No examples provided.

get_balance ~30

Get the connected wallet's balance in sats, plus all currency balances and wallet info where the wallet reports them.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

l402_producer ~457

Sell access with L402: set up the seller account, monetize an API, mint challenges and verify payer tokens. Requires LIGHTNING_ENABLE_API_KEY.

NameTypeReqDescription
actionstringyescreate: mint an invoice + macaroon challenge. verify: check a payer's token before granting access. configure_receive: point payouts at your own NWC wallet. status: plan, wallet, checklist and recent…
categoriesarray–publish: registry categories
challenge_statusstring–list_challenges: filter; omit for all
default_price_satsinteger–create_proxy: default price per request
descriptionstring–create: invoice text; create_proxy: what the API does
endpoint_idstring–add_endpoint: stable id for the route
http_methodstring–add_endpoint: GET, POST, ... (default GET)
limitinteger–status/list_challenges: max rows
macaroonstring–verify: base64 macaroon
namestring–create_proxy: service name
nwc_connection_stringstring–configure_receive: nostr+walletconnect:// string; omit to reuse this server's own NWC wallet
offsetinteger–list_challenges: rows to skip
pathstring–add_endpoint: route path like /forecast
preimagestring–verify: hex preimage
price_satsinteger–create/add_endpoint: price in sats
proxy_idstring–add_endpoint/publish: id from create_proxy
resourcestring–create: URL or name you are charging for
service_descriptionstring–publish: registry description
service_namestring–publish: rename the listed service
summarystring–add_endpoint: one-line summary
target_base_urlstring–create_proxy: https:// base URL to monetize

No output schema declared.

No examples provided.

pay_invoice ~77

Pay a BOLT11 Lightning invoice directly and get the preimage as proof.

NameTypeReqDescription
confirmation_noncestring–Code the human reads off the server console (never returned to you). Omit to request one.
invoicestringyesBOLT11 invoice to pay
max_satsinteger–Max sats to pay

No output schema declared.

No examples provided.

pay_l402_challenge ~153

Pay an L402 or MPP invoice yourself and get the authorization token. Omit macaroon for MPP; pass challenge_header for a draft-00 Payment challenge.

NameTypeReqDescription
challenge_headerstring–Raw WWW-Authenticate value of a 'Payment' challenge; draft-00 yields a single-use credential.
confirmation_noncestring–Code the human reads off the server console (never returned to you). Omit to request one.
invoicestring–BOLT11 invoice. Optional if challenge_header carries one.
macaroonstring|null–Base64 macaroon from the challenge. Omit for MPP.
max_satsinteger–Max sats to pay

No output schema declared.

No examples provided.

receipts ~97

List payments this wallet made. The durable log persists across restarts and says how to revoke the wallet; the session list is in-memory only.

NameTypeReqDescription
limitinteger–Max entries (durable clamps to 1-200)
sincestring–session: ISO timestamp to filter from
sourcestringyesdurable: the append-only log at ~/.lightning-enable/receipts.jsonl. session: payments since startup.

No output schema declared.

No examples provided.

renew_lightning_enable_subscription ~83

Pay the L402 invoice that buys or extends 30 days of Lightning Enable Agentic Commerce for the configured API key. Needs a preimage-capable wallet.

NameTypeReqDescription
confirmation_noncestring–Code the human reads off the server console (never returned to you). Omit to request one.
max_satsinteger–Max sats to pay

No output schema declared.

No examples provided.

setup_wallet ~65

Report the wallet this server pays from, or connect one. Call with no arguments first - it also returns the setup steps when no wallet is configured.

NameTypeReqDescription
nwc_connection_stringstring–NWC connection string (nostr+walletconnect://...). Omit to just report.

No output schema declared.

No examples provided.

test_l402_payment ~79

Self-test the wallet by paying the public 1-sat L402 test endpoint end to end. A 'needs_confirmation' verdict means the server printed a code to its console; re-run with confirmation_nonce.

NameTypeReqDescription
confirmation_noncestring–Code the human reads off the server console (never returned to you). Omit to request one.

No output schema declared.

No examples provided.

verify_confirmation_code ~59

Check whether a payment confirmation code is still valid and what it authorizes. Verification ONLY - it never pays; to pay, re-call the payment tool with confirmation_nonce.

NameTypeReqDescription
noncestringyesThe 6-character code from the payment request

No output schema declared.

No examples provided.

wallet_ops ~242

Wallet operations beyond invoices: BTC price, currency exchange, on-chain sends. Strike only (send_onchain also works on LND).

NameTypeReqDescription
actionstringyesprice: BTC/USD. exchange: convert currency in your wallet. send_onchain: irreversible - ALWAYS needs confirmation_nonce, so the first call only prints a code to the server console.
addressstring–send_onchain: destination address
amountnumber–exchange: amount in source_currency
amount_satsinteger–send_onchain: satoshis to send
confirmation_noncestring–Code the human reads off the server console (never returned to you). Omit to request one.
intent_idstring–send_onchain: optional idempotency scope. Omit for normal use. Supply a NEW value only when you intentionally need to pay the same address the same amount again; a repeat with the same address, amoun…
source_currencystring–exchange: from, USD or BTC
target_currencystring–exchange: to, BTC or USD

No output schema declared.

No examples provided.

Install

How do I install the Lightning Enable MCP Server server?

Lightning Enable MCP Server runs locally as a PyPI package, launched with uvx lightning-enable-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

pypi · lightning-enable-mcp

# add to Claude Code
claude mcp add refined-element-lightning-enable-mcp -- uvx lightning-enable-mcp
Common questions

What is the Lightning Enable MCP Server server?

Lightning Enable MCP Server is listed in the public MCP registry as io.github.refined-element/lightning-enable-mcp. AI agent Lightning payments: L402, invoices, wallets, API discovery, budgets, self-serve signup. This page covers its PyPI package (lightning-enable-mcp).

Is the Lightning Enable MCP Server server safe to use?

Lightning Enable MCP Server scores 71 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 4 November 2026. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the Lightning Enable MCP Server server expose?

Lightning Enable MCP Server exposes 18 tools: setup_wallet, access_l402_resource, pay_invoice, pay_l402_challenge, test_l402_payment, and 13 more. Their descriptions and schemas cost roughly 2,370 tokens of context every time the server is loaded.

Is the Lightning Enable MCP Server server still maintained?

Lightning Enable MCP Server is still listed as active in the MCP registry. We last reached this channel on 4 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the Lightning Enable MCP Server server under?

Lightning Enable MCP Server declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.