Roundcut Mcp

io.github.Araluma由 GitHub 账号 Araluma 发布v0.1.2更新于 Oct 24, 2026

Local image tools: circle crop, crop, resize, compress, convert JPG/PNG/WebP/AVIF. By RoundCut.

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

概览

AI 生成的概览

本地 MCP 服务器,让助手在本机查看、圆形裁剪、裁剪、缩放、压缩和转换图片。

可以做什么
  • 查看图片的格式、尺寸、透明通道和 EXIF 方向,便于选择参数
  • 生成带圆形透明遮罩的头像,或按像素框、固定宽高比裁剪
  • 按宽度、高度或百分比缩放,并保持宽高比
  • 同格式压缩文件,或在 JPEG、PNG、WebP、AVIF 之间转换(输入也支持 GIF、TIFF、HEIC)
  • 返回文字摘要、输出文件链接、结构化 JSON 和可选的小尺寸 JPEG 预览
适用场景
适合让助手准备上传用图、头像、横幅或网页图片,而无需把文件发送给第三方服务。在桌面电脑上做头像、比例和格式转换时很方便。
运行要求
以本地 stdio 进程通过 npx 启动,需要 Node.js 20 或更高版本。无需账号、API 密钥或网络访问;另提供适用于 macOS Apple Silicon 和 Windows x64 的自包含安装包。
安装前请注意
工具会在输入文件旁或指定输出路径写入新的图片文件,注意指向正确的目录。JPEG 不支持透明,透明区域会被填充到背景色。超过 80 百万像素的输入会被拒绝,输出文件不保留 EXIF 信息。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

roundcut-mcp

Local image tools for AI agents, as an MCP server. Circle crop, crop, resize, compress and convert JPG, PNG, WebP and AVIF on your own machine with sharp. No network calls, no accounts, no upload: the files never leave the disk.

Made by RoundCut, the free image tools site (29 languages).

Install

Node 20 or newer.

bash
npx roundcut-mcp

Claude Desktop / Claude Code

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

Claude Code: claude mcp add roundcut -- npx -y roundcut-mcp

Cursor, Windsurf, VS Code

Same shape: a stdio server, command npx, args -y roundcut-mcp.

Smithery

smithery.ai/servers/araluma/roundcut-mcp installs a self-contained bundle for macOS (Apple Silicon) and Windows (x64). On Linux or an Intel Mac, use npx above.

Tools

ToolWhat it doesAn agent calls it when
image_infoFormat, dimensions, alpha, EXIF orientation.the user asks what an image is, or before picking crop/resize numbers
circle_cropRound profile picture: centered square plus a circular transparent mask. size, format (png default), background for jpeg.the user wants a round avatar for Discord, Slack, LinkedIn, WhatsApp or GitHub
crop_imagePixel box (left, top, width, height) or a centered aspect such as 1:1, 4:5, 16:9.the user wants part of an image or a fixed ratio (square post, 4:5 portrait, 16:9 banner)
resize_imageBy width, height or percent. Keeps the aspect ratio, never enlarges unless enlarge: true. Lanczos3.the user gives target pixel dimensions
compress_imageSmaller file, same format. quality for jpg/webp/avif (mozjpeg for jpg), lossless recompression for png.the file must be lighter (upload limit, faster page) at the same size and format
convert_imageTo jpeg, png, webp or avif. Input may also be GIF, TIFF or HEIC. Transparency kept, or flattened onto background for jpeg.the user needs another file type, e.g. iPhone HEIC to JPG, PNG to WebP
roundcut_web_toolsLinks to the browser tools this server does not run locally: background remover, AI upscaler, batch convert, JPG to PDF.the user asks for one of those, instead of declining

Every tool takes an input path and writes next to it by default (photo.jpg becomes photo-circle.png, photo-resized.jpg, photo.webp), or to output. Results carry a text summary, a resource_link to the file, structured JSON (output, format, width, height, bytes, inputBytes) and a small JPEG preview (preview: false to skip it).

Example, from a chat client with the server attached:

Make ~/Pictures/me.jpg a 512 px round avatar as WebP.

calls circle_crop with { "input": "~/Pictures/me.jpg", "size": 512, "format": "webp" } and answers with the file path, the dimensions and the byte count.

Limits

  • Inputs above 80 megapixels are refused, so a stray call cannot allocate gigabytes.
  • EXIF orientation is applied on read; the output is upright and carries no EXIF.
  • jpeg has no alpha: transparent areas are flattened onto background (white by default).

Develop

bash
npm installnpm test        # builds, then node --test

src/engine.ts is the pure image layer (tested directly). src/index.ts adapts it to MCP tools.

Smithery release: scripts/build-mcpb.sh builds build/roundcut-mcp-<version>.mcpb from mcpb/manifest.json (25 MB cap, so only the macOS arm64 and Windows x64 sharp binaries go in), then scripts/publish-smithery.sh uploads it with the tool schemas read from the built server.

License

MIT. Copyright Araluma.

来源:README.md,提交 307336a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

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

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分