AI agent Lightning payments: pay invoices, L402 auto-pay, API discovery, budgets
Use this profile to copy client config, check auth requirements, review tools and resources, and compare related MCP servers before adding it to an AI client.
{
"STRIKE_API_KEY": "YOUR_SECRET_VALUE",
"NWC_CONNECTION_STRING": "YOUR_SECRET_VALUE",
"LND_REST_HOST": "YOUR_VALUE_HERE",
"LND_MACAROON_HEX": "YOUR_SECRET_VALUE",
"OPENNODE_API_KEY": "YOUR_SECRET_VALUE",
"OPENNODE_ENVIRONMENT": "production",
"L402_MAX_SATS_PER_REQUEST": "1000",
"L402_MAX_SATS_PER_SESSION": "10000"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-refined-element-lightning-enable-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-io-github-refined-element-lightning-enable-mcp"
],
"env": {
"STRIKE_API_KEY": "YOUR_SECRET_VALUE",
"NWC_CONNECTION_STRING": "YOUR_SECRET_VALUE",
"LND_REST_HOST": "YOUR_VALUE_HERE",
"LND_MACAROON_HEX": "YOUR_SECRET_VALUE",
"OPENNODE_API_KEY": "YOUR_SECRET_VALUE",
"OPENNODE_ENVIRONMENT": "production",
"L402_MAX_SATS_PER_REQUEST": "1000",
"L402_MAX_SATS_PER_SESSION": "10000"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
Lightning Enable MCP Server is an MCP server for AI agent Lightning payments: pay invoices, L402 auto-pay, API discovery, budgets. It supports STDIO transport.
Use the client-specific config in Install and add it to your MCP-compatible client.
Choose the Claude Desktop tab in Install and copy the config into Claude Desktop's MCP server settings.
Choose the Claude Code tab in Install and copy the config into Claude Code's MCP server settings.
Choose the Codex tab in Install and copy the config into Codex's MCP server settings.
Choose the Cursor or VS Code tab in Install and copy the config into Cursor or VS Code's MCP server settings.
Lightning Enable MCP Server uses STDIO transport. Use the package or command config in Install.
Lightning Enable MCP Server inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
Lightning Enable MCP Server does not advertise a verified auth requirement. If discovery fails, it may still need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
LightningEnable.Mcpstdio | nuget | 1.9.0 | Env: STRIKE_API_KEY secret Env: NWC_CONNECTION_STRING secret Env: LND_REST_HOST Env: LND_MACAROON_HEX secret Env: OPENNODE_API_KEY secret Env: OPENNODE_ENVIRONMENT Env: L402_MAX_SATS_PER_REQUEST Env: L402_MAX_SATS_PER_SESSION |
lightning-enable-mcpstdio | pypi | 1.9.0 | Env: STRIKE_API_KEY secret Env: NWC_CONNECTION_STRING secret Env: LND_REST_HOST Env: LND_MACAROON_HEX secret Env: OPENNODE_API_KEY secret Env: L402_MAX_SATS_PER_REQUEST Env: L402_MAX_SATS_PER_SESSION |
docker.io/refinedelement/lightning-enable-mcp:1.9.0stdio | oci | Not captured | Env: STRIKE_API_KEY secret Env: NWC_CONNECTION_STRING secret Env: LND_REST_HOST Env: LND_MACAROON_HEX secret Env: OPENNODE_API_KEY secret Env: L402_MAX_SATS_PER_REQUEST Env: L402_MAX_SATS_PER_SESSION |