PressIt

io.github.AliReza99由 GitHub 账号 AliReza99 发布v1.0.0更新于 Oct 29, 2026

Compress, resize and convert images (JPG, PNG, WebP, GIF) locally. No API key, no uploads.

已验证STDIO仅桌面文件与存储媒体与设计

概览

AI 生成的概览

PressIt 是一个本地 MCP 服务器,让助手在本机压缩、缩放和转换图片文件,无需上传或 API 密钥。

可以做什么
  • 压缩、优化、缩放、裁剪或转换单个图片文件,并保存到指定的输出路径
  • 一次调用即可批量处理文件夹或路径列表中的多张图片
  • 可使用默认设置(70% 缩放、质量 70),或输出 WebP 并限制最大宽度以适配网页
  • 原文件保持不变,结果写入单独的输出位置
适用场景
适合需要让图片更小、更轻或适合网页的场景:优化拖慢网站的图片、为网站或应用准备照片、转换为 WebP,或按最大宽度缩放。
运行要求
通过 npx(Node.js)以本地进程方式运行,安装 pressit-mcp npm 包。未声明需要 API 密钥、账号或环境变量。仅支持桌面端。
安装前请注意
会在输出路径或“compressed”文件夹中写入新的图片文件;说明称原文件不会被修改,但在重要文件夹上运行前仍应确认输出位置。

安装

在 SourceWeft 中

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

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

pressit-mcp

MCP server that compresses, resizes and converts images (JPG, PNG, WebP, GIF) on your computer. No API key, no uploads. Originals are never changed.

sh
claude mcp add --scope user pressit -- npx -y pressit-mcp@latest

Other agents:

json
{  "mcpServers": {    "pressit": {      "command": "npx",      "args": ["-y", "pressit-mcp@latest"]    }  }}

Tools: compress_image (one file) and compress_images (a folder or a list of files). More, and the PressIt web app, at github.com/AliReza99/pressit.

来源:apps/mcp/README.md,提交 7c3817c

工具

2

compress_image

Compress image

Compress, optimize, resize, crop or convert one image file on this computer, and save the result to outputPath. By default it is scaled to 70% at quality 70. For several images use compress_images.

输入参数cropscalewidthformatheightqualitykeepExifmaxWidthinputPath必填maxHeightoverwriteoutputPath必填

compress_images

Compress images

Compress, optimize, resize or convert many image files on this computer in one call, from a folder or a list of paths. By default images are scaled to 70% at quality 70, keep their format, and are written to a "compressed" folder next to them. For a website, format "webp" with maxWidth (like 1600) usually works best: big images shrink to fit, small ones keep their size. Files that would not get smaller are copied as they are. No need to list, measure or check the files first: pass the folder as inputDir. Originals and existing files are never replaced unless overwrite is set. The result gives the total size before and after, and any image that failed.

输入参数scalewidthformatheightdetailsqualityinputDirkeepExifmaxWidthmaxHeightoutputDiroverwrite另有 2 个

版本历史

1
  1. v1.0.0最新Oct 23, 2026

评分

已满足适用检查项的 90%

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

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分