
C2pa Watermark Mcp
io.github.CSOAI-ORGPublished by GitHub account CSOAI-ORGv0.1.1Updated Nov 5, 2026
C2PA Watermark & Provenance MCP server. Built with c2pa-python.
Overview
Local MCP server that embeds and verifies C2PA provenance manifests on AI-generated assets, with an AI-generated assertion for EU AI Act Article 50.
- What you can do
- Sign assets: embed an HMAC-signed C2PA manifest into asset bytes, optionally adding assertions such as AI-generated or training data.
- Verify assets: check a manifest against the asset bytes and report validity and reasons.
- Report server health and whether the native c2pa-python SDK is available.
- When to use it
- Useful when an assistant produces or handles generated images, video, audio or PDFs and you need machine-readable provenance attached at generation time and checked later, for example to prepare for EU AI Act Article 50 disclosure requirements.
- Requirements
- Runs as a local stdio process installed from PyPI (pip install c2pa-watermark-mcp); Python required. The optional c2pa extra adds the native c2pa-python SDK for full X.509 chains. A signing key is supplied per call as the signing_key argument. No environment variables or authentication are declared.
Installation
In SourceWeft
- Open C2pa Watermark Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
c2pa-watermark-mcp
C2PA Content Credentials MCP server — embed and verify machine-readable provenance for AI-generated assets, ahead of the EU AI Act Article 50 deadline (2 December 2026).
Why this exists
EU AI Act Article 50 (Regulation (EU) 2024/1689) requires that AI-generated
content be machine-readable + detectable as AI-generated. The
c2pa.ai_generated assertion is the C2PA spec's mandated way to do that.
The deadline is 2 December 2026 — about 6 months out. Companies that ship user-facing generative tools without C2PA support face fines up to €35M or 7% of global turnover.
This MCP wraps the official c2pa-python
SDK (≥0.9.0) as an MCP server so agents can attach C2PA manifests at
generation time and verify provenance at runtime. A pure-stdlib HMAC
fallback is included for environments where c2pa-python's native deps
won't install (Vercel serverless, CI sandboxes, etc.).
Features
- 3 MCP tools —
sign_asset,verify_asset,status - EU AI Act Article 50 ready — auto-injects
c2pa.ai_generatedassertion - Pure-stdlib fallback — works without c2pa-python's native deps
- HMAC-SHA256 signatures — tamper-evident manifests
- Optional X.509 chain — via
c2pa-python[evm]extra - Vercel-deployable — see
c2pa-watermark-vercelsibling repo
Tools
install
usage
Sign an asset (Pro tier)
Run as MCP server (stdio)
Run via Docker
Deployment to Vercel
See the companion repo c2pa-watermark-vercel
for a serverless wrapper exposing /sign, /verify, /status routes.
Architecture
Why we auto-inject c2pa.ai_generated
The C2PA spec defines this as the standard way to disclose AI-generated content. EU AI Act Article 50 says AI content must be "machine-readable and detectable as AI-generated" — the spec's answer is exactly this assertion. Skipping the auto-inject would be a compliance violation waiting to happen.
FAQ
Q: Does this need c2pa-python? A: No. The pure-stdlib HMAC-SHA256 fallback is fully functional for tamper-evident manifests. Install c2pa-python only if you need the full X.509 chain.
Q: Can I sign an asset that's not a PNG/JPEG?
A: Yes. The asset_mime parameter is just metadata; the HMAC is over
the bytes themselves. Works for video, audio, PDFs, etc.
Q: How do I rotate the signing key?
A: Generate a new key, deploy with both OLD_KEY and NEW_KEY, re-sign
all manifests with NEW_KEY, then drop OLD_KEY after expiry. This
package supports key rotation via the signing_key constructor arg.
Q: Is this production-ready? A: Yes for tamper-evidence (HMAC). For full X.509 C2PA chain + cryptographic non-repudiation, install c2pa-python ≥ 0.9.0.
License
MIT © MEOK AI Labs / CSOAI-ORG
Source: README.md at commit 3e92220
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts