Deterministic, non-generative image transform MCP server: reproducible recipes, immutable originals.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
English | ๆฅๆฌ่ช | ็ฎไฝไธญๆ
A deterministic (non-generative) asset transformation MCP server for general-purpose AI agents, written in Rust.
It executes editing intent โ "level the horizon, crop to 16:9, brighten it up a touch" โ as a declarative transform recipe, and tracks every result as an immutable revision. The original asset is never modified.
Tilt correction + auto levels + a look applied (a fully deterministic recipe) โ left: input / right: output.
See docs/DESIGN.md for the full design.
Eye-catch image for an article
"Straighten this photo and crop it to a 16:9, 1600px eye-catch. WebP."
import_assetโdetect_tilt(the AI skips correction when it's already near-level) โapply_transform(rotate โ crop โ resize โ encode) โexport_asset. The original is never touched, and the same recipe reproduces the same result every time.
Multiple sizes for social/CMS
"Generate the OGP, Instagram square, and thumbnail versions of this photo." One original fans out into OGP 1200ร630, Instagram 1080 square, and a 400px thumbnail in parallel. The same-recipe-same-revision idempotency means re-running never double-creates output; a one-word preset name works too.
Safe to publish
"Strip the location data for sure, but don't touch the colors."
strip_metadata(exif) removes EXIF including GPS while keeping the ICC profile intact. The AI can also warn ahead of time by checkinghas_gpsfrominspect_image.
Color and look adjustments
"Make just the sky bluer, leave everything else alone." Covers
curves/levels/hsl/white_balance, thefilm_softpreset, and importing your own.cubeLUT withimport_assetthen applying it withlut.
Local (masked) adjustments
"Darken just the sky a bit, keep the ground as is."
generate_maskbuilds a mask (gradient, luminosity range, or hue range); after wiring it into the adjustment,render_previewwithoverlay:"mask"shows exactly where it will bite before you commit.
Layer compositing
"Blur a copy of this photo and blend it in at 50% screen for a soft glow." The
layersstack combines 16 blend modes, opacity, and masks to build reproducible composites like soft focus.
Watermarks, retouching, and perspective
"Stamp my logo in the corner, remove the power lines, and fix the converging verticals."
svg_overlayburns in a logo,clone/healremove blemishes or wires by compositing both texture and tone, andperspectivecorrects converging verticals.
Reading documents (OCR pre-processing)
"Read this receipt photo for me." / "What does this slide say?"
detect_documentfinds the page or screen and returns aperspectivequad ready to paste, theocr_documentpreset (grayscale, auto levels, light sharpen) andtrimconcentrate the pixel budget on the text, andrender_previewwithlong_edge:1568hands the model an image it can actually read. No OCR engine is bundled: the model does the reading, atx only makes the pixels legible and reproducible.threshold(Otsu / Sauvola) andocr_binarizeexist for external OCR engines.
Verification and accountability
"Show me this image before and after the edits, side by side."
compare_revisionsplaces before/after side by side, or returns a difference heatmap with stats likemean_abs_diff. Every revision keeps its lineage, so the full edit history behind any image used in an article can be traced and reproduced โ byte-identical on any machine.
What atx doesn't do โ generative editing, RAW development, ML-based auto-cropping, OCR itself โ is out of scope; see docs/DESIGN.md for the roadmap.
No Rust toolchain required. Pick one of the following.
Node.js 18+ is all you need. The prebuilt native binary for your platform is
pulled in automatically via optionalDependencies.
Or add it directly to your MCP client config:
Installer scripts (default install location is ~/.local/bin, or
%LOCALAPPDATA%\Programs\atx-mcp on Windows; the archive is verified against
SHA256SUMS before extraction):
To download manually, grab atx-mcp-<version>-<target>.tar.gz (.zip on
Windows) from Releases.
Supported targets:
| Platform | Target triple |
|---|---|
| macOS (Apple Silicon) | aarch64-apple-darwin |
| macOS (Intel) | x86_64-apple-darwin |
| Linux x86_64 | x86_64-unknown-linux-musl (statically linked, no glibc required) |
| Linux arm64 | aarch64-unknown-linux-musl (statically linked, no glibc required) |
| Windows x86_64 | x86_64-pc-windows-msvc |
All you need is a Rust toolchain and a C compiler (for building libwebp from its vendored source).
--workspace (env: ATX_WORKSPACE) is the directory used as the asset store.
It is created automatically if it doesn't exist.
| Tool | Role |
|---|---|
list_operations | Compact catalog of the recipe vocabulary: every operation with a one-line description and terse parameter hints, plus the built-in preset names. Optional category:"geometry"|"color"|"filter"|"output" narrows it (read-only) |
explain_operation | Full reference for one operation: parameter table (type, range, required/default, semantics), ready-to-paste JSON examples and gotchas. A built-in preset name works too and returns its full operation list. An unknown name returns the valid operations and presets, grouped (read-only) |
import_asset | Import a local image into the workspace (sha256-idempotent). Takes path for one file or paths for a batch of up to 64 (a failing file does not abort the batch). Warns via already_derived_from when the bytes are already the output of a recipe in this workspace |
inspect_image | Inspect dimensions, EXIF, ICC profile, presence of GPS data, etc. (read-only) |
detect_tilt | Estimate tilt angle via Canny+Hough (coarse) plus a projection profile (sub-0.1ยฐ refinement). Also returns horizontal/vertical family estimates; the full score curve is opt-in via include_score_curve:true. Returns "do not correct" when confidence is low (read-only) |
detect_document | Find the dominant quadrilateral (page, screen, whiteboard, sign) via Canny + contours and return it as a perspective-ready quad (tl, tr, br, bl) with confidence, area_ratio, an output_size_hint and a paste-ready suggested_operation. Returns quad:null with a reason (no_quad_found / already_rectified / low_confidence) rather than guessing (read-only) |
generate_mask | Generate a deterministic grayscale mask (linear_gradient / radial_gradient / luminosity_range / color_range) as a PNG revision with the same dimensions as the reference image, to be referenced from an operation's mask field (idempotent) |
render_preview | Apply a recipe (or a preset) at low resolution (long edge โค768 by default, long_edge 256..1568 to hand a vision model a legible page) and return it as an inline image. overlay:"grid"|"thirds"|"horizon" overlays composition guide lines, and overlay:"mask" (with mask_revision_id) tints the coverage of a mask (drawn on the preview only; it has no effect on the actual transform) |
apply_transform | Apply a recipe (or a preset) at full resolution and produce a new revision (the same recipe always yields the same revision). Takes revision_id for one image or revision_ids to run the same recipe over a batch of up to 64 |
compare_revisions | Downscale two revisions to long edge โค640 and return them composited into a single inline image, arranged via layout:"side_by_side"|"stacked" (for A/B and before/after visual comparison), or layout:"diff" for a single pixel-difference heatmap plus mean_abs_diff/max_abs_diff/changed_pixel_ratio stats (requires equal dimensions) |
list_assets | Read the revision ledger (read-only) |
export_asset | Write a revision out to a given path (an existing file is only overwritten when overwrite:true is explicitly set) |
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/atx-mcp)<a href="https://allmcps.com/mcp/atx-mcp"><img src="https://allmcps.com/api/badge/atx-mcp?style=directory" alt="Atx MCP on AllMCPs" /></a>