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 分