Give AI agents a Bitcoin wallet with Lightning Network payments and L402 support.
Most payments and commerce work still happens through a UI a human drives. Lightning MCP server moves it into the conversation instead. Give AI agents a Bitcoin wallet with Lightning Network payments and L402 support.
lw register --email you@example.com (or the register_operator MCP tool with an email) 2. Click the verification link we email you 3. After your account is 3 hours old: lw claim-promo (or the claim_promo MCP tool)The server publishes 11 tools. What each one is for:
url — stringmethod — stringbody — stringmax_payment_sats — numberWebhooks — The Webhooks tool exposed by this serverget_info — The get_info tool exposed by this serverwhoami — The whoami tool exposed by this serverpay_l402_api — Access paid APIs with automatic payment. Supports both L402 (Lightning) and X402 (USDC on Base) protocols. Protocol is auto-detected from the 402keysend — The keysend tool exposed by this serverregister_webhook — The register_webhook tool exposed by this serverConfiguration — The Configuration tool exposed by this serverConfiguration is passed through the environment: LIGHTNING_WALLET_API_KEY, PRE_PAYMENT_HOOK_URL, AGENT_ID, AGENT_KEY, LIGHTNING_FAUCET_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
The server ships on npm as lightning-wallet-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
This sits in the payments and commerce group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Lightning's toolset — url, method, body and 8 more — is a fair guide to whether it matches your workflow. It is maintained by lightningfaucet; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| url | string |
| method | string |
| body | string |
| max_payment_sats | number |
| Webhooks | The Webhooks tool exposed by this server. |
| get_info | The get_info tool exposed by this server. |
| whoami | The whoami tool exposed by this server. |
| pay_l402_api | Access paid APIs with automatic payment. Supports both L402 (Lightning) and X402 (USDC on Base) protocols. Protocol is auto-detected from the 402 response headers. |
| keysend | The keysend tool exposed by this server. |
| register_webhook | The register_webhook tool exposed by this server. |
| Configuration | The Configuration tool exposed by this server. |
{
"mcpServers": {
"lightning-wallet": {
"command": "npx",
"args": ["lightning-wallet-mcp"]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| LIGHTNING_WALLET_API_KEY | Credential the server authenticates with. | Yes |
| PRE_PAYMENT_HOOK_URL | Endpoint or connection string the server talks to. | Yes |
| AGENT_ID | Configuration value read at startup. | Optional |
| AGENT_KEY | Credential the server authenticates with. | Yes |
| LIGHTNING_FAUCET_API_KEY | Credential the server authenticates with. | Yes |
Payments infrastructure meets AI — customers, invoices, subscriptions and current API docs from Stripe's server.
Build for Shopify with current APIs — the official Dev MCP server for schema-accurate storefront and admin code.
Give your AI assistant a supervised window into your Interactive Brokers account — balances, positions, live quotes and orders.
Invoices, payments and disputes through PayPal's official server — commerce operations by conversation.
Enables querying and listing Azure resources and costs directly from an MCP client.
Empowers LLMs with Bitcoin Lightning Network payment capabilities via the ZBD API.