PiPic Integration Guide
Read-only PiPic CLI and HTTP API guidance; no image bytes are transferred.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"pipic": {
"url": "https://pipic.cc/mcp"
}
}
}Puntos de conexión remotos
https://pipic.cc/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (3)
🟢get_compression_facts
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.
Esquema de entrada
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢get_integration_guide(mode)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"cli",
"http"
],
"description": "\"cli\" for the @pipic/cli tool, \"http\" for calling POST /compress/image directly."
}
},
"required": [
"mode"
],
"additionalProperties": false
}🟡check_image_supported(filename, contentType, sizeBytes)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"filename": {
"type": "string",
"description": "File name or path; the extension is used to infer the type."
},
"contentType": {
"type": "string",
"description": "MIME type, if you already know it. Takes precedence over filename."
},
"sizeBytes": {
"type": "integer",
"description": "File size in bytes, if known."
}
},
"additionalProperties": false
}Esquema de salida
{
"type": "object",
"properties": {
"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."
},
"reason": {
"type": "string",
"description": "Why — including which error code an upload would return."
}
},
"required": [
"supported",
"reason"
]
}Prompts recomendados
get_compression_factsget_compression_factsComunidad
Evidencia