Local image tools: circle crop, crop, resize, compress, convert JPG/PNG/WebP/AVIF. By RoundCut.
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).
Node 20 or newer.
npx roundcut-mcp
{
"mcpServers": {
"roundcut": { "command": "npx", "args": ["-y", "roundcut-mcp"] }
}
}
Claude Code: claude mcp add roundcut -- npx -y roundcut-mcp
Same shape: a stdio server, command npx, args -y roundcut-mcp.
| Tool | What it does |
|---|---|
image_info | Format, dimensions, alpha, EXIF orientation. |
circle_crop | Round profile picture: centered square plus a circular transparent mask. size, format (png default), background for jpeg. |
crop_image | Pixel box (left, top, width, height) or a centered aspect such as 1:1, 4:5, 16:9. |
resize_image | By width, height or percent. Keeps the aspect ratio, never enlarges unless enlarge: true. Lanczos3. |
compress_image | Smaller file, same format. quality for jpg/webp/avif (mozjpeg for jpg), lossless recompression for png. |
convert_image | To jpeg, png, webp or avif. Input may also be GIF, TIFF or HEIC. Transparency kept, or flattened onto background for jpeg. |
roundcut_web_tools | Links to the browser tools this server does not run locally: background remover, AI upscaler, batch convert, JPG to PDF. |
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.
background (white by default).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.
MIT. Copyright Araluma.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y roundcut-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-araluma-roundcut-mcp": {
"command": "npx",
"args": [
"-y",
"roundcut-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceio.github.Araluma/roundcut-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.