Skip to main content
Glama

pixelvault-mcp

Glama MCP Server License: MIT

Zero-dependency binary PNG, JPEG, and WebP forensic scanner and lossless metadata scrubber exposed as a Model Context Protocol (MCP) stdio server, CLI, and GitHub Action (@v1).

pixelvault-mcp inspects raw container chunks without re-encoding pixels:

  • aCropalypse Trailing-Byte Leaks (CVE-2023-21036 / CVE-2023-28303): Detects orphaned bytes surviving after PNG IEND, JPEG EOI (FF D9), or WebP RIFF boundaries.

  • EXIF GPS & Uncropped Thumbnail Leaks: Parses Little-Endian (II) and Big-Endian (MM) TIFF IFD0 / ExifIFD / GPSIFD DMS coordinates into signed decimal degrees and flags embedded IFD1 / JFIF thumbnails.

  • ComfyUI & Prompt Chunk Leaks: Decompresses PNG tEXt, zTXt, and iTXt chunks plus WebP/JPEG XMP streams to surface embedded ComfyUI JSON node graphs and prompt parameters.

  • Zero-Generation-Loss Binary Scrubbing: Strips metadata chunks (tEXt, zTXt, iTXt, eXIf, tIME, APP1..APP15, COM, WebP EXIF/XMP ) and truncates trailing bytes while verifying exact CRC-32 parity on compressed IDAT / SOS / VP8 pixel streams.

More offline privacy and DevSecOps tools: https://z121245017-ai.github.io/

MCP Tools

  1. inspect_image_forensics — Audits a PNG, JPEG, or WebP file (or Base64 payload) for EXIF GPS coordinates, camera serials, uncropped thumbnails, ComfyUI workflow chunks, and trailing post-EOF bytes.

  2. scrub_image_metadata_lossless — Strips non-essential metadata chunks and trailing bytes without re-compressing pixels, returning CRC-32 compressed pixel-stream parity proof.

  3. verify_pixel_stream_parity — Compares two image files or Base64 buffers to verify identical compressed pixel streams (IDAT / SOS / VP8) after metadata removal.

  4. generate_forensic_image_specimen — Generates deterministic synthetic PNG, JPEG, or WebP test fixtures containing sample EXIF GPS, ComfyUI workflow chunks, and trailing bytes for CI testing.

Related MCP server: AI Image Metadata Cleaner

MCP Configuration

{
  "mcpServers": {
    "pixelvault": {
      "command": "npx",
      "args": ["-y", "github:z121245017-ai/pixelvault-mcp"]
    }
  }
}

GitHub Action (@v1)

- uses: z121245017-ai/pixelvault-mcp@v1
  with:
    paths: 'docs/ public/'
    fail-on-gps: 'true'
    fail-on-trailing-bytes: 'true'

License

MIT

Available Tools

4 tools
generate_forensic_image_specimenA
Idempotent

Generates a deterministic synthetic PNG, JPEG, or WebP test fixture containing sample EXIF GPS coordinates, ComfyUI workflow metadata, and trailing post-EOF bytes for CI pipeline validation.

Inputs: format, outputPath, returnBase64.

inspect_image_forensicsA
Read-onlyIdempotent

Audits a binary PNG, JPEG, or WebP image (via local filePath or base64Data) for EXIF GPS coordinates, uncropped IFD1/JFIF thumbnails, ComfyUI workflow chunks, XMP edit history, and aCropalypse trailing bytes.

Inputs: filePath, filename, base64Data, includeMarkdownReport.

scrub_image_metadata_losslessA
Idempotent

Strips non-essential metadata chunks (EXIF, GPS, IFD1/JFIF thumbnails, ComfyUI tEXt/zTXt/iTXt, XMP, COM) and truncates trailing aCropalypse bytes without re-compressing pixels, returning CRC-32 pixel parity proof.

Inputs: filePath, base64Data, outputPath, keepIccProfile, +1 more.

verify_pixel_stream_parityA
Read-onlyIdempotent

Verifies zero generation loss between an original and scrubbed PNG, JPEG, or WebP image by comparing exact byte length and IEEE 802.3 CRC-32 digest of compressed IDAT, SOS, or VP8/VP8L pixel streams.

Inputs: cleanedPath, originalPath, cleanedBase64, originalBase64.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 4 tools

    Disambiguation4/5

    Each tool targets a distinct operation: inspection of metadata, lossless metadata removal, pixel-stream parity verification, and synthetic fixture generation. The only mild overlap is between inspect_image_forensics and verify_pixel_stream_parity, since both read an image and report findings, but the descriptions clearly separate metadata auditing from byte-level pixel parity checks.

    Naming Consistency5/5

    All four names follow a consistent snake_case verb_noun pattern: inspect_, scrub_, verify_, generate_ followed by a descriptive object phrase. Modifiers like 'lossless' and 'forensic' are used consistently to qualify the object rather than breaking the pattern.

    Tool Count5/5

    Four tools is well-scoped for a focused image-forensics/scrubbing server: audit, scrub, verify, and generate a fixture. Each tool earns its place and there is no filler.

    Completeness4/5

    The surface covers the full lifecycle: inspect metadata, remove it losslessly, verify parity, and produce test specimens for CI. Minor gaps exist, such as no batch/multi-image processing or a structured metadata-diff/export operation, but core workflows are fully supported.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Inspect and remove EXIF metadata locally through MCP tools. Supports reading EXIF, detecting GPS, summarizing privacy risks, and stripping EXIF from images.
      11
      3
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Lets AI assistants inspect a photo's shooting history and copy EXIF/XMP/IPTC/ICC metadata from untouched originals onto AI-edited images, including batch processing of two folders and listing supported formats. All of this runs locally over stdio through natural-language requests.
      MIT
    • A
      license
      C
      quality
      A
      maintenance
      Identify and remove AI provenance metadata (C2PA, EXIF, IPTC, XMP, TC260), visible AI-generator labels and supported invisible watermarks from images and video you generated yourself. Runs locally over stdio with uvx.
      37
      3,596 PyPI
      6,568
      Apache 2.0