Add Bitcoin Lightning payments to APIs and let agents automatically pay L402-protected endpoints.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
The install command below didn't complete successfully in our automated test.
npx l402-kit-mcpnpm ERR! could not determine executable to run npm ERR! A complete log of this run can be found in: /home/user/.npm/_logs/2026-08-09T15_35_57_369Z-debug-0.log
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 1mo ago.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by L402 Kit.
Add Bitcoin Lightning pay-per-call to any API. 3 lines of code.
▶ Watch end-to-end demo — install → 402 → pay → 200 OK
| SDK | Version | Downloads |
|---|---|---|
| 📦 TypeScript · npmjs.com/package/l402-kit | ||
| 🐍 Python · pypi.org/project/l402kit | ||
| 🦀 Rust · crates.io/crates/l402kit | ||
| 🔌 VS Code Extension · marketplace | ||
| 🦫 Go · pkg.go.dev |
🇺🇸 Charge for your API in Bitcoin Lightning. 3 lines of code. 🇧🇷 Monetize sua API com Bitcoin Lightning. 3 linhas de código. 🇪🇸 Monetiza tu API con Bitcoin Lightning. 3 líneas de código. 🇨🇳 用 3 行代码,通过比特币闪电网络收费。 🇮🇳 अपने API को Bitcoin Lightning से 3 लाइनों में मोनेटाइज़ करें। 🇸🇦 اكسب من API الخاص بك عبر Bitcoin Lightning. 3 أسطر فقط. 🇫🇷 Monétisez votre API en Bitcoin Lightning. 3 lignes de code. 🇩🇪 Monetarisiere deine API mit Bitcoin Lightning. 3 Zeilen Code. 🇷🇺 Монетизируй свой API через Bitcoin Lightning. 3 строки кода. 🇯🇵 Bitcoin LightningでAPIを3行で収益化。 🇮🇹 Monetizza la tua API con Bitcoin Lightning. 3 righe di codice.
📖 Official docs: 🇺🇸 · 🇧🇷 · 🇪🇸 · 🇨🇳 · 🇮🇳 · 🇸🇦 · 🇫🇷 · 🇩🇪 · 🇷🇺 · 🇯🇵 · 🇮🇹
AI Agents / LLMs: See
llms.txtfor machine-readable instructions. Agent discovery:/.well-known/agent.json·/.well-known/l402.json
l402-kit is the payment layer for autonomous agents. Agents can pay for APIs without human intervention.
System prompt snippet — add this to any agent to enable L402 payments:
Agent SDK quickstart:
MCP Server (for Claude Desktop, Cursor, and any MCP-compatible agent):
Compatible with: LangChain · OpenAI Agents · CrewAI · Vercel AI SDK · AutoGPT · Any MCP client
Protocol support: L402 (Bitcoin Lightning) · x402 (USDC/Coinbase) compatible
| Stripe | l402-kit | |
|---|---|---|
| Minimum fee | $0.30 | < 1 sat (~$0.001) |
| Settlement time | 2–7 days | < 1 second |
| Chargebacks | Yes | Impossible — cryptographic proof |
| Requires account | Yes | No — any Lightning wallet |
| AI agent support | No | Yes — 4 SDKs, native |
| Countries blocked | ~50 | 0 — global by default |
| Reversible | Yes | No — final on receipt |
| Open source | No | Yes — MIT |
Bring your own node — implement the LightningProvider interface in 5 lines:
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/shinydapps-l402-kit)<a href="https://allmcps.com/mcp/shinydapps-l402-kit"><img src="https://allmcps.com/api/badge/shinydapps-l402-kit?style=directory" alt="L402 Kit on AllMCPs" /></a>