About PressIt
PressIt is an MCP server for compressing, resizing, and converting images locally. It supports JPG, PNG, WebP, and GIF, keeps originals unchanged, and does not upload files or require an API key.
Key features
- 01Compress a single image
- 02Process folders or file lists
- 03Resize and convert images
- 04Keep original files unchanged
- 05Handle JPG, PNG, WebP and GIF
Use cases
- 01Reduce image file sizes before sharing
- 02Batch-process images in a folder
- 03Convert images to another supported format
MCP support
The server exposes `compress_image` for one file and `compress_images` for a folder or list of files.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
2Saved tool list · updated 6d ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| crop | object | No | Region of the upright image to keep, in source pixels, applied before resizing |
| crop.top | integer | Yes | |
| crop.left | integer | Yes | |
| crop.width | integer | Yes | |
| crop.height | integer | Yes | |
| scale | integer | No | Size in percent of the original (or crop), like the SIZE slider in the PressIt app. Use instead of width/height. Defaults to 70 when width and height are not given; pass 100 to keep the original size |
| width | integer | No | Exact output width in px. Alone, keeps the aspect ratio |
| format | enum | No | Output format. Defaults to the extension of outputPathjpeg | webp | png |
| height | integer | No | Exact output height in px. Alone, keeps the aspect ratio |
| quality | integer | No | 1-100, ignored for PNG. Defaults to 70 |
| keepExif | boolean | No | Keep camera, GPS and date metadata |
| maxWidth | integer | No | Shrink to fit this width in px, never enlarge. Best for web, e.g. 1600. Without scale, smaller images keep their size |
| inputPath | string | Yes | Absolute path of the image to compress (JPG, PNG, WebP or GIF, up to 50 MB) |
| maxHeight | integer | No | Shrink to fit this height in px, never enlarge |
| overwrite | boolean | No | Replace output files that already exist |
| outputPath | string | Yes | Absolute path to write the result to. Missing folders are created |
Details
From the project READMEpressit-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.
claude mcp add --scope user pressit -- npx -y pressit-mcp@latest
Other agents:
{
"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.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.