All servers · Buy Pro $19 · Source · Claude Desktop bundle (.mcpb)

mcp-image

Say "make these five photos 1200 pixels wide" or "shrink this screenshot and strip the GPS out of it" and it happens, on your machine, in a second. This MCP server does the small image jobs that otherwise send you to a web uploader: resize, convert between PNG, JPEG, BMP, GIF and TIFF, compress with a real before-and-after byte count, crop, thumbnail a folder, watermark with your business name, and drop the EXIF block a phone camera writes into every photo. No upload, no account, no native dependency, no image editor.

image demo

The image chores of a freelance business, done from chat instead of from a browser tab you would rather not hand a client photo to.

60-second install

npm publish for @theluckystrike/mcp-image is pending. Until then, the .mcpb one-click bundle or a clone+build is the working path -- both are verified below.

One-click (.mcpb): download image.mcpb from the latest release and double-click it in Claude Desktop: https://github.com/theluckystrike/mcp-servers/releases/latest

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "image": {
      "command": "npx",
      "args": ["-y", "@theluckystrike/mcp-image"]
    }
  }
}

Claude Code:

claude mcp add image -- npx -y @theluckystrike/mcp-image

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "image": {
      "command": "npx",
      "args": ["-y", "@theluckystrike/mcp-image"]
    }
  }
}

The npx form above starts working the moment the package is published. Until then, use the .mcpb bundle above, or build from source with exactly these three commands:

git clone https://github.com/theluckystrike/mcp-servers.git && cd mcp-servers
npm install
npm run build -w packages/mcp-license -w servers/image

Then point your client's command at node with one arg: the absolute path to servers/image/dist/index.js.

To run in Pro mode set MCP_LICENSE_KEY in the same config block, or call license_activate once with your key.

Tools

Tool What it does
image_info Format, pixel dimensions, megapixels, aspect ratio, file size in bytes, whether the image carries an alpha channel, and the bytes it spends per pixel
image_resize A resized copy. inside fits within the box and keeps the ratio, cover fills the box and crops the overflow, exact stretches. Give one of width or height and the other follows
image_convert Re-encode as PNG, JPEG, BMP, GIF or TIFF. Transparency going to JPEG is flattened onto white, and the answer says so
image_compress Smaller bytes, with the count before and after and the percentage saved. quality (default 80), max_width, and max_bytes to hit a size target in one call
image_crop Cut a rectangle: x, y from the top-left, width, height. A rectangle past an edge is refused with the real size, never clamped
image_thumbnails One thumbnail per file into out_dir, each fitting inside size by size and keeping its aspect ratio
image_watermark Text over the image at a corner and an opacity, white on a translucent plate. With no text, your business name from the shared profile mcp-invoice and mcp-docx write
image_strip_metadata A copy with pixels and nothing else: EXIF, GPS, camera, capture time, XMP and colour profiles are not carried across
image_batch_resize Resize a whole list into out_dir, each keeping its own aspect ratio, named <name>-<W>x<H>.<ext>
image_dominant_colors The colours that cover most of an image, as hex codes with the share of pixels each covers. Free: 3; Pro: up to 16
license_status Show free or Pro mode
license_activate Activate a Pro key (verified offline)

Resource: image://recent returns the last 25 operations, newest first, with the inputs, the files written and when. Prompt: prepare_for_web takes a camera-sized image down to a page-sized JPEG, drops the metadata that came with it, and reports the bytes saved.

What you can say

You say Tool
"How big is this image, and does it have transparency?" image_info
"Make this 1200 pixels wide." image_resize
"Turn this PNG into a JPEG." image_convert
"This photo is 8 MB, get it under a megabyte." image_compress
"Crop the top banner out of this screenshot." image_crop
"Make thumbnails of everything in this folder." image_thumbnails
"Put my company name in the corner of this photo." image_watermark
"Strip the GPS coordinates before I send this." image_strip_metadata
"Resize all of these to 1600 wide." image_batch_resize
"What colours is this logo built from?" image_dominant_colors
"Get this ready for the website." prepare_for_web prompt

Worked example

You: This photo is too big for the site. Get it to 1600 wide and drop the metadata.

  image_info { path: "~/photos/DSC_0491.jpg" }
  -> 6000x4000, 24 MP, JPEG, 8.4 MB, no alpha

  image_compress {
    path: "~/photos/DSC_0491.jpg",
    max_width: 1600,
    quality: 80,
    max_bytes: 256000,
    out_path: "~/photos/DSC_0491-web.jpg"
  }
  -> 8.4 MB -> 243.7 KB (8809124 -> 249556 bytes, -97.2%)
  -> Method: JPEG quality 62 (searched down from 80 in 5 encodes to fit 250.0 KB)
     and a resize to 1600 px wide
  -> ~/photos/DSC_0491-web.jpg, 1600x1067, JPEG

The JPEG re-encode also drops the EXIF block the camera wrote, including the GPS coordinates. The original file is byte-for-byte unchanged.

Free vs Pro

Free Pro
image_info Unlimited, at any size Unlimited
image_resize, image_convert, image_compress, image_crop Any source, writing outputs up to 4 MP (2000x2000 and a bit) Any size, up to the 50 MB / 10,000 px input caps
image_strip_metadata Any size Any size
image_thumbnails, image_batch_resize Up to 5 files per call, outputs up to 4 MP each Any number of files, any size
image_watermark Your business name from the shared profile Any text you pass
image_dominant_colors The top 3 colours Up to 16

The free limit is on what gets written, not on what gets read: a 12 MP phone photo taken down to 1600 px wide is a free call, because that is the job. Writing 12 MP back out again is the Pro one.

A tier limit is an answer, not an error, and nothing is written when one refuses a call.

Pro is a one-time $19, or $39 for every server in the collection, lifetime.

Get Pro: https://mcp.zovo.one/buy/image

quality is a JPEG parameter, and only a JPEG parameter

This is the one thing about image compression that surprises people, so the server says it in its own answer rather than accepting a number and quietly doing nothing with it. A JPEG throws away detail to get smaller, and quality is the dial for how much. A PNG is lossless: there is no dial. Passing quality: 40 to a PNG output does not make a PNG 60% smaller, it makes exactly the same PNG.

So the output format follows the extension of your out_path, and that is the lever:

Palette quantisation was measured as an alternative for PNG and rejected: re-encoding a 300x220 noisy PNG through a 16-colour quantiser produced a larger file (115,451 bytes against 39,262), because the encoder here writes RGBA either way and quantising only destroys the row-to-row similarity that the deflate step was exploiting. A tool that claims to compress and returns a bigger file is worse than a tool that says which knob exists.

image_compress therefore always reports the byte count before and after, the percentage, and the method that did the work -- and, if the output came out larger, it says so and tells you to keep the original.

Decompression bombs are refused from the header, before anything decodes

A 4 KB PNG can declare that it is 20,000 by 20,000 pixels. Decoding it allocates 1.6 GB of RGBA and takes the process down before any size check written after the decode could ever run. So the declared dimensions are read out of the container header -- PNG IHDR, the JPEG SOF segment, the GIF logical screen descriptor, the BMP info header, the first TIFF IFD -- and a file over 10,000 px on a side is refused there, with the memory it would have taken named in the message:

Error: /path/bomb.png declares 20000x20000 pixels in its PNG header and was refused before decoding:
this server caps a side at 10000 px. A small file that declares an enormous canvas is a decompression
bomb - decoding it would allocate 1526 MB of RGBA. Nothing was decoded.

The decoded size is checked again afterwards, because a header probe can come back empty on an unusual TIFF, and a guard that only sometimes runs is not a guard.

Existing files are never overwritten, and inputs are never modified

Every tool writes a new file and leaves its inputs byte-for-byte alone -- there is no in-place mode, on purpose. An out_path that already exists is refused:

Error: /path/shot-small.png already exists and nothing was written.
Pass overwrite: true to replace it, or give a different out_path.

The path is reserved with an exclusive create, not an existence check, so two processes writing the same out_path at the same time cannot clobber each other: one wins, the other is refused and writes nothing. image_thumbnails and image_batch_resize reserve every one of their output paths before writing any of them, so a collision on file 3 does not leave files 1 and 2 behind as a half-done batch -- and the reservations are released, so nothing empty is left on disk either.

Pass overwrite: true when replacing the file is what you want.

overwrite: true still does not let an output be an input. Writing a result back over one of its own sources destroys that source -- the pixels are already decoded in memory and get written over the file they came from, so a 4000 px original becomes the 512 px thumbnail and every later read of that path is quietly wrong. So an out_path that resolves to (or shares an inode with) any input of the same call is refused before any work happens.

What "strip metadata" actually does

image_strip_metadata decodes the image and re-encodes it from the raw pixels. EXIF, GPS coordinates, the camera and lens, the capture time, XMP packets and embedded colour profiles are not removed one by one -- they are simply never handed to the encoder, so they cannot come out the other side. Two consequences worth knowing:

Limits

How it stores data

Only a register of what it did: ${XDG_DATA_HOME:-~/.local/share}/mcp-servers/image/operations.json, the last 500 operations, as plain JSON. Your images stay where you put them. Every write to the register runs inside an advisory lock on .../image/.lock, so two clients on one data directory cannot lose a record, and saves go to a temporary file and are renamed into place.

If the register is unreadable or not valid JSON it is never treated as "empty": it is moved aside byte-for-byte as operations.json.corrupt-<timestamp> with a marker beside it. The image you asked for is still written -- the file is on disk before the register is touched -- and the answer tells you the history could not be updated.

The watermark reads the one shared profile the whole suite uses, ${XDG_DATA_HOME:-~/.local/share}/mcp-servers/profile/business.json, written by business_set in mcp-invoice or mcp-docx. Nothing is invented: with no name stored and no text passed, image_watermark refuses and says which tool to run.

Privacy

All data stays local. The server reads and writes files on your machine and makes no network request of any kind -- not for licensing (keys are verified offline), not for fonts, not for telemetry. A client photo you resize is never uploaded anywhere, which is the entire reason this exists.

Pairs with

Troubleshooting

MIT licensed. Support: support@zovo.one

Built by theluckystrike.

Set it up in your client

Exact config path, entry and caveats: Claude Desktop · Claude Code · Cursor · VS Code · Windsurf · Cline · Claude.ai and Claude Desktop connectors · all clients

Compared with the alternatives

MCP Image Tools vs Pictomancer and Image Resize API: which MCP server to pick · all comparisons

Guides

How to track billable hours inside Claude Code and Cursor · Create an invoice PDF from a chat message with an MCP server · Ask questions about an Excel or CSV file from Cursor or Claude · Watch a product price with Claude and get told when it drops · What the free tier includes and what Pro adds · Log expenses and mileage in Claude, split VAT, rebill to an invoice · Convert currencies in Claude with real ECB rates, no API key · Generate Word proposals and contracts from a chat message · Find a meeting time across time zones without doing the arithmetic · Write a resume and a cover letter from chat, without inventing anything · Bill a retainer on a schedule without a billing SaaS · Assemble a contract from your own clause library, in chat · Connect MCP servers to Claude.ai, Claude Desktop, Cursor and VS Code without installing anything · Merge, split and stamp PDFs from chat, and why some come back as glyph numbers · Read a .ics calendar in Claude: free and busy, conflicts, and billable meetings · Run a kanban board in Claude, with time tracking on the same task · Resize, compress and watermark images from a chat message · Categorize and reconcile a bank CSV export from chat · Send a quote from chat, then turn the yes into an invoice · All guides