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.
npx roundcut-mcp
Claude Desktop / Claude Code
{
"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
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.jpga 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
npm install
npm 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.