Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Mtl C2pa

БесплатноНе проверен

MCP server for reading C2PA content provenance manifests from media files, enabling natural language queries about AI-generated content, signatures, and provena

GitHubEmbed

Описание

MCP server for reading C2PA content provenance manifests from media files, enabling natural language queries about AI-generated content, signatures, and provenance.

README

License: MIT CI Python 3.10+ Code style: Ruff MCP Built by MusicTech Lab

MCP server for reading C2PA content provenance manifests from media files — built for Claude Code.

⚠️ Experimental — Early development. The C2PA spec and tooling are still evolving. Don't rely on this for legal evidence or compliance work.

C2PA (Coalition for Content Provenance and Authenticity) is the open standard behind Adobe's Content Credentials and is now embedded in Google Lyria AI-generated MP3s. Each manifest records who created the file, what tool produced it, whether it's AI-generated, what watermarks (e.g. SynthID) were applied, and who signed the claim.

This MCP wraps the official c2pa-python library so Claude can read those manifests in plain language.

C2PA manifest summary rendered in Claude Code for a Lyria-generated MP3

Tools

Tool Description
c2pa_summary Human-friendly summary: generator, AI flag, actions, ingredients, watermarks, signature
c2pa_read Full raw manifest store as JSON
c2pa_assertions List all assertions from the active manifest
c2pa_ingredients List ingredients (sources used) from the active manifest
c2pa_verify Signature issuer, validation state, successes & failures
c2pa_scan Audit a directory: which files carry C2PA, which are AI-generated
c2pa_info Library version and supported MIME types

Supported formats

The underlying c2pa-python library supports many formats. Most relevant here:

  • Audio: MP3, WAV, FLAC, OGG, M4A, AAC
  • Image: JPG, PNG, WebP, TIFF, AVIF, HEIC, GIF, SVG
  • Video: MP4, MOV, AVI
  • Other: PDF

Call c2pa_info for the full live list.

Setup

git clone https://github.com/musictechlab/mtl-c2pa-mcp.git
cd mtl-c2pa-mcp
poetry install

Claude Code configuration

claude mcp add -s user mtl-c2pa -- poetry --directory /path/to/mtl-c2pa-mcp run python -m mtl_c2pa_mcp

Usage examples

Once configured, just ask Claude in natural language.

Quick summary of a Lyria-generated MP3

"What does the C2PA manifest in ~/Downloads/Sovereign_Ascent.mp3 say?"

{
  "file": "/Users/you/Downloads/Sovereign_Ascent.mp3",
  "active_manifest": "urn:c2pa:80faaddf-fe27-1e7d-0ce5-4a70eeba2dd1",
  "generator": {
    "name": "Google C2PA Core Generator Library",
    "version": "916434528:916944653"
  },
  "is_ai_generated": true,
  "digital_source_types": [
    "http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia"
  ],
  "actions": [
    {
      "action": "c2pa.created",
      "digitalSourceType": "http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia",
      "description": "Created by Google Generative AI."
    },
    {
      "action": "c2pa.edited",
      "digitalSourceType": "http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia",
      "description": "Applied imperceptible SynthID watermark."
    }
  ],
  "ingredients_count": 0,
  "watermarks": [
    {
      "label": "c2pa.actions.v2",
      "action": "c2pa.edited",
      "description": "Applied imperceptible SynthID watermark."
    }
  ],
  "signature_issuer": "Google LLC",
  "validation": "valid"
}

Verify a signature

"Is the C2PA signature on track.mp3 valid? Who signed it?"

Audit a music folder

"Scan my ~/Music directory and prepare a list of tracks with info if c2pa is included."

C2PA scan of a Music folder showing which tracks carry a manifest and which are AI-generated

Or in raw JSON form:

{
  "directory": "/Users/you/Downloads",
  "total_files": 12,
  "with_manifest": 3,
  "files": [
    {
      "file": "/Users/you/Downloads/Sovereign_Ascent.mp3",
      "has_manifest": true,
      "generator": {"name": "Google C2PA Core Generator Library", "version": "..."},
      "is_ai_generated": true,
      "digital_source_types": ["http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia"]
    },
    {
      "file": "/Users/you/Downloads/photo.jpg",
      "has_manifest": false
    }
  ]
}

Inspect raw manifest

"Dump the full C2PA manifest store of track.mp3."

Returns the same JSON shape produced by c2patool ./track.mp3 — useful when you need every field.

Why this exists

When Google shipped C2PA in Lyria MP3 downloads in May 2026, it became the first major DSP-adjacent player to embed AI provenance directly in music files. Inspecting those manifests usually means installing the Rust c2patool binary and reading raw JSON. This MCP lets you ask Claude "is this AI-generated?" and get a clean answer — same workflow as mtl-metadata-mcp and mtl-vhc, but for provenance instead of ID3 tags or human-cert registry lookups.

Tech stack

  • Python 3.10+
  • c2pa-python — Adobe's official Rust-backed Python binding
  • MCP SDK (FastMCP)
  • Poetry — dependency management

Contributing

See CONTRIBUTING.md.

Security

To report a vulnerability, see SECURITY.md.

License

MIT — see LICENSE.


MusicTech Lab - Rockstars Developers dedicated to the Music Industry
Website | LinkedIn | Let's talk
Crafted by musictechlab.io

from github.com/musictechlab/mtl-c2pa-mcp

Установка Mtl C2pa

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/musictechlab/mtl-c2pa-mcp

FAQ

Mtl C2pa MCP бесплатный?

Да, Mtl C2pa MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Mtl C2pa?

Нет, Mtl C2pa работает без API-ключей и переменных окружения.

Mtl C2pa — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Mtl C2pa в Claude Desktop, Claude Code или Cursor?

Открой Mtl C2pa на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Mtl C2pa with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории media