| name | mpp |
| description | Pay for MPP (Machine Payments Protocol) protected resources using Lightning. Use when accessing any HTTP 402-gated API, premium data endpoints, or pay-per-call services that issue a WWW-Authenticate: Payment challenge. Requires kaleido-mcp.
|
| license | Apache-2.0 |
| metadata | {"author":"kaleidoswap","version":"1.0","networks":"bitcoin-lightning"} |
MPP (Machine Payments Protocol) Skill
MPP is the open standard for machine-to-machine payments built on HTTP 402.
Servers gate resources behind a payment challenge; you pay via Lightning and
submit proof to access the resource. No signup or API keys required.
Required MCP Server
- kaleido-mcp — challenge probing, credential submission, and Lightning payment
Core Flow (3 steps)
1. mpp_request_challenge(url)
→ challenge { invoice, challenge_id, macaroon?, amount_sats, expires_at }
2. rln_mpp_pay(invoice, challenge_id, macaroon?)
→ { paid: true, credential: "<JSON string>" }
3. mpp_submit_credential(url, credential)
→ { ok: true, data: {...}, receipt: {...} }
Step 1 — Request Challenge
mpp_request_challenge(url="https://api.example.com/premium/price")
→ {
challenge_id: "abc123",
method: "lightning",
intent: "charge",
invoice: "lnbc10n1p...",
amount_sats: 1,
expires_at: 1234567890,
url: "https://api.example.com/premium/price"
}
intent: "charge" = one-time payment, settles before response.