# MCP Compress

> List compression profiles, estimate gains, and compress images, PDFs, and Office files.

- name: fr.custom-digital-services/mcp-compress
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 83/100 flags: no-repository
- quality: 80/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/fr.custom-digital-services%2Fmcp-compress
- tools: https://api.protogrid.dev/v1/servers/fr.custom-digital-services%2Fmcp-compress/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "mcp-compress": {
      "type": "http",
      "url": "https://mcp-compress.custom-digital-services.com/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-100% +updated-22d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 80/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 75 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: estimate_compression (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); compress_file (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); list_compression_profiles (readOnlyHint, destructiveHint, idempotentHint, openWorldHint)
- pass `tools.token_cost`: about 634 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 3, about 634 tokens to load them all
- tool set hash: f35788a2bf3f68c4354080da8d27bbc3
- badge: [![protogrid quality](https://protogrid.dev/badge/fr.custom-digital-services/mcp-compress.svg)](https://protogrid.dev/servers/fr.custom-digital-services/mcp-compress)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://mcp-compress.custom-digital-services.com/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (3)

- `compress_file`: Compress a file and return the result as base64. Pass fileBase64 + fileName. Choose EITHER a preset 'level' (light|balanced|maximum, default balanced) OR a 'custom' profile { imageQuality: 1-100, maxDimension?: px, convertFormat?: webp|avif|jpeg } -- supplying both is rejected. Supported families: images (PNG/JPG/WebP/AVIF), PDF (embedded JPEG images re-encoded, no AGPL tool), and Office OOXML (DOCX/PPTX/XLSX embedded media re-encoded). Returns fileBase64, bytesBefore, bytesAfter, gainPercent, mimeType and the output format. If compression would enlarge a non-converted file, the original is returned with 0% gain. WARNING: convertFormat 'avif' is CPU/RAM heavy (>= 1 GB RAM for large images). Max input size: 26214400 decoded bytes.
- `estimate_compression`: Detect a file (family, format, size from magic bytes) and estimate the compression gain by ACTUALLY compressing it. Pass the file as base64 (fileBase64) plus its fileName (the extension disambiguates Office formats). Omit 'level' to estimate all three presets, or set it for a single one. Returns the detected metadata and, per level, the resulting byte size, gain percentage and output format. Max input size: 26214400 decoded bytes; the HTTP body must accept base64 (decoded x 4/3 plus margin).
- `list_compression_profiles`: List the three compression presets (light, balanced, maximum) with their exact image quality and max-dimension caps, a note per preset, and the maximum accepted input size. Values are kept in parity with the Compresseur Local web app. Takes no parameters.
