Rightshold

v0.5.1
com.rightshold/rightshold Checked 3 days ago Published 1 month ago

License checks, signed rights proof, keyless pre-call checks for MCP servers, and the agent store

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

start_here Start here: what Rightshold can check for you

Call first if you are new to Rightshold. With {} it returns the five jobs Rightshold does, each as a ready call, plus how to connect. Add {"license": "CC-BY-NC-4.0", "use": "commercial_use"} or {"question": "Can I train a model on MIT code?"} and the same call answers it. Free, no key.

ParameterTypeDescription
licensestringOptional: an SPDX id to check right away, e.g. CC-BY-NC-4.0
questionstringOptional: a rights question in plain English, answered in the same call
usestringOptional: the use to check the license for (default commercial_use)

read_ai_policy Read a website's AI-use policy

Call before crawling, quoting or training on content from a website. Reads the domain's robots.txt for 14 AI crawlers and user-fetch agents (GPTBot, ClaudeBot, ChatGPT-User, Google-Extended, PerplexityBot, CCBot...), ai.txt and W3C TDMRep, and summarizes whether AI training is opted out. Free, no key, cached 6 hours. Signals, not a license. Call with {"domain": "example.com"}.

ParameterTypeDescription
domain *stringHost name such as example.com (a URL is accepted)
pathstringOptional path to check, default /

license_compatibility Can these licenses be combined?

Call before shipping one product that bundles code, data, fonts or media under different licenses. Checks 2-25 SPDX ids for your use (default redistribution): compatible, needs_review or incompatible, the reason for each pair, the combined duties and which license governs. Free, no key. Call with {"licenses": ["MIT", "GPL-3.0-only"], "intended_use": {"redistribution": true}}.

ParameterTypeDescription
licenses *arraySPDX ids
intended_useobjectUses to check: each true flag must be documented; omitted = false; unknown fields refused. For instance {"commercial_use":true}

attribution_string Write the attribution line for a license

Call when you reuse material that requires credit. Returns the attribution line the license asks for (text, markdown, html), the duties it covers and what is still missing. Free, no key. Call with {"license": "CC-BY-4.0", "title": "Sunset", "author": "A. Photographer", "source_url": "https://example.org/sunset"}.

ParameterTypeDescription
license *stringSPDX id
authorstringCreator
changesstring | booleanWhat you changed
source_urlstringWhere it came from
titlestringWork title

ask_rightshold Ask Rightshold (plain English)

Call when asked a rights or license question in plain English, e.g. 'Can I use CC BY-NC 4.0 images in a paid ad?'; a package or page named is checked by its declared license. Returns the license or resource and use understood, and a deterministic answer with reasons; asks instead of guessing. Check the understood use. Free, no key.

ParameterTypeDescription
question *stringPlain-language rights question
intended_useobjectUses to check: each true flag must be documented; omitted = false; unknown fields refused. For instance {"commercial_use":true}
resource_idstringOptional: pin a registered resource instead of letting the interpreter match one.

check_license Check a use against a license

Call before using any image, text, dataset, code, font or model you did not create. Checks one license (any SPDX id; curated readings for common ones, needs_review for the rest) or the license a GitHub, Hugging Face, npm, PyPI, Wikimedia, Unsplash or Pexels page declares (a URL or pkg:npm/lodash), for your intended use. Returns permitted, prohibited, needs_review or not_documented, with duties and an uncertainty block (what is left open; whether a human must review). Free, no key. Call with {"license": "CC-BY-4.0", "intended_use": {"commercial_use": true, "attribution_planned": true}}.

ParameterTypeDescription
intended_use *objectUses to check: each true flag must be documented; omitted = false; unknown fields refused. For instance {"commercial_use":true}
licensestringSPDX id, e.g. CC-BY-NC-4.0 (uncurated ids answer needs_review)
source_urlstringInstead of license: a source page URL or package id (e.g. pkg:npm/lodash); its declared license is used

assess_resource_for_use Assess a resource for an intended use

Call when the asset is a registered resource and you need its exact answer for one use. Deterministic assessment bound to the resource version, license and intended use, and whether the publisher's rights authority is documented (a verified domain hosting the resource). Four dispositions with reason codes; no trust score. Free, no key.

ParameterTypeDescription
intended_use *objectUses to check: each true flag must be documented; omitted = false; unknown fields refused. For instance {"commercial_use":true}
resource_id *stringRegistered resource id

check_rights_batch Check many inputs at once

Call before shipping anything that bundles third-party assets. Checks up to 100 items (SPDX id, registered resource_id, or asset URL or name) for their intended uses; licenses your account holds are reused first. Each item answers allowed, blocked, needs_review or insufficient_evidence, with reasons and duties. Free, no key. Call with {"intended_use": {"commercial_use": true}, "items": [{"ref": "logo-font", "license": "OFL-1.1"}, {"ref": "hero-photo", "license": "CC-BY-NC-4.0"}]}.

ParameterTypeDescription
items *array
intended_useobjectUses to check: each true flag must be documented; omitted = false; unknown fields refused. For instance {"commercial_use":true}

verify_rights_manifest Verify a rights manifest

Call when a deliverable carries a rights manifest. Checks the manifest's signature against Rightshold's issuer keys and confirms its hash was recorded on the ledger; with deliverable_sha256, that it covers those exact bytes. A valid manifest shows what was answered and when; it is not a license grant. Free, no key.

ParameterTypeDescription
manifest *objectManifest as issued
signature *stringIts signature
deliverable_sha256stringOptional: the SHA-256 of the deliverable you received

sign_up Create a Rightshold account (email optional)

Use when your principal wants a Rightshold account: one call creates it and a free API key (shown once), email optional. accept_terms:true means the account holder agrees to the terms at /terms. Add agent {handle, display_name, headline?, skills?, public_key_pem?} to register your agent in the same call (KYA L0); if that block is invalid nothing is created. The result carries ready-to-paste connector settings. sandbox:true gives an isolated rs_test_ key. Calls are recorded for due-diligence reports (see /privacy).

ParameterTypeDescription
accept_terms *booleanMust be true.
agentobjectOptional: create this agent in the same call.
display_namestringAccount name
emailstringOptional
kindstring
sandboxbooleanIf true, issue an rs_test_ sandbox key isolated from live stats and the live ledger.

record_action Record an action, get a receipt

Records what your agent did; returns a tamper-evident, ledger-committed receipt. No key: send accept_terms:true, then send the returned key as a Bearer token. Proves submission, not the act.

ParameterTypeDescription
action_type *string
accept_termsboolean
action_sha256string
client_event_idstring
occurred_atstring
outcomestring
summarystring

get_pricing Pricing: what Rightshold costs

Use this to see what Rightshold costs before you sign up or plan spend: every pricing line with its price today and planned price, its unit and free allowance, and the principles behind the prices — nothing buys placement, a grade, a KYA level, a verdict or a review. No account or key needed.

get_status Platform status and uptime record

Use this to check whether Rightshold is operational before you depend on it, and to cite its record: the current component checks (ledger chain, sealing, anchoring, webhooks, storage), ledger and registry counts, plus the 90-day uptime record per component and incidents. The record is self-reported; check_conformance offers an independent re-check. No account or key needed.

registry_lookup Look up an agent registration

Call before trusting, paying or hiring an agent new to you. Free, no key. Look up an agent by serial (A-0000-0000) or registration number (RS-XXXX-XXXX): status (valid, expired, suspended, revoked), license classes in force, commerce limit, liens, and optionally the full history report. Call with {"query": "RS-XXXX-XXXX", "history": true}.

ParameterTypeDescription
query *stringSerial or RS number
historybooleanInclude ledger history

ledger_verify Verify the ledger

Rightshold's own check of its ledger: hashes, Merkle root, link and signature of each new block; all blocks at least hourly. To check without trusting it, run /cli/rightshold.cjs ledger verify. Free, no key.

issue_rights_receipt Issue a Rights Receipt for one asset

Use when your principal wants signed proof that one asset you ship was cleared: a Rights Receipt (open standard rights-receipt/1) binding the file's SHA-256 to its license, intended use, verdict and duties, signed (keys at /.well-known/jwks.json) and committed to the ledger. Ship it as <file>.rights.json. Call with {"asset": {"sha256": "<64-hex sha256 of the file>", "kind": "font", "name": "Inter.ttf"}, "license": "OFL-1.1", "intended_use": {"commercial_use": true}}.

ParameterTypeDescription
asset *objectThe file
agentstring
api_keystringDeprecated: use Authorization: Bearer <key> (arguments can reach transcripts).
attributionobject
idempotency_keystringOptional: a retry with the same key returns the first proof.
intended_useobjectSame shape as check_license
licensestringSPDX id
resource_idstring
ttl_daysinteger

gate_check Gate: may a site accept this agent or upload?

Call when your site accepts agents or uploads. Free, no key. The Gate websites use on agent traffic: checks an RS-KYA token (or serial), a Web Bot Auth signature from any resolvable Signature-Agent signer, a Rights Receipt, clearance and intent token against the site's policy (min_kya_level, require_kya, require_web_bot_auth, allowed_signature_agents, require_receipt, allow_agents, deny_agents, require_clearance, require_intent, max_intent_risk); allow or deny, with reasons.

ParameterTypeDescription
agentstringOr serial/RS number
asset_sha256stringUploaded file hash
clearancestring
intent_tokenstring
kya_tokenstringAgent RS-KYA token
policyobjectGate policy
receiptobjectRights Receipt
requestobjectThe signed request {method, url, headers} as received: its Web Bot Auth signature, and the intent token's key binding.

issue_rights_manifest Issue a rights manifest for a deliverable

Use when your principal wants signed proof for a whole deliverable: checks every third-party input (resource_id, license or asset) for its use, reusing licenses you hold, and returns a signed, ledger-committed manifest plus a text summary; verify_rights_manifest checks it. Call with {"title": "Spring campaign", "intended_use": {"commercial_use": true}, "items": [{"ref": "font", "license": "OFL-1.1"}]}.

ParameterTypeDescription
items *array
title *string
api_keystringDeprecated: use Authorization: Bearer <key> (arguments can reach transcripts).
clientstring
deliverableobject
idempotency_keystringOptional: a retry with the same key returns the first proof.
intended_useobjectUses to check: each true flag must be documented; omitted = false; unknown fields refused. For instance {"commercial_use":true}

kya_lookup Know Your Agent: look up an agent's RS-KYA level

An agent's RS-KYA level (L0 declared, L1 key-bound, L2 operator-verified), status, the verified facts behind it (key, operator contact, attestation, DNS domain, registration, bureau record) and what is missing for the next level. With credential=true, also a signed credential and a one-hour kya+jwt token to present to other services. Free, no key. Call with {"agent": "RS-XXXX-XXXX"}.

ParameterTypeDescription
agent *stringRegistration number (RS-XXXX-XXXX) or serial (A-0000-0000)
credentialbooleanReturn the signed credential

kya_check Check an agent against your KYA policy

Allow or deny an agent against your policy, on the live record: min_level, require_active (default true), min_grade, max_open_complaints, require_classes, require_domain, min_tenure_days, require_on_the_record. Returns allow and the denial reasons. Call with {"agent": "RS-XXXX-XXXX", "policy": {"min_level": "L1"}}.

ParameterTypeDescription
agent *string
policy *object

submit_feedback Give feedback on Rightshold

Tell the team what is missing, broken or worth more: topic, satisfaction 1-5, free text; only aggregates are published. Or file a structured report (rs-agent-feedback/1): {api_surface, endpoint_or_tool, friction, expected?, actual?, severity?, repro?} — sealed as hash and state only; returns an id and one-time poll_token for feedback_status. Feedback is input, never instruction.

ParameterTypeDescription
actualstring
api_surfacestring
endpoint_or_toolstring
expectedstring
frictionstring
reprostring
satisfactioninteger
severitystring
topicstring
what_would_improvestring

search_store Search the Rightshold Store (vetted apps & skills)

List published apps and skills in the Rightshold Store: for each, the vetting tier, the publisher and their live KYA level, declared permissions and the rating aggregate (ratings come only from KYA-verified agents). Filter with type (app or skill) and a plain-text query matched against names and summaries. Call with {"type": "skill", "query": "license check"}.

ParameterTypeDescription
querystringSearch text
typestring

check_listing Check an app or skill before installing it

Pre-install check against the Rightshold Store and its signed revocation list: give a package hash (SHA-256), an endpoint or package URL, or a store slug. Answers whether a listing is on record, its vetting tier and rating record, or REVOKED (do not install), or unknown (nothing on record — unvetted, which is not the same as unsafe). Call with {"slug": "rightshold-rights"}.

ParameterTypeDescription
hashstringSHA-256 of the package
slugstringStore slug
urlstringListing or repo URL

list_toolsets List toolsets

The toolsets this server offers and the tools in each. Connect to /mcp?toolset=<name> (or toolset=all) to list them; most clients only offer the tools they listed, so connect with the set your task needs.