Lightning Enable MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| STRIKE_API_KEY | Yes | API key for Strike wallet integration, used to enable Lightning payments and other wallet features. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| access_l402_resourceA | Fetch a URL with automatic L402 payment handling. If the server returns a 402 Payment Required response, the invoice will be automatically paid and the request retried. |
| pay_l402_challengeB | Manually pay an L402 or MPP invoice and receive the authorization token. Use this if you need to handle the L402/MPP flow yourself. Omit macaroon for MPP (Machine Payments Protocol) mode. |
| check_wallet_balanceB | Check the connected Lightning wallet balance via NWC. |
| get_payment_historyC | List recent L402 payments made during this session. |
| configure_budgetC | Set spending limits for the session. |
| pay_invoiceA | Pay a Lightning invoice directly and get the preimage as proof of payment. Use this to pay any BOLT11 Lightning invoice without L402 protocol overhead. |
| create_invoiceB | Create a Lightning invoice to receive a payment. Returns a BOLT11 invoice string to share with the payer. |
| check_invoice_statusB | Check if a Lightning invoice has been paid. Use the invoice ID from create_invoice. |
| get_all_balancesB | Get all currency balances from your wallet (USD, BTC, etc.). Most useful with Strike wallet which supports multiple currencies. |
| get_btc_priceA | Get the current Bitcoin price in USD. Only available with Strike wallet. |
| exchange_currencyB | Exchange currency within your wallet (USD to BTC or BTC to USD). Currently only available with Strike wallet. |
| send_onchainC | Send an on-chain Bitcoin payment to a Bitcoin address. Currently only available with Strike wallet. |
| get_budget_statusB | View current budget status and spending limits (read-only). Edit ~/.lightning-enable/config.json to change limits. |
| create_l402_challengeA | Create an L402 payment challenge to charge another agent or user for accessing a resource. Returns a Lightning invoice and macaroon. The payer must pay the invoice and present the L402 token (macaroon:preimage) back to you for verification. Requires LIGHTNING_ENABLE_API_KEY with an Agentic Commerce subscription. |
| verify_l402_paymentA | Verify an L402 token (macaroon + preimage) to confirm payment was made. Use this after receiving an L402 token from a payer to validate they paid before granting access to the resource. Requires LIGHTNING_ENABLE_API_KEY with an Agentic Commerce subscription. |
| confirm_paymentA | Confirm a pending payment using the nonce code from a previous payment request. Call this after a payment tool returns requiresConfirmation=true with a nonce. |
| discover_apiA | Discover L402-enabled APIs. Use 'query' to search the registry for available APIs by keyword, or use 'url' to fetch a specific API's manifest with full endpoint details and pricing. Use 'category' to browse by category. With budget_aware=true, shows how many calls you can afford. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 17 tools
Most tools have distinct purposes, such as access_l402_resource for automated payments, pay_invoice for direct payments, and create_l402_challenge for charging others. However, some overlap exists between check_invoice_status and verify_l402_payment, which both involve payment verification but target different contexts, potentially causing minor confusion.
Tool names consistently follow a verb_noun pattern with snake_case throughout, such as access_l402_resource, check_invoice_status, and configure_budget. This uniformity makes the set predictable and easy to understand, with no deviations in naming conventions.
With 17 tools, the count is slightly high but reasonable for the server's scope in Lightning payments and L402 protocol management. It covers various aspects like payments, invoices, budgets, and API discovery, though it might feel a bit heavy compared to more focused servers.
The tool set provides comprehensive coverage for Lightning and L402 operations, including creating and paying invoices, managing budgets, verifying payments, and handling on-chain transactions. No obvious gaps are present; it supports full workflows from payment initiation to confirmation and resource access.