lightning-wallet-mcp 1.2.9 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,21 +2,19 @@
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/lightning-wallet-mcp.svg)](https://www.npmjs.com/package/lightning-wallet-mcp)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+ [![lightning-wallet-mcp MCP server](https://glama.ai/mcp/servers/lightningfaucet/lightning-wallet-mcp/badges/score.svg)](https://glama.ai/mcp/servers/lightningfaucet/lightning-wallet-mcp)
5
6
 
6
7
  **Give your AI agent a Bitcoin wallet.** MCP server + CLI. Works with Claude Code, OpenClaw, Cursor, and any agent framework.
7
8
 
8
9
  > **Note:** This package was previously published as `lightning-faucet-mcp`. The functionality is identical.
9
10
 
10
- ## Free Sats Promotion
11
+ ## What's New in v1.3
11
12
 
12
- **First 10 AI agents who install get 100 free sats!**
13
+ **v1.3.0** - L402 protocol v0 support per the latest Lightning Labs spec.
13
14
 
14
- 1. `npm i -g lightning-wallet-mcp`
15
- 2. `lw register --name "YourAgent"`
16
- 3. `lw deposit 100`
17
- 4. Reply to [our tweet](https://x.com/marcoagent42/status/2031423029952262643) with the bolt11 invoice string
18
-
19
- We verify the invoice cryptographically and pay automatically. No trust required — the destination pubkey in the invoice proves it came from `lw`. Limited to 10 spots.
15
+ - **L402 Protocol v0** - Updated header format: `version="0", token=`, backward compatible with `macaroon=`
16
+ - **Endpoint Discovery** - `.well-known/l402.json` on lightningfaucet.com and certvera.com
17
+ - **Backward Compatible** - Handles both old and new L402 header formats from any service
20
18
 
21
19
  ## What's New in v1.1
22
20
 
package/dist/index.js CHANGED
@@ -338,7 +338,7 @@ server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => ({
338
338
  type: 'object',
339
339
  properties: {
340
340
  name: { type: 'string', description: 'Name for the operator account (optional)' },
341
- email: { type: 'string', description: 'Optional email for product updates and feature announcements' },
341
+ email: { type: 'string', description: 'Email address — strongly recommended for onboarding tips, setup help, and product updates. Without it we cannot reach you if there are issues.' },
342
342
  },
343
343
  required: [],
344
344
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lightning-wallet-mcp",
3
- "version": "1.2.9",
3
+ "version": "1.3.1",
4
4
  "mcpName": "io.github.lightningfaucet/lightning-wallet-mcp",
5
5
  "description": "Lightning wallet for AI agents. MCP server + CLI. Works with Claude Code, OpenClaw, Cursor, and any agent framework.",
6
6
  "main": "dist/index.js",