Check Content Credentials from your AI agent with MCP
Connect Claude, Cursor or VS Code to the c2pa.design MCP server and ask in plain words: is this file signed, where was it lost, does this CDN keep it.
Par c2pa.design · Mis à jour le 2026-10-16 · 7 min de lecture
Article 50 comes up once below as context; the rest is engineering.
Connect in 30 seconds
Server URL: https://api.c2pa.design/mcp (Streamable HTTP, no key needed to try it).
Claude Code, hosted server:
claude mcp add --transport http c2pa https://api.c2pa.design/mcp
Claude Code, local server that reads files on disk (needs Node.js; nothing to install first,
npx downloads it):
claude mcp add c2pa-check -- npx -y c2pa-check@latest mcp
Prefer a global install? npm install -g c2pa-check, then use c2pa-check mcp as the command.
Claude Desktop, ChatGPT, Cursor, VS Code: add a custom MCP server or connector with the URL above. Config files for each client are below.
Then ask: "Check https://example.com/hero.jpg for Content Credentials."
Someone on your team asks whether the hero image on the launch page still carries its Content Credential, and the answer takes twenty minutes: download the file, find a verifier, upload it, read a JSON tree, then ask the same about the CDN version. Multiply that by every asset, every release and every vendor question, and provenance becomes the job nobody does.
Your agent already reads code, opens URLs and writes fixes. Give it one tool that reads Content Credentials and the question takes one sentence.
The c2pa.design MCP server is that tool. MCP, the Model Context Protocol, is the standard way an agent calls an outside service; Claude, Cursor, VS Code, ChatGPT and most other agents speak it.
Two servers, pick by where the file is
| Remote | Local | |
|---|---|---|
| Address | https://api.c2pa.design/mcp |
npx -y c2pa-check@latest mcp |
| Reads | public URLs | files on disk and public URLs |
| Account | optional; an API key unlocks check_pipeline |
none |
| Where the bytes go | our engine fetches the URL | stay on your machine |
| Tools | verify_url, inspect_manifest, check_pipeline, ecosystem_lookup, trust_status |
verify_file, verify_url, trust_status |
Without a key the remote server answers 20 tool calls per hour per IP, enough to try every use case below before anyone signs up.
Connect it in one line
| Client | Setup |
|---|---|
| Claude Code, remote | claude mcp add --transport http c2pa https://api.c2pa.design/mcp |
| Claude Code, with a key | add --header "Authorization: Bearer $C2PA_API_KEY" to the line above |
| Claude Code, local | claude mcp add c2pa-check -- npx -y c2pa-check@latest mcp |
| Claude Desktop, ChatGPT | a custom connector with the URL https://api.c2pa.design/mcp (runs without a key) |
| Cursor, VS Code, others | URL https://api.c2pa.design/mcp, transport Streamable HTTP, optional Authorization: Bearer <key> |
For a team, commit .mcp.json at the repository root. Claude Code fills ${C2PA_API_KEY} from
each person's environment, so the key never lands in git:
{
"mcpServers": {
"c2pa": {
"type": "http",
"url": "https://api.c2pa.design/mcp",
"headers": { "Authorization": "Bearer ${C2PA_API_KEY}" }
}
}
}
Use case 1: is this file signed?
The everyday question, from marketing, support or legal.
Check https://cdn.example.com/hero.jpg for Content Credentials. Tell me the status, who signed it, and which trust list version you used.
The agent calls verify_url and answers from credential.status:
{
"result": {
"engine": { "trust_list_version": "2026-10-01-a1b2c3d4e5f6" },
"credential": { "status": "valid_trusted" },
"signer": { "name": "OpenAI" },
"source": { "category": "ai-generated" }
}
}
A good answer: "The image carries a valid Content Credential signed by OpenAI, whose certificate is on the C2PA trust list. The credential declares the image was generated by an AI model."
If the status is absent, the right answer is "no Content Credential was found", and nothing
more. Absence is the ordinary state of most files and says nothing about how a file was made.
The server tells the agent so on connect, and the tool descriptions repeat it.
| Status | What the agent should say |
|---|---|
valid_trusted |
Signed, intact, signer on the C2PA trust list |
valid_untrusted |
Signed and intact; the signer is not on the trust list |
present_invalid |
A credential is there but no longer matches the bytes: the file changed after signing |
absent |
No credential found; proves nothing either way |
error |
The check could not run; the reason is in error |
Use case 2: where does the pipeline drop it?
Your generator signs every image. The page your users see serves an unsigned WebP. Somewhere in between a resize, an upload or a CDN rewrote the bytes. With a key, give the agent the same asset at each stage:
These are the same image at each step of our delivery: generator output, upload, CDN resize. Where does the credential stop surviving?
{
"stages": [
{ "url": "https://storage.example.com/gen/7f3a.png", "credential_status": "valid_trusted", "signer": "OpenAI" },
{ "url": "https://cdn.example.com/uploads/7f3a.png", "credential_status": "valid_trusted", "signer": "OpenAI" },
{ "url": "https://cdn.example.com/w800/7f3a.webp", "credential_status": "absent" }
]
}
check_pipeline names the hop: the resize. In a coding agent the next step follows by itself,
searching the repo for the ?width= parameter or the sharp(...).webp() call that produced it.
The fixes are in where Content Credentials disappear.
To have the same check run on a schedule with alerts, set up monitoring.
Use case 3: check files before they ship
The local server reads files on disk, so a coding agent can check generated art before it is committed, with nothing uploaded anywhere:
Check every PNG in public/generated and list the ones without a valid credential.
The agent calls verify_file once per file. That suits one-off questions. For a standing record
of every asset in the repo, with a LOST line the day one stops being signed, use the
agent skill and its lockfile.
Use case 4: does this vendor keep credentials?
Before you choose a CDN, an image host or a CMS:
Does Cloudflare Images keep Content Credentials when it resizes? When was that tested?
ecosystem_lookup answers from our tested, dated compatibility database: generates,
preserves, verifies, the test date and the evidence report. Ask for a category
(cdn-transform, cms, storage, social) to compare several at once. Quote the test date with
the answer; products change.
Use case 5: what exactly does the manifest declare?
Sometimes the status is not the question. A reviewer wants to know which tool generated the file, which edits were recorded, or which ingredients a composite lists.
What ingredients does https://cdn.example.com/banner.webp list, and which actions were recorded?
inspect_manifest returns the full manifest store: claims, assertions, ingredients, the
certificate chain. The agent summarises the part you asked about instead of handing you the tree.
This is also the quickest way to read the digitalSourceType a generator declared, which is the
machine-readable marking EU AI Act Article 50(2) asks providers of generated content to carry.
Use case 6: why did the answer change?
Two weeks ago this URL was valid_untrusted, today valid_trusted. The file did not change. Why?
The agent calls trust_status and compares its version with the trust_list_version of each
result. A signer added to the C2PA trust list in between changes the answer without any change to
the file. Two results judged against different list versions are not comparable, and a good agent
says which version it used.
Use case 7: intake on an asset marketplace
Stock, audio and game-asset marketplaces receive thousands of uploads from contributors who generated part of their catalogue. A moderation agent with the MCP server checks each submission URL as it arrives and records what the file declares, so the listing can show it and the marketplace has a dated record of what it was given. The agent reports the credential; it never decides whether a contributor told the truth, because a credential cannot settle that.
What the agent must not say
The server reads credentials. It never issues a verdict on whether a file is genuine and never
decides whether an image was generated. A result is what the file declares and whether the
signature holds. Any agent instruction file that uses the server should say the same: report
credential.status in its own words, and never present absent as suspicion.
Conclusion
Provenance questions are small, frequent and tedious, which is exactly the work an agent should take. One line connects it:
claude mcp add --transport http c2pa https://api.c2pa.design/mcp
Then ask it in plain words. The full reference, with every tool, limit and error, is the MCP server documentation.