Lightning Enable MCP Server
NUGET · LIGHTNINGENABLE.MCP · 3 COMPONENTS · SCANNED SEP 20
AI agent Lightning payments: L402, invoices, wallets, API discovery, budgets, self-serve signup.
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 Security100
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- No production dependencies, so there is no dependency health to assess. View diagnostics → Pass
Provenance & Transparency48
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 9 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability84
- 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 2077 tokens (~122/item across 17 items; 16 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 Management32
- Stability check failed: the tool surface changed between 1.24.0 and 2.0.1: 16 tool removals, 0 breaking changes, 6 additions. See how to fix → Fail
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- All 2 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
- An AI judge read all 17 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities60
- Spec-recency check failed: implements MCP spec 2025-06-18; the latest is 2026-07-28. See how to fix → Fail
How do I install the Lightning Enable MCP Server server?
Lightning Enable MCP Server runs locally as a NuGet package, launched with dnx LightningEnable.Mcp@2.0.1 --yes. Ready-made configuration for Claude, Cursor, VS Code, Codex and 3 more is on this page, copied from each client's own documentation.
nuget · LightningEnable.Mcp
claude mcp add refined-element-lightning-enable-mcp -- dnx LightningEnable.Mcp@2.0.1 --yes
{
"mcpServers": {
"refined-element-lightning-enable-mcp": {
"command": "dnx",
"args": [
"LightningEnable.Mcp@2.0.1",
"--yes"
]
}
}
} {
"servers": {
"refined-element-lightning-enable-mcp": {
"command": "dnx",
"args": [
"LightningEnable.Mcp@2.0.1",
"--yes"
]
}
}
} codex mcp add refined-element-lightning-enable-mcp -- dnx LightningEnable.Mcp@2.0.1 --yes
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"refined-element-lightning-enable-mcp": {
"type": "local",
"command": [
"dnx",
"LightningEnable.Mcp@2.0.1",
"--yes"
],
"enabled": true
}
}
} mcp_servers:
refined-element-lightning-enable-mcp:
command: "dnx"
args: ["LightningEnable.Mcp@2.0.1", "--yes"] {
"McpServers": {
"refined-element-lightning-enable-mcp": {
"Transport": "stdio",
"Command": "dnx",
"Arguments": [
"LightningEnable.Mcp@2.0.1",
"--yes"
]
}
}
} {
"mcpServers": {
"refined-element-lightning-enable-mcp": {
"command": "dnx",
"args": [
"LightningEnable.Mcp@2.0.1",
"--yes"
]
}
}
} 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.
- 20 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 28 to 32.
- 18 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 22 to 25.
- 17 Sept 26 −2
No change was recorded against any check on this day. Stability & Change Management went from 38 to 22.
- 12 Sept 26 +15
- Malware scan: unverified → pass ▲ security
- 11 Sept 26 −22
- Malware scan: pass → unverified ▼ security
- Stability: pass → fail ▼ security
- Schema quality: 2983 → 2077 ▲ functional
- Schema quality: unverified → 100 ▲ functional
- Destructive annotations: All 2 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation. functional
- Package version: 1.21.0 → 2.0.1 functional
- 10 Sept 26 +1
- Stability: 0.97 → pass security
- 8 Sept 26 +1
- Package version: 1.21.0 → 1.24.1 functional
- 6 Sept 26 −2
- Stability: pass → 0.87 functional
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 20 Sept 2026 · Analysed nuget/LightningEnable.Mcp@2.0.1
Provenance No attestation
The registry publishes no build provenance for this version, so there is nothing to verify.
| Result | No attestation |
|---|---|
| Ecosystem | nuget |
| Reason | Signature present, unreadable |
Background: How many MCP packages publish verified provenance →
Dependencies 0 packages
| Packages resolved | 0 |
|---|---|
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
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 →
access_l402_resource Fetch paid resource ~109
Fetch a URL, automatically paying any L402 challenge and retrying.
| Name | Type | Req | Description |
|---|---|---|---|
| body | string | – | Body for POST/PUT |
| confirmationNonce | string | – | Code the human reads off the server console (never returned to you). Omit to request one. |
| headers | string | – | Extra headers as a JSON object |
| maxSats | integer | – | Max sats to pay |
| method | string | – | HTTP method |
| url | string | yes | The URL to fetch |
No output schema declared.
No examples provided.
agent_services Agent services ~376
Agent Service Agreements over Nostr: discover, request, settle, publish and review agent services. Requires LIGHTNING_ENABLE_API_KEY.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | discover: search listings. request: ask for a service. settle: PAY the agreement L402 endpoint. publish: list your service. unpublish: remove it. attest: review a finished agreement. reputation: read… |
| agreementId | string | – | settle/attest: agreement id |
| body | string | – | settle: request body |
| budgetSats | integer | – | request: max sats |
| capabilityEventId | string | – | request: capability id |
| categories | array | – | publish: categories |
| category | string | – | discover: category |
| content | string | – | publish/attest: text |
| hashtags | array | – | discover/publish: hashtags |
| l402Endpoint | string | – | settle/publish: L402 endpoint |
| limit | integer | – | discover/reputation: max results |
| maxSats | integer | – | settle: max sats |
| method | string | – | settle: HTTP method |
| parameters | string | – | request: extra params, JSON string |
| priceSats | integer | – | publish: price per request |
| proof | string | – | attest: preimage hash |
| pubkey | string | – | reputation: agent pubkey |
| query | string | – | discover: keyword |
| rating | integer | – | attest: 1-5 |
| reason | string | – | unpublish: reason |
| serviceId | string | – | publish/unpublish: listing d-tag |
| subjectPubkey | string | – | attest: reviewed agent |
| targetUrl | string | – | publish: API URL to wrap in a proxy |
No output schema declared.
No examples provided.
budget 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.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | status: read limits, tiers and session spend. tighten: lower the runtime sats caps. |
| perRequest | integer | – | tighten: max sats per request |
| perSession | integer | – | tighten: max sats per session |
No output schema declared.
No examples provided.
check_invoice_status Invoice status ~33
Check whether an invoice from create_invoice has been paid.
| Name | Type | Req | Description |
|---|---|---|---|
| invoiceId | string | yes | Invoice ID from create_invoice |
No output schema declared.
No examples provided.
create_invoice Create invoice ~55
Create a BOLT11 Lightning invoice to receive a payment.
| Name | Type | Req | Description |
|---|---|---|---|
| amountSats | integer | yes | Satoshis to receive |
| expirySecs | integer | – | Expiry in seconds |
| memo | string | – | Invoice memo |
No output schema declared.
No examples provided.
create_lightning_enable_account 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.
| Name | Type | Req | Description |
|---|---|---|---|
| confirmationNonce | string | – | Code the human reads off the server console (never returned to you). Omit to request one. |
| string | yes | Email to register | |
| maxSats | integer | – | Max sats for the ~100-sat fee |
No output schema declared.
No examples provided.
discover_api Discover L402 APIs ~99
Discover L402 APIs: search the registry with query/category, or fetch one API manifest with url.
| Name | Type | Req | Description |
|---|---|---|---|
| budgetAware | boolean | – | Annotate endpoints with affordable call counts |
| category | string | – | Registry category filter, e.g. ai |
| query | string | – | Registry keyword search, e.g. weather |
| url | string | – | Base URL of an L402 API, or a manifest URL. Omit to search the registry. |
No output schema declared.
No examples provided.
get_balance Wallet balance ~29
Get the connected wallet 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 L402 producer ~461
Sell access with L402: set up the seller account, monetize an API, mint challenges and verify payer tokens. Requires LIGHTNING_ENABLE_API_KEY.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | create: 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… |
| categories | array | – | publish: registry categories |
| challengeStatus | string | – | list_challenges: paid, unpaid or expired; omit for all |
| defaultPriceSats | integer | – | create_proxy: default price per request |
| description | string | – | create: invoice text; create_proxy: what the API does |
| endpointId | string | – | add_endpoint: stable id for the route |
| httpMethod | string | – | add_endpoint: GET, POST, ... (default GET) |
| limit | integer | – | status/list_challenges: max rows |
| macaroon | string | – | verify: base64 macaroon |
| name | string | – | create_proxy: service name |
| nwcConnectionString | string | – | configure_receive: nostr+walletconnect:// string; omit to reuse this server's own NWC wallet |
| offset | integer | – | list_challenges: rows to skip |
| path | string | – | add_endpoint: route path like /forecast |
| preimage | string | – | verify: hex preimage |
| priceSats | integer | – | create/add_endpoint: price in sats |
| proxyId | string | – | add_endpoint/publish: id from create_proxy |
| resource | string | – | create: URL or name you are charging for |
| serviceDescription | string | – | publish: registry description |
| serviceName | string | – | publish: rename the listed service |
| summary | string | – | add_endpoint: one-line summary |
| targetBaseUrl | string | – | create_proxy: https:// base URL to monetize |
No output schema declared.
No examples provided.
pay_invoice Pay Lightning invoice ~64
Pay a BOLT11 Lightning invoice directly and get the preimage as proof.
| Name | Type | Req | Description |
|---|---|---|---|
| confirmationNonce | string | – | Code the human reads off the server console (never returned to you). Omit to request one. |
| invoice | string | yes | BOLT11 invoice to pay |
No output schema declared.
No examples provided.
pay_l402_challenge Pay L402 challenge ~152
Pay an L402 or MPP invoice yourself and get the authorization token. Omit macaroon for MPP; pass challengeHeader for a draft-00 Payment challenge.
| Name | Type | Req | Description |
|---|---|---|---|
| challengeHeader | string | – | Raw WWW-Authenticate value of a Payment-scheme challenge; draft-00 yields a single-use credential. |
| confirmationNonce | string | – | Code the human reads off the server console (never returned to you). Omit to request one. |
| invoice | string | – | BOLT11 invoice. Optional if challengeHeader carries one. |
| macaroon | string | – | Base64 macaroon from the challenge. Omit for MPP. |
| maxSats | integer | – | Max sats to pay |
No output schema declared.
No examples provided.
receipts Payment receipts ~84
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.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer|null | – | Max entries (durable clamps to 1-200) |
| source | string | yes | durable: the append-only log at ~/.lightning-enable/receipts.jsonl. session: payments since startup. |
No output schema declared.
No examples provided.
setup_wallet Set up 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.
| Name | Type | Req | Description |
|---|---|---|---|
| nwcConnectionString | string | – | NWC connection string (nostr+walletconnect://...). Omit to just report. |
No output schema declared.
No examples provided.
test_l402_payment Wallet self-test ~77
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 confirmationNonce.
| Name | Type | Req | Description |
|---|---|---|---|
| confirmationNonce | string | – | 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 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 confirmationNonce.
| Name | Type | Req | Description |
|---|---|---|---|
| nonce | string | yes | The 6-character code from the payment request |
No output schema declared.
No examples provided.
wallet_ops Wallet operations ~177
Wallet operations beyond invoices: BTC price, currency exchange, on-chain sends. Strike only (send_onchain also works on LND).
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | price: BTC/USD. exchange: convert currency in your wallet. send_onchain: irreversible - ALWAYS needs confirmationNonce, so the first call only prints a code to the console. |
| address | string | – | send_onchain: destination address |
| amount | number | – | exchange: amount to convert |
| amountSats | integer | – | send_onchain: satoshis to send |
| confirmationNonce | string | – | Code the human reads off the server console (never returned to you). Omit to request one. |
| sourceCurrency | string | – | exchange: from, USD or BTC |
| targetCurrency | string | – | exchange: to, BTC or USD |
No output schema declared.
No examples provided.
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 NuGet package (LightningEnable.Mcp).
Is the Lightning Enable MCP Server server safe to use?
Lightning Enable MCP Server scores 76 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 20 September 2026. It declares no install or post-install scripts. 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 16 tools: create_invoice, create_lightning_enable_account, check_invoice_status, budget, test_l402_payment, and 11 more. Their descriptions and schemas cost roughly 2,035 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 20 September 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.