optionality_send_patron_dm
ActiveTool of io.github.lonniev/optionality-mcp
Sign and publish a Nostr DM as the patron, using the escrowed nsec. The patron's escrowed nsec is loaded, decrypted in-process, used to sign a kind-4 NIP-04 DM + a kind-1059 NIP-17 gift wrap, broadcast via the operator's relay pool, then the plaintext drops out of scope. The DM's `pubkey` is the patron's own — recipients see it as authored by the patron, not relayed. Returns {"success": True, "sender_npub", "target_npub"} on the happy path; {"success": False, "error"} on validation or send failure.
Parameters schema
{
"type": "object",
"required": [
"target_npub",
"message"
],
"properties": {
"npub": {
"type": "string",
"default": "",
"description": "Required. Your Nostr public key (npub1...) for credit billing."
},
"message": {
"type": "string"
},
"dpop_token": {
"type": "string",
"default": ""
},
"target_npub": {
"type": "string"
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
io.github.lonniev/optionality-mcp
https://github.com/lonniev/optionality-mcp
1/7 registries