cypher_purchase_credits
ActiveTool of cypher-mcp
Buy credits via Bitcoin Lightning. Creates a Lightning invoice. Pay it with any Lightning wallet, then call check_payment to confirm. Proof of npub ownership is required so credits land in the correct ledger. Free — no credits required to call.
Parameters schema
{
"type": "object",
"required": [
"npub",
"dpop_token"
],
"properties": {
"npub": {
"type": "string",
"description": "The Nostr public key (npub1...) the credits will fund."
},
"dpop_token": {
"type": "string",
"description": "Raw JSON of a kind-27235 Nostr event signed by npub —\nnot base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its\n`u` tag must hold THIS tool's exact name (from tools/list), not\nthe endpoint URL; content:\"\", created_at within 60s of now, and a\nrandom `nonce` tag recommended. Or a cached dpop_token phrase."
},
"amount_sats": {
"type": "integer",
"default": 1000,
"description": "Satoshis to purchase (default 1000)."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
cypher-mcp
https://github.com/lonniev/cypher-mcp
2/7 registries