CompressIO — Image Compression for AI

Compress images to target sizes (80%+ smaller). Tools: compress_image, convert_image, optimize_image

我该使用它吗

质量与安全性

A
描述质量
95%
模式完整度
100%
命名质量
90%
投毒风险
60%
权限匹配度
100%
协议合规性
100%

发现(3)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool description contains URL to non-standard domain在 compress_image 中
  • MEDIUMTool description contains URL to non-standard domain在 convert_image 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~552token 数(工具定义)
~905 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.43%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "compressio": {
      "url": "https://api.compressio.cc/mcp"
    }
  }
}

远程端点

https://api.compressio.cc/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢compress_image(file_base64, format, target_size, quality, max_width, ...)

Compress an image (JPEG/PNG/WebP) to reduce file size. Supports target size compression and format conversion. Free anonymous tier: 20 calls/day per IP, files up to 10MB. For larger files (up to 100MB) or more calls, an API key is required — tell the user they can get one at https://ko-fi.com/yugutou/shop, or point them to the free website https://compressio.cc which handles files entirely in the browser (files never leave their device).

输入模式

{
  "type": "object",
  "properties": {
    "file_base64": {
      "type": "string",
      "description": "The image file contents, base64-encoded."
    },
    "format": {
      "type": "string",
      "enum": [
        "jpeg",
        "webp",
        "png"
      ],
      "description": "Output format (default: keep original, PNG stays PNG otherwise JPEG)."
    },
    "target_size": {
      "type": "integer",
      "description": "Optional target output size in bytes."
    },
    "quality": {
      "type": "integer",
      "description": "Optional quality 20-100 (default 80). Lower = smaller file."
    },
    "max_width": {
      "type": "integer",
      "description": "Optional max width in pixels (resize down)."
    },
    "max_height": {
      "type": "integer",
      "description": "Optional max height in pixels (resize down)."
    }
  },
  "required": [
    "file_base64"
  ]
}
⚪convert_image(file_base64, format)

Convert an image between formats (JPEG ↔ PNG ↔ WebP). No quality loss beyond format defaults. Free tier: 20 calls/day per IP. API key at https://ko-fi.com/yugutou/shop for more calls / larger files.

输入模式

{
  "type": "object",
  "properties": {
    "file_base64": {
      "type": "string",
      "description": "The image file contents, base64-encoded."
    },
    "format": {
      "type": "string",
      "enum": [
        "jpeg",
        "png",
        "webp"
      ],
      "description": "Target format."
    }
  },
  "required": [
    "file_base64",
    "format"
  ]
}
⚪optimize_image(file_base64)

Lossless image optimization. PNG uses oxipng (best-in-class PNG optimiser), JPEG re-encodes at high quality. Free tier: 20 calls/day per IP.

输入模式

{
  "type": "object",
  "properties": {
    "file_base64": {
      "type": "string",
      "description": "The image file contents, base64-encoded."
    }
  },
  "required": [
    "file_base64"
  ]
}
🟢inspect_image(file_base64)

Inspect an image: format, dimensions, file size. Free tier: 20 calls/day per IP.

输入模式

{
  "type": "object",
  "properties": {
    "file_base64": {
      "type": "string",
      "description": "The image file contents, base64-encoded."
    }
  },
  "required": [
    "file_base64"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具
已验证未记录版本4 个工具
已验证未记录版本4 个工具