Serveur MCP

PiPic Integration Guide

cc.pipic/pipic
Outils développeur Public et accessible MCP 2026-07-28

Ce que fait ce MCP

Provides PiPic image-compression capabilities, file validation, limits, and CLI or HTTP integration instructions.

check_image_supported
Check a file before uploading it
Given a filename, MIME type and/or byte size, says whether PiPic will accept the image and, if not, which error an upload would return. Use it to filter a file list locally instead of spending quota on requests that are going to be rejected.
Schéma d’entrée
{'type': 'object', 'properties': {'filename': {'type': 'string', 'description': 'File name or path; the extension is used to infer the type.'}, 'sizeBytes': {'type': 'integer', 'description': 'File size in bytes, if known.'}, 'contentType': {'type': 'string', 'description': 'MIME type, if you already know it. Takes precedence over filename.'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'required': ['supported', 'reason'], 'properties': {'reason': {'type': 'string', 'description': 'Why — including which error code an upload would return.'}, 'supported': {'type': 'boolean', 'description': 'Whether PiPic will accept this image.'}, 'contentType': {'type': ['string', 'null'], 'description': 'The MIME type that was determined, to send as the Content-Type header.'}}}
get_compression_facts
PiPic capabilities and limits
What PiPic can compress, the file-size and batch limits, and how the free/Pro monthly allowance for the CLI and HTTP API works. Read this before telling a user what PiPic can do for them.
Schéma d’entrée
{'type': 'object', 'properties': {}, 'additionalProperties': False}
get_integration_guide
How to compress images with PiPic
Step-by-step integration instructions for actually compressing images — either through the @pipic/cli command-line tool (best for whole directories) or over plain HTTP (no Node required). Includes the output contract, exit codes, error codes and which failures are worth retrying.
Schéma d’entrée
{'type': 'object', 'required': ['mode'], 'properties': {'mode': {'enum': ['cli', 'http'], 'type': 'string', 'description': '"cli" for the @pipic/cli tool, "http" for calling POST /compress/image directly.'}}, 'additionalProperties': False}
Ajouté
check_image_supported
17 September 2026 07:58
Ajouté
get_integration_guide
17 September 2026 07:58
Ajouté
get_compression_facts
17 September 2026 07:58