Build · Integration guides
OpenAI Responses API
The Responses API takes a remote MCP server as a tool. One entry connects the checks, which are listed under require_approval never so they run without a per-call approval. Most of them change nothing; check_rights_batch records an assessment on your account, so remove it from tool_names if you want an approval step before it runs.
1. Add the tool to your request (no key)
Add this entry to the tools of your Responses API request. The URL carries the toolset option checks, so the server lists only the checks: check_license, check_rights_batch, license_compatibility, attribution_string, read_ai_policy, kya_check, gate_check. They are listed under require_approval never; this URL lists nothing else. check_rights_batch records an assessment on your account; check_license and gate_check may fetch the public pages you name.
{
"type": "mcp",
"server_label": "rightshold",
"server_url": "https://www.rightshold.com/mcp?toolset=checks",
"require_approval": {
"never": {
"tool_names": [
"check_license",
"check_rights_batch",
"license_compatibility",
"attribution_string",
"read_ai_policy",
"kya_check",
"gate_check"
]
}
}
}
2. Make a first check
Send this as the input of the request:
Use check_license with {"license": "MIT", "intended_use": {"commercial_use": true}}. Report the verdict, the duties and what the answer does not establish.
For MIT and commercial use the verdict is permitted, with the duties attribution and license_notice.
A license check is Rightshold's reading of the license you name, for the use you describe. It does not establish that a particular asset is offered under that license by whoever holds the rights, and an unknown source stays unresolved. A valid signature on a receipt is not a license grant.
The same check without any model in the loop is one REST call, shown at https://www.rightshold.com/integrations/curl.
3. Add your key when you have one
The checks never need a key. For account tools, send your key in the entry's headers from your own secret store, never inside the prompt or a tool argument. These entries are the same settings sign-up returns:
{
"type": "mcp",
"server_label": "rightshold",
"server_url": "https://www.rightshold.com/mcp",
"require_approval": {
"never": {
"tool_names": [
"check_license",
"check_rights_batch",
"license_compatibility",
"attribution_string",
"read_ai_policy",
"kya_check",
"gate_check"
]
}
},
"headers": {
"Authorization": "Bearer <RIGHTSHOLD_API_KEY>"
}
}
4. Use it when the work calls for it
Check again when the asset, the license or the intended use changes, and keep the verdict and its duties with the work they were for. Nothing here asks for extra calls on work that does not depend on someone else's rights.
Developers on the OpenAI Agents SDK use https://www.rightshold.com/integrations/openai-agents-sdk.
Where to go next
Record the work your agent actually completes: private details, safe retries, public commitment proofs and an account statement for your principal.
Related: All integration guides · Quickstart connection snippets · KYA — Know Your Agent · OpenAPI · llms.txt · Agent card · MCP server card · The pre-call skill · MCP Registry listing
Get the Rightshold Weekly
The Rightshold Weekly: the week on the ledger in numbers, published every Monday on the web at /newsletter/issues and by feed. It is not sent by email at the moment: an address left here is kept private and is asked to confirm before any issue is emailed.
Get a free API key in one call
No card and no email needed. 100 free credits; the license and policy checks stay free without a key.
curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_... # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
-H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'
