McpStamp Image Tools

io.github.theluckystrike由 GitHub 帳號 theluckystrike 發布v0.23.0更新於 Nov 3, 2026

調整尺寸、轉換、壓縮、裁剪和產生縮圖,並清除EXIF和GPS後設資料。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

Resize, convert, compress, crop and thumbnail images, and strip EXIF and GPS metadata.

發布方自己的服務:convert.express

已驗證Streamable HTTP可網頁執行檔案與儲存媒體與設計

概覽

McpStamp Image Tools 的託管 MCP 服務(mcp.zovo.one);無需登入;Streamable HTTP;15 個工具。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

端點
mcp.zovo.one
最近檢查

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 McpStamp Image Tools,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.theluckystrike%2Fimage-resize-convert-compress-watermark/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "mcpstamp-image-tools": {
      "type": "http",
      "url": "https://mcp.zovo.one/mcp/image"
    }
  }
}

README

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.

In the official MCP Registry (io.github.theluckystrike/image-resize-convert-compress-watermark).

Listed on the AI Product Index - live remote endpoint at mcp.zovo.one/s/image, free tier, no signup.

[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_config.json):

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

Claude Code:

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

(.cursor/mcp.json):

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:

sh
git clone https://github.com/theluckystrike/mcp-servers.git && cd mcp-serversnpm installnpm 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

ToolWhat it does
image_infoFormat, pixel dimensions, megapixels, aspect ratio, file size in bytes, whether the image carries an alpha channel, and the bytes it spends per pixel
image_resizeA 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_convertRe-encode as PNG, JPEG, BMP, GIF or TIFF. Transparency going to JPEG is flattened onto white, and the answer says so
image_compressSmaller 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_cropCut a rectangle: x, y from the top-left, width, height. A rectangle past an edge is refused with the real size, never clamped
image_thumbnailsOne thumbnail per file into out_dir, each fitting inside size by size and keeping its aspect ratio
image_watermarkText 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_metadataA copy with pixels and nothing else: EXIF, GPS, camera, capture time, XMP and colour profiles are not carried across
image_batch_resizeResize a whole list into out_dir, each keeping its own aspect ratio, named <name>-<W>x<H>.<ext>
image_dominant_colorsThe colours that cover most of an image, as hex codes with the share of pixels each covers. Free: 3; Pro: up to 16
license_statusShow free or Pro mode
license_activateActivate 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 sayTool
"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

FreePro
image_infoUnlimited, at any sizeUnlimited
image_resize, image_convert, image_compress, image_cropAny 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_metadataAny sizeAny size
image_thumbnails, image_batch_resizeUp to 5 files per call, outputs up to 4 MP eachAny number of files, any size
image_watermarkYour business name from the shared profileAny text you pass
image_dominant_colorsThe top 3 coloursUp 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.

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:

  • out_path: "shot-small.jpg", quality applies, and a photo typically drops 80-95%.
  • out_path: "shot-small.png", quality is reported as not applicable, and only max_width removes bytes.

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 decompressionbomb - 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:

  • The pixels are the same, the bytes are not. A JPEG goes through the encoder a second time, so the copy is not bit-identical to the original even though it looks the same. Keep the original if that matters.
  • Every other writing tool here has the same effect as a side effect. Resizing a photo also drops its EXIF.

Limits

  • Inputs over 50 MB are refused: an image decodes to width x height x 4 bytes of raw RGBA regardless of how well it is compressed on disk.
  • 10,000 px per side, checked from the header first and from the decode second.
  • Read and written: PNG, JPEG, BMP, GIF and TIFF, detected by magic bytes rather than by file extension. No WebP, no AVIF, no HEIC, no SVG, there is no pure-JavaScript decoder for those that is worth shipping, and this server takes no native dependency.
  • An animated GIF is read as its first frame. This server does not do animation.
  • Watermark text is drawn with the bundled Open Sans bitmap faces (8, 16, 32, 64 and 128 px), and the largest one that fits the image is chosen. A character those faces do not carry is not drawn, so there is no CJK watermark.
  • No rotation, no filters, no colour correction, no OCR, no background removal. This server does the size-and-format jobs; it is not an image editor.

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

  • mcp-docx, size a logo here, then put it in the letterhead: image_resize to the header height, then the .docx writer picks the file up from disk.
  • mcp-pdf, shrink the scans before you merge them, so the joined PDF is not 40 MB.
  • mcp-resume, one correctly sized, metadata-free headshot for the CV and the application form.
  • office-suite, several servers behind one install, one config entry.

Troubleshooting

  • npx hangs or fails to find the package: npm publish for this package is pending. Use the .mcpb bundle or the clone-and-build path above until it lands.
  • "quality does not apply to a PNG output": write to a .jpg out_path, or pass max_width. See the section above.
  • "declares NxN pixels ... and was refused before decoding": the file claims a canvas over 10,000 px per side. If it is genuinely that large, resize it with a tool that streams tiles; this server decodes whole images.
  • "does not start with the magic bytes": the file is not a PNG, JPEG, BMP, GIF or TIFF. A .png name on a WebP file is the usual cause; convert it first.
  • "already exists and nothing was written": pass overwrite: true, or a different out_path.
  • The watermark is tiny: the largest bundled face is 128 px, and it is chosen to fit within 80% of the image width. On a very large photo, resize first and watermark second.
  • Node version: requires Node >= 18. Check with node -v.

MIT licensed. Support: [email protected]

Built by theluckystrike.

Use these docs as an MCP server

Any MCP client (Claude, Cursor, Windsurf, VS Code) can read this repository's documentation directly via GitMCP - no install:

來源:servers/image/README.md,提交 6535b33

工具

15

image_info

Inspect an image

Call this tool to inspect an image: format, pixel dimensions, megapixels, file size in bytes, and whether it carries an alpha channel. Read-only, never modifies the file. Free tier: unlimited, any size.

輸入參數path必填

image_resize

Resize an image

Call this tool to write a resized copy. fit inside keeps aspect; cover fills and crops; exact stretches. One of width/height alone keeps aspect. Input untouched. Free: sources up to 4 MP.

輸入參數fitpath必填widthheightout_path必填overwrite

image_convert

Convert an image to another format

Call this tool to re-encode an image as PNG, JPEG, BMP, GIF or TIFF. quality is JPEG-only. Transparency converted to JPEG flattens onto white; the answer says so. Free tier: sources up to 4 MP.

輸入參數path必填format必填qualityout_path必填overwrite

image_compress

Compress an image

Call this tool to re-encode an image smaller and report byte counts before/after. quality (default 80) applies to JPEG; for PNG only max_width shrinks it, and the answer names which one worked. Free: sources up to 4 MP.

輸入參數path必填qualityout_path必填max_bytesmax_widthoverwrite

image_crop

Crop an image

Call this tool to cut a rectangle out of an image. x, y are the top-left corner in pixels from the image's top-left. A rectangle past an edge is refused with the image's real size, not clamped. Free: sources up to 4 MP.

輸入參數x必填y必填path必填width必填height必填out_path必填overwrite

image_thumbnails

Make thumbnails

Call this tool to write one thumbnail per input into out_dir as <name>-thumb.<ext>, fit inside size by size, aspect kept. Paths are reserved before writing, so a collision leaves nothing half-done. Free: 5/call, 4 MP.

輸入參數sizepaths必填out_dir必填overwrite

image_watermark

Watermark an image with text

Not available on this hosted endpoint: the watermark is drawn with bitmap font files loaded from a filesystem, which this endpoint does not have. Watermark on a local install instead - download image.mcpb from https://github.com/theluckystrike/mcp-servers/releases/latest and open it in Claude Desktop - or upload an image you have already watermarked.

輸入參數path必填textopacityout_path必填positionoverwrite

image_strip_metadata

Strip metadata from an image

Call this tool to write a copy carrying pixels and nothing else: it decodes and re-encodes from raw pixels, so EXIF, GPS, camera, capture time, XMP and colour-profile data are dropped. Free tier: sources up to 4 MP.

輸入參數path必填out_path必填overwrite

image_batch_resize

Resize several images at once

Call this tool to resize every image in paths at once, keeping aspect ratio, each named <name>-<W>x<H>.<ext>. One of width/height lets the other follow; with both, each fits inside the box. Free: 5 files a call, 4 MP.

輸入參數paths必填widthheightout_dir必填overwrite

image_dominant_colors

Read the dominant colours of an image

Call this tool to read the colours covering most of an image, as hex codes with each one's pixel share. Sampled from a 200 px copy, so cost is fixed. Read-only. Free gives the top 3; Pro up to 16.

輸入參數path必填count

license_status

License status

Report this endpoint's licence state for your token as JSON: the product, the tier free or pro, why it is not Pro, and the checkout URL. Call it to explain a free-tier refusal. No arguments, nothing changes.

無需輸入參數。

license_activate

Activate license

Turn Pro on for this connection with key, an MCPL1.<payload>.<signature> issued at checkout for this server or the bundle. Data under your token stays; a wrong or expired key changes nothing. license_status confirms it.

輸入參數key必填

image_upload

Upload an image to work on

Send an image to this hosted endpoint. There is no filesystem here, so instead of a path you upload the file once with image_upload and then pass its name as `path` (or inside `paths`) to image_info, image_resize, image_convert, image_compress, image_crop, image_thumbnails, image_batch_resize and image_dominant_colors. PNG, JPEG, BMP, GIF and TIFF are accepted and the format is read from the file's magic bytes, not from the name. Give exactly one of image_base64 or url. url: fetch a public file instead of pasting base64 (recommended above about 10 KB): writing out a real photo as base64 is a long tool call and 50 KB or more can stall the turn before the upload is sent, while a url costs one line and the fetch happens here (10 second timeout, at most 3 redirects, public http(s) hosts only, 2 MB cap). Uploads are kept for your token between calls; image_files lists them and image_delete_upload removes one. A file this server writes is named the same way and comes back as a download link valid for one hour, served with the real image content type. The request body cap is 256 KB, which is about 190 KB of image once base64-encoded.

輸入參數urlname必填image_base64

image_files

List uploaded and generated images

List the images stored for your token: what you uploaded, and what this server has written, with their sizes.

無需輸入參數。

image_delete_upload

Delete a stored image

Delete one image stored for your token, uploaded or generated: name is the name it is stored under. image_files lists them. A name nothing is stored under is refused and nothing is deleted.

輸入參數name必填

版本歷史

4
  1. v0.23.0最新Nov 3, 2026
  2. v0.22.6Oct 14, 2026
  3. v0.22.0Sep 17, 2026
  4. v0.21.0Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Convert 整合