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必填
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
McpStamp Image Tools 的托管 MCP 服务(mcp.zovo.one);无需登录;Streamable HTTP;15 个工具。
暂无 AI 概览:以下信息来自注册中心条目和服务本身。
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 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"mcpstamp-image-tools": {
"type": "http",
"url": "https://mcp.zovo.one/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.
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.
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):
Claude Code:
(.cursor/mcp.json):
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:
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.
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.
The JPEG re-encode also drops the EXIF block the camera wrote, including the GPS coordinates. The original file is byte-for-byte unchanged.
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 parameterThis 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.
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:
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.
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:
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.
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:
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.
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.
image_resize to the header
height, then the .docx writer picks the file up from disk.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..jpg out_path, or pass max_width. See the section
above..png name on a WebP
file is the usual cause; convert it first.overwrite: true, or a different out_path.node -v.MIT licensed. Support: [email protected]
Built by theluckystrike.
Any MCP client (Claude, Cursor, Windsurf, VS Code) can read this repository's documentation directly via GitMCP - no install:
来源:servers/image/README.md,提交 6535b33
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必填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必填overwriteConvert 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必填overwriteCompress 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_widthoverwriteCrop 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必填overwriteMake 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必填overwriteWatermark 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必填positionoverwriteStrip 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必填overwriteResize 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必填overwriteRead 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必填countLicense 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.
无需输入参数。
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必填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_base64List uploaded and generated images
List the images stored for your token: what you uploaded, and what this server has written, with their sizes.
无需输入参数。
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必填已满足适用检查项的 100%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
express.convert官方发布者
将音频和视频转录为文本、SRT 或 VTT。支持摘要、翻译。可选 OAuth 登录。AI 翻译
com.forevenza.services
托管型 MCP 服务器,可将 CSV、XLSX 和文本型 PDF 转换为 JSON,支持私有上传或 URL,无需 API 密钥。

由 GitHub 账号 mrfentmen 发布
离线单位换算 MCP 服务器,让助手在 100 多种单位之间换算数值,并列出支持的类别与单位。
org.jam-jam
Jam Jam 可将音频、PDF、照片和文本转成和弦谱,并让助手管理 Jam Jam 歌本、歌单、分轨与母带处理。

由 GitHub 账号 kr-data-api 发布
把韩国地址转成官方英文格式(道路地址、邮政编码、罗马化单位),并对照政府数据库验证。
{ "mcpServers": { "image": { "command": "npx", "args": ["-y", "@theluckystrike/mcp-image"] } }}claude mcp add image -- npx -y @theluckystrike/mcp-image{ "mcpServers": { "image": { "command": "npx", "args": ["-y", "@theluckystrike/mcp-image"] } }}git clone https://github.com/theluckystrike/mcp-servers.git && cd mcp-serversnpm installnpm run build -w packages/mcp-license -w servers/imageYou: 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, JPEGError: /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.Error: /path/shot-small.png already exists and nothing was written.Pass overwrite: true to replace it, or give a different out_path.