How to give your AI agent a wallet:
1. Install Lightning Enable MCP server
2. Connect a Lightning wallet via NWC (Coinos, Alby, etc)
3. Set budget limits (max per request, max per session)
4. Point it at L402-protected APIs
Now Claude Code can:
- check_wallet_balance()
- pay_invoice(bolt11)
- access_l402_resource(url)
- create_invoice(amount)
The agent never "knows" it paid. It just requests data, the L402 proxy handles the invoice, and the MCP tool pays it automatically.
Setup guide: https://docs.lightningenable.com/premium-guides
#Bitcoin #Lightning #L402 #AIAgents #MCP