L'Atlas / MCP servers / image-processing
MCP server

image-processing

ai.pictomancer/image-processing

MCP server OK 11 tools

Get a review See pricing

Image processing for AI agents: resize, convert, compress, crop, and web-ready AI-generated images.

Technical sheet

Author
pictomancer.ai (registry namespace)
Repository
gitlab.com/pictomancer.ai/pig-gateway
Site
—
Version
0.4.0
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://api.pictomancer.ai/mcp Streamable HTTP
Tools
11
Categories
Images, audio and video, AI, agents and memory
Last updated
18 Aug 2026
Published
18 Aug 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/ai.pictomancer/image-processing.svg?lang=en)](https://latlas.dev/en/mcp/ai.pictomancer/image-processing)
HTML
<a href="https://latlas.dev/en/mcp/ai.pictomancer/image-processing"><img src="https://latlas.dev/badge/fiche/ai.pictomancer/image-processing.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://api.pictomancer.ai/mcp
Last result
OK 28 Nov 2026, 07:53
Response time
206 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
Pictomancer.ai Agent-to-agent image processing: resize, convert, compress, crop, pipeline, back
Tools
11

History

DateResultResponseTools
28 Nov 2026, 07:53OK206 ms11

Exposed tools (11, from tools/list, 28 Nov 2026)

get_format_info

Get supported formats and options Returns supported output formats and their configurable options. ### Responses: **200**: Successful Response (Success Response) Content-Type: application/json

No parameters.

estimate_cost

Estimate the price of an operation Returns the exact USD price this API would charge for an operation on an input of the given size, without fetching or processing anything. Free. Use it before paying: send X-Max-Cost-USD on the real request to have the API refuse (412) instead of charging more than you allowed. The list price is returned even when the request could end up free (free tier, or a compress that does not shrink the file). ### Responses: **200**: Successful Response (Success Response) Content-Type: application/json **Example Response:** ```json { "operation": "Operation", "price_usd": 1.0, "base_usd": 1.0, "surcharges_usd": {}, "size_multiplier": 1.0, "within_free_tier": true, "free_tier_remaining": 1, "currency": "Currency", "network": "Network" } ```

ParameterTypeRequiredDescription
operationstringyesOperation to price. One of resize, compress, convert, crop, optimize_for_vision, optimize_generated, remove_background, pipeline. analyze is always free.
input_bytesintegeryesSize of the input image in bytes. Get it from analyze_image (free) if you do not know it.
formatstringnoRequested output format; only avif changes the price.
quality_targetbooleannoWhether the request will use quality_target (SSIM search surcharge).
operationsarray<any>noFor pipeline only: the ordered operations, each {type, format?}. Volume discount applies at 3+ operations.

analyze_image

Analyze an image Fetch an image from a URL or base64 and return its metadata: size in bytes, pixel dimensions, source format, and what it costs every supported vision model in tokens. Always free. Dimensions are omitted if the image header cannot be read. Also reports whether the input carries a C2PA (Content Credentials) manifest and in which container; the manifest is not validated. ### Responses: **200**: Successful Response (Success Response) Content-Type: application/json **Example Response:** ```json { "size_bytes": 1, "c2pa_manifest": true } ```

ParameterTypeRequiredDescription
sourcestringyesImage source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...).

resize_image

Resize an image Scale an image by a factor, or fill an exact box. Use 'scale' for uniform scaling, or 'scale_x'/'scale_y' for independent axes (float factors, e.g. 0.5 = half size). Alternatively set 'width'+'height' for fill mode: resize and smart-crop to those exact dimensions in one call (optional 'gravity', default attention). The two modes are mutually exclusive. Optional enhancement modifiers: denoise (1-3), equalize, sharpen (applied denoise -> equalize -> op -> sharpen). ### Responses: **200**: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg **Example Response:** ```json "string" ``` Content-Type: image/png **Example Response:** ```json "string" ``` Content-Type: image/webp **Example Response:** ```json "string" ```

ParameterTypeRequiredDescription
deliverystringno
sourcestringyesImage source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...).
scale_xnumbernoHorizontal scale factor (e.g. 0.5 = half width). If only scale_x is given, scale_y defaults to the same value.
scale_ynumbernoVertical scale factor (e.g. 0.75 = 75% height). Optional; defaults to scale_x if omitted.
scalenumbernoUniform scale factor applied to both axes (e.g. 0.5 = half size). Use this for simple scaling; use scale_x/scale_y for independent axes.
formatstringnoOutput format: jpeg, png, webp, tiff, gif, or avif. If omitted, the original format is preserved.
widthintegernoTarget width in pixels for fill mode: resize and smart-crop to these exact dimensions in one call. Requires height. Mutually exclusive with scale/scale_x/scale_y. Upscaling is allowed.
heightintegernoTarget height in pixels for fill mode. Requires width.
gravitystringnoFill-mode smart-crop strategy: one of ('attention', 'entropy', 'centre'). Only valid together with width and height; defaults to attention.
autorotbooleannoApply EXIF orientation before resizing. Opt-in; default false, which preserves current byte-for-byte behavior.
denoiseintegernoMedian denoise before resizing: radius 1-3 (window 3x3 to 7x7). Opt-in; no surcharge.
equalizebooleannoAuto-contrast (histogram equalisation of the value channel; hue and saturation preserved) before resizing. Opt-in.
sharpenbooleannoUnsharp-mask sharpen after resizing (libvips defaults). Opt-in.

compress_image

Compress an image Re-encode an image with quality/format options to reduce file size. Supports jpeg, png, webp, tiff, gif. Instead of a q number you can set quality_target (0-1]: the smallest file with SSIM at or above the target, searched on the worker (jpeg, webp, avif; flat surcharge; outcome reported in X-Pictomancer-Quality-* headers). If the output is not smaller than the input, the request is free (X-Pig-Billed: 0) and does not consume free-tier quota. Optional enhancement modifiers: denoise (1-3), equalize, sharpen (applied denoise -> equalize -> op -> sharpen). ### Responses: **200**: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg **Example Response:** ```json "string" ``` Content-Type: image/png **Example Response:** ```json "string" ``` Content-Type: image/webp **Example Response:** ```json "string" ```

ParameterTypeRequiredDescription
deliverystringno
sourcestringyesImage source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...).
qintegernoQuality (1-100). Lower = smaller file. Typical values: 60-80 for web, 85-95 for print. Maps to libvips Q parameter.
formatstringnoOutput format: jpeg, png, webp, tiff, gif, or avif. If omitted, the original format is preserved.
stripbooleannoStrip metadata (EXIF, ICC profile, etc.) from the output. Reduces file size slightly.
quality_targetnumbernoTarget SSIM (0-1]: the worker searches for the smallest file that still scores at least this. Alternative to q; mutually exclusive with it. Requires an explicit format among jpeg, webp, avif. Carries a flat surcharge for the extra encodes.
autorotbooleannoApply EXIF orientation before compressing. Opt-in; default false, which preserves current byte-for-byte behavior.
denoiseintegernoMedian denoise before compressing: radius 1-3 (window 3x3 to 7x7). Opt-in; no surcharge.
equalizebooleannoAuto-contrast (histogram equalisation of the value channel; hue and saturation preserved) before compressing. Opt-in.
sharpenbooleannoUnsharp-mask sharpen after compressing (libvips defaults). Opt-in.

convert_image

Convert image format Convert an image to a different format (jpeg, png, webp, tiff, gif, avif). Optionally set quality, strip metadata, enable lossless mode (webp, avif), or tune encoder effort (avif). Instead of a q number you can set quality_target (0-1]: the smallest file with SSIM at or above the target, searched on the worker (jpeg, webp, avif; flat surcharge; outcome reported in X-Pictomancer-Quality-* headers). Optional enhancement modifiers: denoise (1-3), equalize, sharpen (applied denoise -> equalize -> op -> sharpen). ### Responses: **200**: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg **Example Response:** ```json "string" ``` Content-Type: image/png **Example Response:** ```json "string" ``` Content-Type: image/webp **Example Response:** ```json "string" ```

ParameterTypeRequiredDescription
deliverystringno
sourcestringyesImage source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...).
formatstringyesTarget format: jpeg, png, webp, tiff, gif, or avif.
qintegernoQuality (1-100). Maps to libvips Q parameter.
stripbooleannoStrip metadata (EXIF, ICC profile, etc.) from the output.
losslessbooleannoEnable lossless encoding. Only applies to webp and avif.
effortintegernoAV1 encoder CPU effort (0-9). Higher = smaller file, slower. Only applies to avif.
quality_targetnumbernoTarget SSIM (0-1]: the worker searches for the smallest file that still scores at least this. Alternative to q; mutually exclusive with it and with lossless. Only for jpeg, webp, avif. Carries a flat surcharge for the extra encodes.
autorotbooleannoApply EXIF orientation before converting. Opt-in; default false, which preserves current byte-for-byte behavior.
denoiseintegernoMedian denoise before converting: radius 1-3 (window 3x3 to 7x7). Opt-in; no surcharge.
equalizebooleannoAuto-contrast (histogram equalisation of the value channel; hue and saturation preserved) before converting. Opt-in.
sharpenbooleannoUnsharp-mask sharpen after converting (libvips defaults). Opt-in.

crop_image

Crop an image Extract a rectangular region from an image, in one of three mutually exclusive modes. Manual: give the top-left corner (x, y) and dimensions (width, height) in pixels. Smart crop: give 'gravity' (attention, entropy, centre) plus width and height; the window is picked automatically, clamped to the source if the target is larger. Trim: set 'trim: true' (optional 'threshold') to remove a uniform background border via content detection; the applied rect is reported in X-Pictomancer-Trim-* headers. Optional enhancement modifiers: denoise (1-3), equalize, sharpen (applied denoise -> equalize -> op -> sharpen). ### Responses: **200**: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg **Example Response:** ```json "string" ``` Content-Type: image/png **Example Response:** ```json "string" ``` Content-Type: image/webp **Example Response:** ```json "string" ```

ParameterTypeRequiredDescription
deliverystringno
sourcestringyesImage source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...).
xintegernoLeft edge of the crop rectangle in pixels. Manual mode only.
yintegernoTop edge of the crop rectangle in pixels. Manual mode only.
widthintegernoWidth of the crop rectangle in pixels. Required in manual and gravity modes.
heightintegernoHeight of the crop rectangle in pixels. Required in manual and gravity modes.
gravitystringnoSmart-crop mode: picks the window automatically. One of ('attention', 'entropy', 'centre'). Requires width and height; mutually exclusive with x/y and trim. A target larger than the source clamps to the source size.
trimbooleannoTrim mode: removes a uniform background border via content detection. Mutually exclusive with x/y/width/height/gravity.
thresholdnumbernoTrim sensitivity (must be positive; default 10.0). Only valid together with trim: true.
autorotbooleannoApply EXIF orientation before cropping. Opt-in; default false, which preserves current byte-for-byte behavior.
denoiseintegernoMedian denoise before cropping: radius 1-3 (window 3x3 to 7x7). Opt-in; no surcharge.
equalizebooleannoAuto-contrast (histogram equalisation of the value channel; hue and saturation preserved) before cropping. Opt-in.
sharpenbooleannoUnsharp-mask sharpen after cropping (libvips defaults). Opt-in.
formatstringnoOutput format: jpeg, png, webp, tiff, gif, or avif. If omitted, the original format is preserved.

optimize_for_vision

Resize an image for a vision model Resize an image to the largest size a given vision model still benefits from, and report what it costs that model in tokens before and after. Every provider downscales oversized input before counting tokens, so this alone saves bytes and upload latency rather than tokens. Pass max_tokens to trade resolution for tokens: that lever is continuous on Claude, unavailable on OpenAI (cost follows the aspect ratio alone), and on Gemini reaches only a flat 258. An image already within budget is returned untouched and free (X-Pig-Billed: 0). ### Responses: **200**: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg **Example Response:** ```json "string" ``` Content-Type: image/png **Example Response:** ```json "string" ``` Content-Type: image/webp **Example Response:** ```json "string" ```

ParameterTypeRequiredDescription
deliverystringno
sourcestringyesImage source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...).
target_modelstringyesVision model the image is being prepared for, e.g. claude-opus-5, gpt-4o, gemini-2.5-pro. Unknown ids are rejected rather than guessed: the wrong limits would silently resize to the wrong size.
max_tokensintegernoOptional cap on what the image may cost the target model. Without it the image is resized to the model's own ceiling, which saves bytes and upload latency but no tokens, because every provider already downscales oversized input before counting. Set a budget to trade resolution for tokens. The respo…
formatstringnoOutput format: jpeg, png, webp, tiff, gif, or avif. If omitted, the original format is preserved.
qintegernoQuality (1-100). Maps to libvips Q parameter.

optimize_generated_image

Optimize an AI-generated image for the web The step after image generation. gpt-image, DALL-E, Flux, Midjourney and Stable Diffusion hand back 2-8 MB PNGs; this returns the same picture as a web-ready webp (default), avif, jpeg or png, metadata stripped, transparency kept on webp/avif/png. Optional max_dimension caps the longest side (never upscales); optional q or quality_target (smallest file with SSIM >= target, flat surcharge) control quality. Same price as convert. If the result is not smaller than the input it is still returned but free (X-Pig-Billed: 0). X-Pictomancer-Bytes-Before/-After/-Saved-Percent report the saving. The input's C2PA manifest, if any, is reported in X-Pictomancer-C2PA-Input but is not carried over: re-encoding invalidates it. ### Responses: **200**: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg **Example Response:** ```json "string" ``` Content-Type: image/png **Example Response:** ```json "string" ``` Content-Type: image/webp **Example Response:** ```json "string" ```

ParameterTypeRequiredDescription
deliverystringno
sourcestringyesImage source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...).
formatstringnoOutput format: webp (default), avif, jpeg or png. webp, avif and png keep transparency; jpeg flattens it.
qintegernoQuality (1-100). Maps to libvips Q parameter. Omit to use the encoder default; or set quality_target instead.
quality_targetnumbernoTarget SSIM (0-1]: the worker searches for the smallest file that still scores at least this. Alternative to q; mutually exclusive with it. Carries a flat surcharge for the extra encodes.
max_dimensionintegernoCap on the longest side in pixels. Larger images are scaled down to fit, aspect ratio preserved; smaller images are never upscaled.
stripbooleannoStrip metadata. Defaults to true: generated images carry no EXIF worth keeping. Metadata includes any C2PA manifest, which would be invalid after re-encoding anyway.

remove_image_background

Remove the background from an image Cut the subject (person, product, animal, object) out of a photo and return it on a transparent background as png (default), webp or avif. Optional q (1-100) for webp/avif. Runs a segmentation model (U2Net) on CPU: expect a few seconds per image, not milliseconds. Not available in pipeline. ### Responses: **200**: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg **Example Response:** ```json "string" ``` Content-Type: image/png **Example Response:** ```json "string" ``` Content-Type: image/webp **Example Response:** ```json "string" ```

ParameterTypeRequiredDescription
deliverystringno
sourcestringyesImage source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...).
formatstringnoOutput format: png (default), webp or avif. All three keep the transparency; jpeg is not offered because it has none.
qintegernoQuality (1-100) for webp and avif. Ignored for png, which is lossless. Omit to use the encoder default.

image_pipeline

Run a multi-step image pipeline Chain multiple operations (resize, compress, convert, crop) in sequence. The image is fetched once, then each operation is applied to the output of the previous one. Max 10 operations per pipeline. ### Responses: **200**: Processed image binary (Success Response) Content-Type: application/json Content-Type: image/jpeg **Example Response:** ```json "string" ``` Content-Type: image/png **Example Response:** ```json "string" ``` Content-Type: image/webp **Example Response:** ```json "string" ```

ParameterTypeRequiredDescription
deliverystringno
sourcestringyesImage source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...).
operationsarray<object>yesOrdered list of operations to apply sequentially. Each operation receives the output of the previous one. Max 10.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://api.pictomancer.ai/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http image-processing https://api.pictomancer.ai/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : image-processing ; URL : https://api.pictomancer.ai/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : image-processing ; Server URL : https://api.pictomancer.ai/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "image-processing": {
      "url": "https://api.pictomancer.ai/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "image-processing": {
      "type": "http",
      "url": "https://api.pictomancer.ai/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "image-processing": {
      "url": "https://api.pictomancer.ai/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "image-processing": {
      "httpUrl": "https://api.pictomancer.ai/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.image-processing]
url = "https://api.pictomancer.ai/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

image-processing · L’Atlas · Tested on

Markdown
[image-processing — L’Atlas](https://latlas.dev/en/mcp/ai.pictomancer/image-processing)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.