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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/refined-element/lightning-enable-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server