You're viewing a demo portfolio

Join the waitlist
PRSM

cypher_receive_npub_proof

Active

Tool of cypher-mcp

declared in 3.4.2

Receive npub ownership confirmation from a patron. Completes the npub-OWNERSHIP-PROOF flow (the credential-delivery counterpart is ``receive_credentials``). **Call this only after the user confirms they have replied.** Deterministic, one-shot retrieval: name the response with ``(patron_npub, dpop_token)`` — the ``dpop_token`` being the value returned by ``request_npub_proof``. The tool drains ONLY the pinned rendezvous relay that challenge was published on, stopping at the DM whose phrase matches. Mismatched DMs are deleted and NACK'd (without revealing the expected phrase). If called before the user replies, their message will never be found. Do NOT poll, loop, or retry. The signed DM itself proves npub ownership (the patron's nsec signed it). On success, returns the ``dpop_token`` — the same token. The calling application MUST remember it and pass it as the ``dpop_token`` parameter on every subsequent paid tool call. The proof (a hash of the token) is stored in the vault keyed by that hash — the MCP never stores the raw token itself. Free.

Parameters schema

{
  "type": "object",
  "properties": {
    "dpop_token": {
      "type": "string",
      "default": "",
      "description": "Required. The dpop_token returned by request_npub_proof."
    },
    "patron_npub": {
      "type": "string",
      "default": "",
      "description": "Required. The patron's npub to receive proof from."
    }
  },
  "additionalProperties": false
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

cypher-mcp

https://github.com/lonniev/cypher-mcp

2/7 registries
View full server →