authority_register_operator
Provision an operator in the Authority ledger.
Creates a ledger entry so the operator can purchase credits and certify purchase orders. Idempotent — safe to call again.
Requires TWO independent identity proofs:
proof— Schnorr proof signed by the candidate operator'snpub. Proves the requester really controls that npub. The operator typically callsrequest_npub_proof/receive_npub_proofagainst this Authority first to mint a cached dpop_token.authority_proof— Schnorr proof signed by the Authority's own npub. This is the Authority's human consent — only an agent with the Authority's nsec on hand can produce it. Apps generate this inline when the human admin clicks 'adopt'; otherwise an Authority-side proof can be minted the same way an operator-side one is.
Next step: Call purchase_credits to fund your credit balance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | Your Nostr npub (bech32). Get one from the dpyc-oracle's how_to_join() tool. | |
| dpop_token | No | ||
| service_url | No | Your MCP endpoint URL (e.g. 'https://my-service.fastmcp.app/mcp'). | |
| display_name | No | Human-readable name for the Operator service, shown in the community roster (e.g. 'my-service'). If empty, the roster falls back to a truncated npub. | |
| authority_proof | No | Identity proof signed by the Authority's OWN npub — the Authority's discretionary consent to adopt this Operator. Apps with the Authority's nsec in their keystore (e.g. the Pricing Studio) produce this proof automatically when the user clicks 'adopt'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||