Image-Toolbox-MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Image-Toolbox-MCP_By-Cowlsly
An open-source Model Context Protocol (MCP) integration for Image Toolbox, enabling AI assistants to access image conversion, editing, compression, metadata, and batch-processing workflows. Developed by Cowlsly as an independent integration with attribution to the original project.
Status: 0.9.0 pre-release. Eleven tools:
image_inspect(read-only),image_convert(JPEG/PNG/WebP),image_resize,image_compress,image_rotate_flip,image_crop,image_adjust,image_watermark,image_recipe,image_tagandimage_batch(one operation on a whole folder, resumable). Waiting only on a real-phone install check before 1.0. See roadmap.md and docs/PROJECT_STATE.md.
Attribution
Image Toolbox is an Android image editor by T8RIN (Malik Mukhametzyanov), licensed under Apache-2.0. This project is independent and is not affiliated with or endorsed by the Image Toolbox authors. It currently contains no Image Toolbox source code; image processing is done by its own Python engine built on Pillow. See docs/audit/upstream-audit.md.
Related MCP server: Image Processing MCP Server
How it works
Python 3.10+ server, Pillow image engine, official MCP Python SDK over stdio. Rationale: ADR-0001.
You choose one input folder; the server can only read images inside it. Paths with .., symbolic links, and absolute paths outside the folder are refused. Originals are never modified. New files go into one output folder (default imagetoolbox-out inside the input folder, or --out DIR); existing files are never overwritten — a -1, -2… suffix is added instead. There are no shell, network or general file tools. Output rules: ADR-0002.
Tool | What it does |
| Format, width/height, colour mode, alpha, frames, file size, orientation, a safe EXIF subset. GPS is never returned — only whether it is present. |
| Convert to |
| Resize by |
| Make a file smaller. JPEG/WebP: |
|
|
| Either a box — |
|
|
| One line of |
| Up to 10 |
| New copy whose only metadata is the |
| Apply one |
Input formats: JPEG (incl. multi-picture MPO), PNG, WebP, GIF, TIFF, BMP — anything else is refused with [unsupported_format]. Security design and known limits: docs/threat-model.md.
Format limits: JPEG has no transparency (it is filled with white and a warning is returned); converting a JPEG to PNG/WebP does not bring back detail already lost; animated images are converted from their first frame only.
Run it (an MCP client normally launches this for you):
imagetoolbox-mcp --root ~/Pictures # or: IMAGETOOLBOX_MCP_ROOT=~/Pictures imagetoolbox-mcp
imagetoolbox-mcp --root ~/Pictures --out ~/Pictures/converted # optional output folder (or IMAGETOOLBOX_MCP_OUT)Useful options: --isolate SECONDS (each operation in a child process with a hard time limit), --max-megapixels MP (lower memory use), --log-format json, --sbom (print a CycloneDX SBOM). Examples: docs/examples.md; client configs: docs/config-samples.md; error codes: docs/errors.md.
Using it from an Android phone (Termux + Claude Code or Gemini CLI), and why the Claude/ChatGPT apps can't connect yet: docs/clients.md.
Example client config (mcpServers style, used by many desktop clients):
{ "mcpServers": { "imagetoolbox": { "command": "imagetoolbox-mcp", "args": ["--root", "/path/to/images"] } } }Install and test (developers)
python -m pip install -e . # Python 3.10+; pulls in pillow and mcp
python -m unittest discover -s tests -t .
imagetoolbox-mcp --versionLint: ruff check src tests && ruff format --check src tests. Full developer guide and supported platforms: docs/development.md. Dependencies and licences: docs/dependencies.md.
Termux (Android): step-by-step guide in docs/install-termux.md (VERIFY on a real phone). Check any install with imagetoolbox-mcp --self-test — it runs every tool on generated images in a temporary folder and prints PASS/FAIL per check. More in CONTRIBUTING.md; security reports: SECURITY.md.
Licence
MIT. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Image and video AI tools and your own pipelines, run from any AI assistant.
Image & PDF tools for AI agents: compress, convert, resize, PDF, AI vision, pipeline.
Convert JPG images to and from popular formats through MCP-compatible AI clients.
Image and PDF toolkit: convert to AVIF/WebP/JXL, resize, crop, remove backgrounds, optimize PDFs.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables text-to-image generation, style transfer, background removal, and automatic image cropping using Google's Imagen AI models through the Model Context Protocol.-
- AlicenseNot gradedqualityBmaintenanceEnables image processing tasks such as resizing, compressing, converting formats, cropping, and extracting metadata directly within IDEs like Cursor via the Model Context Protocol.16 npm4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to generate and edit images using Azure OpenAI's gpt-image-1 model through the Model Context Protocol.3MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI image processing tools such as vectorization, background removal, upscaling, and logo generation from any MCP-compatible client like Claude Code or Cursor.14 npmMIT