PiPic Integration Guide
Read-only PiPic CLI and HTTP API guidance; no image bytes are transferred.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"pipic": {
"url": "https://pipic.cc/mcp"
}
}
}远程端点
https://pipic.cc/mcpstreamable-http它能做什么
工具清单
工具(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.
输入模式
{
"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.
输入模式
{
"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.
输入模式
{
"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
}输出模式
{
"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"
]
}推荐提示词
get_compression_factsget_compression_facts社区
证据