AI50 MCP
Embeds an APP1 XMP packet with IPTC DigitalSourceType=trainedAlgorithmicMedia into JPEG files and verifies the marking.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AI50 MCP mark ./export/hero.png as AI-generated and verify it"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI50 MCP — Provenance Marker for AI-Generated Content
A clean, listing-ready Model Context Protocol (MCP) tool server that wraps the
existing Art50 marking engine as one payable per-call tool:
mark_art50_provenance.
The buyer problem (plain language)
If you ship an AI product in Europe, the EU AI Act (Article 50) requires you to mark AI-generated or AI-manipulated content so people and machines can tell it apart from human-made content. The deadline for systems already on the market is 2 December 2026. Marking must be machine-readable, not just a visible watermark.
Most teams do not have a reliable, repeatable way to do this. They either skip it, bolt on an ad-hoc script, or trust a model to "remember" to add metadata. None of those is auditable.
This tool fixes that in one call: hand it a local file and it embeds a standards-based marking (JPEG/PNG) or writes a tamper-evident sidecar (anything else), then verifies the result and returns a boolean. It is deterministic, stdlib-only, and runs entirely on the user's own machine.
Related MCP server: mtl-c2pa-mcp
What it does
JPEG — injects an APP1 XMP packet carrying
IPTC DigitalSourceType = trainedAlgorithmicMedia.PNG — injects an iTXt chunk (
XML:com.adobe.xmp) with the same packet, CRC-correct.Any other file — writes a sha256-bound
<file>.art50.jsonsidecar manifest (hash, size, standard, UTC timestamp) and verifies it.Idempotent — re-marking replaces the previous packet; it never duplicates.
Verifiable — every call returns
verified: true/false.
Run the server
python server.pyThe server speaks MCP over stdio (JSON-RPC 2.0, newline-delimited). Point any MCP client at it.
Tool
Single tool: mark_art50_provenance
Inputs (typed):
path(string, required) — local file to mark. Remote URLs are rejected.output_path(string, optional) — destination for a marked JPEG/PNG copy.generator(string, optional) — label embedded in the XMP packet.
Returns JSON: ok, kind, source, output, source_sha256,
output_sha256, bytes, verified.
Safety
Local files only. URLs and non-file paths are rejected.
Regular files only; directories are rejected.
50 MiB per-call size cap.
Output parent directory must already exist.
No network access, no subprocesses, no secrets.
Test
python -m unittest test_ai50_mcp -v
# or: python -m pytest -qLast verified run: 35 tests (plus 15 subtests), exit code 0.
License
MIT. Engineering aid for EU AI Act Art.50(2) marking. Not legal advice, not a conformity certificate. Built with AI assistance.
Available Tools
1 toolmark_art50_provenanceMark one file as AI-generated and verify the markAIdempotent
Mark ONE existing local regular file as artificially generated or manipulated content per EU AI Act Art.50(2) and verify the result. JPEG and PNG files get an embedded, idempotent XMP packet (IPTC DigitalSourceType = http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia) written to a new output file; re-marking replaces the packet instead of duplicating it. Any other file (text, audio, video, PDF, ...) gets a SHA-256-bound .art50.json sidecar written beside the source; changing one byte invalidates it. Reads and writes local files only and performs no network access. Remote URLs, directories, files over 50 MiB, unsafe generator labels and writes over the source are rejected. Returns the marking kind, output path, source and output SHA-256 hashes, source byte count and a verification boolean as both text and structuredContent.
Inputs: path (required), generator, output_path. Returns: ok, kind, bytes, output, +4 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With a single, highly specific tool there is no possibility of selection confusion between tools. The description clearly bounds the action (mark one local file), the formats handled (JPEG/PNG XMP vs. SHA-256 sidecar), and the exclusions (URLs, directories, oversized files, overwriting the source).
The lone tool name uses clean snake_case with an explicit verb + object structure (mark_art50_provenance), which is readable and predictable. A single tool cannot exhibit mixed conventions.
The scope is genuinely narrow (stamp provenance onto one file and verify the write), so one tool is defensible rather than absurd. Still, a 1-tool surface is thin: there is no way to query marking status, inspect a sidecar, or process a batch without re-invoking the marking action.
Core lifecycle is partially covered: marking and in-band verification are present, and re-marking is idempotent. However, obvious gaps remain — no read-only/verify-only tool to check whether a file is already marked or to validate a sidecar, and no batch or directory-level operation, both of which are natural for compliance workflows.
Maintenance
Related MCP Connectors
Remote MCP for C2PA intake verifier MCP, structured receipts, audit logs, and reviewer-ready evidenc
Rules and code for marking AI images, video and audio with C2PA and watermarks
Remote MCP for C2PA disclosure policy MCP, structured receipts, audit logs, and reviewer-ready evide
Sign media with C2PA Content Credentials and verify its declared origin.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables reading and verifying C2PA Content Credentials from images and videos through both embedded manifests and invisible watermarks. Supports direct filesystem access, URL checking, and provides structured provenance data including creator identity, AI generation info, and content authenticity.2MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for reading C2PA content provenance manifests from media files, enabling natural language queries about AI-generated content, signatures, and provenance.3MIT
- AlicenseNot gradedqualityBmaintenanceEnables creating and verifying permanent, publicly verifiable content provenance stamps via MCP tools.5 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables EU AI Act Article 50(2) compliant watermarking of AI-generated content using C2PA manifest envelopes.81 PyPIMIT