API & MCP
Everything a person can do on C2PA Credentials Inspector, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://c2pacredentialsinspector.usefulweb.site/api/v1/calculate– run C2PA Credentials InspectorGET https://c2pacredentialsinspector.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
C2PA Credentials Inspector
Upload an image or video and see its C2PA manifest store: claim generator, actions (created, edited, AI-generated digitalSourceType), ingredients, assertions and the signer certificate chain. The COSE signature over the claim, the assertion hashes and the JPEG/PNG/WebP data hash are verified offline; trust lists, revocation and time-stamps are not evaluated. XMP DigitalSourceType hints are read with ExifTool when available.
| Field | Type | Default | Description |
|---|---|---|---|
file (required) | file | — | Image or video. JPEG, PNG, WebP, MP4/MOV, HEIF/AVIF or a .c2pa sidecar, up to 50 MB. Processed for this request only. |
useExiftool | boolean | true | Also read XMP/IPTC metadata hints with ExifTool (if installed) |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://c2pacredentialsinspector.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
c2pa_credentials_inspector - Local stdio connector:
node src/mcp-stdio.ts --tool=c2pa-credentials-inspector
{
"mcpServers": {
"c2pa-credentials-inspector": { "type": "http", "url": "https://c2pacredentialsinspector.usefulweb.site/mcp" }
}
}