mcpField
P
PressIt

PressIt

Local
github.com/AliReza99Media & Design0Updated 2d ago

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

  1. 01Compress a single image
  2. 02Process folders or file lists
  3. 03Resize and convert images
  4. 04Keep original files unchanged
  5. 05Handle JPG, PNG, WebP and GIF

Use cases

  1. 01Reduce image file sizes before sharing
  2. 02Batch-process images in a folder
  3. 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.

mcp.json · Universal config
{
"mcpServers": {
"alireza99-pressit": {
"command": "npx",
"args": [
"-y",
"pressit-mcp"
]
}
}
}
Run commandnpx -y pressit-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmpressit-mcp1.0.0

Tools

2

Saved tool list · updated 6d ago

ParameterTypeRequiredDescription
cropobjectNoRegion of the upright image to keep, in source pixels, applied before resizing
crop.topintegerYes
crop.leftintegerYes
crop.widthintegerYes
crop.heightintegerYes
scaleintegerNoSize 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
widthintegerNoExact output width in px. Alone, keeps the aspect ratio
formatenumNoOutput format. Defaults to the extension of outputPathjpeg | webp | png
heightintegerNoExact output height in px. Alone, keeps the aspect ratio
qualityintegerNo1-100, ignored for PNG. Defaults to 70
keepExifbooleanNoKeep camera, GPS and date metadata
maxWidthintegerNoShrink to fit this width in px, never enlarge. Best for web, e.g. 1600. Without scale, smaller images keep their size
inputPathstringYesAbsolute path of the image to compress (JPG, PNG, WebP or GIF, up to 50 MB)
maxHeightintegerNoShrink to fit this height in px, never enlarge
overwritebooleanNoReplace output files that already exist
outputPathstringYesAbsolute path to write the result to. Missing folders are created

Details

From the project 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.

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

Markdown supported

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.