MiCompress

com.micompress由 micompress.com 发布官方发布者v0.1.3更新于 Nov 4, 2026

Compress images, PDFs, video, audio, documents & archives via micompress.com

已验证Streamable HTTP可网页运行文件与存储媒体与设计

概览

AI 生成的概览

MiCompress 通过 micompress.com 压缩图片、PDF、视频、音频、文档和压缩包,并返回较小文件的下载链接。

可以做什么
  • 从公开链接(直链或 Google Drive、Dropbox 分享链接)获取文件并压缩,返回 24 小时内有效的下载链接及压缩前后大小
  • 当首次调用提示仍在处理时,用 job_id 查询压缩任务结果
  • 按类别列出支持的文件扩展名,以及当前连接的大小上限
适用场景
当助手需要缩小图片、PDF、视频、音频、Office 文档或压缩包,并且能提供该文件的公开链接时适用,例如无法运行本地命令或读取本地文件的托管客户端。
运行要求
可通过 micompress.com 的 Streamable HTTP 远程端点使用,也可用 npx(需 Node.js 18 或更高版本)或 Docker 镜像在本地运行。无需登录;可选个人 API 密钥通过 MICOMPRESS_API_KEY 环境变量或 X-API-Key 请求头提供,用于更大文件和每月额度。需要能访问 micompress.com。
安装前请注意
文件会通过 HTTPS 上传到第三方服务 micompress.com,请只用于你愿意发送到外部的文件。匿名使用受各类型大小上限限制;使用密钥后上限提高到 100 MB,并计入每月配额,另有付费方案。API 密钥属于机密,应仅保存在服务器环境中。

安装

在 SourceWeft 中

  1. 打开 控制台中的 MiCompress,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.micompress%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "micompress": {
      "type": "http",
      "url": "https://micompress.com/mcp"
    }
  }
}

README

micompress-mcp

An MCP server that lets AI agents compress images, PDFs, video, audio, documents & archives. Powered by micompress.com.

Ask your assistant "compress the screenshots in ./assets" and it will — no manual upload, no separate tool. Works with any Model Context Protocol client: Claude Desktop, Claude Code, Cursor, and others.

Hosted server (no install)

MiCompress also runs as a remote MCP server at https://micompress.com/mcp (Streamable HTTP, no sign-in). It compresses files by URL and returns a download link, so it suits Claude.ai, ChatGPT and other clients that cannot run local commands. Docs: micompress.com/mcp-server.

bash
claude mcp add --transport http micompress https://micompress.com/mcp

For files on your own disk, use the local server below.

Setup (local server)

Claude Code

bash
claude mcp add micompress -- npx -y micompress-mcp

Claude Desktop / Cursor

Add to your MCP config (claude_desktop_config.json on Desktop):

json
{  "mcpServers": {    "micompress": {      "command": "npx",      "args": ["-y", "micompress-mcp"]    }  }}

API key (optional)

Without a key the server works anonymously, within per-type size limits. For bigger files, sign in (free) at https://micompress.com/account, copy your personal key (mc_…) and pass it as the MICOMPRESS_API_KEY environment variable. The key stays in the server's environment — it is never sent to the model.

bash
claude mcp add micompress -e MICOMPRESS_API_KEY=mc_yourkey -- npx -y micompress-mcp
json
{  "mcpServers": {    "micompress": {      "command": "npx",      "args": ["-y", "micompress-mcp"],      "env": { "MICOMPRESS_API_KEY": "mc_yourkey" }    }  }}

With a key, files up to 100 MB are accepted. A free account includes 50 compressions/month through the API; Plus ($9.99/mo) includes 1,000/month and Pro ($19.99/mo) 5,000/month, shared with website usage. When the allowance runs out the tool returns API_QUOTA_REACHED (free) or USAGE_LIMIT_REACHED (paid) — see https://micompress.com/plans.

Tools

compress_file

Compresses a file and writes the smaller version to disk.

InputDescription
path (required)File to compress
output_pathWhere to write it. Defaults to the input path with a -min suffix. Pass the input path to overwrite in place.
presetlossless · recommended (default) · extreme
max_widthImages only — resize down to this width in pixels

Returns the size before and after, plus the output path. The file bytes are never returned to the model — only the summary, so a large file can't flood the context window.

list_supported_formats

Lists every accepted extension, grouped by category.

Supported formats

CategoryFormats
Imagejpg, png, webp, gif, bmp, tiff, avif, svg, heic, psd, dng, raw, cr2, arw, nef
PDF / Docspdf, docx, xlsx, pptx, doc, ppt, xls, epub, odt, ods, html, csv, txt, rtf
Videomp4, mov, avi, mkv, webm, m4v, wmv, flv
Audiomp3, wav, flac, ogg, m4a, aac, opus
Archivezip, 7z, tar, gz

Full list: https://micompress.com/all-tools

How it works

Files are uploaded over HTTPS to micompress.com and compressed with the same engine the website uses (mozjpeg, pngquant, gifski, Ghostscript, ffmpeg, …), then written back to disk. Anonymous use works within per-type size limits (images 20MB, video 50MB, …); set MICOMPRESS_API_KEY for files up to 100MB.

Point it at files you're comfortable sending to a third-party service. The agent passes a path; the file's contents leave your machine.

Requirements

Node.js >= 18

License

MIT © MiCompress


Prefer a UI, or need bigger files? Use micompress.com.

来源:README.md,提交 c99de76

工具

3

compress_file_from_url

Compress a file from a URL

Download a file from a public URL, compress it on micompress.com and return a download link to the smaller file (valid 24 hours) with the size before and after. Works for images (JPG, PNG, WebP, GIF, HEIC, RAW…), PDF, video, audio, Office documents, EPUB and archives. Accepts direct links and Google Drive / Dropbox share links. Calls the MiCompress compression service; documentation: https://micompress.com/mcp-server

输入参数url必填presetfilenamemax_width

get_compression_result

Get compression result

Get the result of a compression started by compress_file_from_url, by the job_id it returned (kept for 2 hours). Use it when that call reported the job as still processing; returns the download link once it is done.

输入参数job_id必填

list_supported_formats

List supported formats

List the file extensions MiCompress can compress, grouped by category, with the size limit for this connection.

无需输入参数。

版本历史

3
  1. v0.1.3最新Nov 4, 2026
  2. v0.1.2Oct 25, 2026
  3. v0.1.1Oct 24, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分