onyx_usage_rights
InactiveTool of onyx-paid-mcp
Mint a signed Output Usage-Rights Envelope for an agent-produced artifact: a portable, Ed25519-signed declaration of what the buyer may do with it (resale, redistribution, derivatives, model training, cache TTL). Bind it to the artifact by hash and optionally to an x402 payment. Verify free with onyx_attestation_verify. Rights travel with the data — any downstream holder can check the terms offline. (price: $0.01 USDC, tier: metered)
Parameters schema
{
"type": "object",
"required": [
"rights",
"licensor"
],
"properties": {
"output": {
"description": "Or: the artifact itself (object or string); it is hashed with sha256 over its JCS-canonical form"
},
"rights": {
"type": "object",
"description": "Rights grid. Keys: resale, redistribute, derivatives, retrain — each 'allow' | 'deny' | 'with-attribution' | 'contact-licensor'. Plus optional cache_ttl_seconds (int)."
},
"licensee": {
"type": "string",
"description": "Optional: who the rights are granted to (wallet/agent id); omit for bearer terms"
},
"licensor": {
"type": "string",
"description": "Issuer of the rights (name, domain, or wallet)"
},
"expires_at": {
"type": "integer",
"description": "Optional: unix time the grant lapses"
},
"output_hash": {
"type": "string",
"description": "sha256:<hex> of the artifact the rights apply to"
},
"payment_ref": {
"type": "string",
"description": "Optional: x402 tx hash / receipt id binding rights to the purchase"
}
}
}Parent server
onyx-paid-mcp
https://github.com/dimitrilaouanis-tech/onyx-mcp
2/7 registries