Local media operations for MCP clients - images, video and audio. CPU-first, no paid APIs, external network access isolated and documented.
Strong toolkit with 23 well-named, action-verb tools covering image, video, and audio operations. All tools have descriptions (avg 180 chars, within baseline 194). Input schemas present with type definitions for all parameters. However, output schemas are not explicitly documented in the visible code, only inferred from descriptions. Error handling is present but recovery guidance is minimal. Tool composition is excellent (single responsibility, chainable IDs). Security is solid (no secrets in params, file path validation). Missing: tool annotations (readOnlyHint/destructiveHint), structured output documentation, and explicit error classification.
Draw semi-transparent text onto an image at a chosen corner or the centre. position is top-left, top-right, bottom-left, bottom-right or center; opacity runs 0 (invisible) to 1 (solid). This overlays text - it is not a filter and does not modify the underlying pixels' content.
Apply one operation to many files with bounded concurrency. Useful for batch resizing, format conversion, or background removal. Concurrency defaults to the configured batch_concurrency; pass concurrency to override. Returns a list of results, one per input file, in the same order.
Compare two images: dimensions, format, file size, SHA-256, and a coarse mean pixel difference computed on 64x64 thumbnails. Byte equality is exact; the similarity score is a rough guide only and is explicitly not forensic evidence of identity or provenance. Writes nothing.
Re-encode an image to png, jpeg, webp, or avif (avif only if this Pillow build supports it - list_capabilities reports which formats are writable). quality applies to lossy formats; lossless=true applies to webp and avif. Converting an image with transparency to jpeg flattens it onto the background colour and says so in the result rather than dropping alpha silently.
Tile several images into one sheet for review, with optional filename labels. Useful for comparing a batch of generated images at a glance. Images that cannot be read are skipped and listed rather than aborting the sheet.
Output schemas not explicitly documented. Tool descriptions infer return structure but no formal schema definitions visible in code. LLMs cannot reliably plan downstream tool calls without knowing exact response fields.
Tool annotations missing. No readOnlyHint, destructiveHint, or idempotentHint attributes visible. LLMs cannot distinguish safe read-only tools from destructive ones without explicit hints.
Error recovery guidance minimal. Descriptions state what tools do but lack actionable error messages. E.g., 'remove_background' mentions model names but does not guide LLM on what to do if model download fails or GPU is unavailable.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 63 | <=2025-11-25 | v2 |
Pull the audio track out of a video and save it as mp3 or wav. Defaults to mp3; pass audio_format='wav' for lossless audio.
Generate an image from a text prompt using the Pollinations.ai public endpoint. This is the only tool that leaves this machine - your prompt is sent to a third party. No API key is required today, but that is a property of the service, not a guarantee. Dimensions default to 1024x1024; pass width and height to change. Pass seed for reproducibility.
Describe a media file without changing it. For images: format, dimensions, aspect ratio, colour mode, alpha, EXIF/ICC presence, frame count. For video: container, duration, dimensions, fps, video and audio codecs, bitrate, frame count. For audio: codec, duration, sample rate, channels. Use this before deciding how to process something rather than guessing from the file extension.
List the background-removal models available to this rembg installation, with size, rough speed, and licence status. Models whose licence has not been verified against a primary source say 'not verified' rather than guessing - check before commercial use.
Report every tool in this server, what it requires (local or hosted, network, GPU, external binary, model), and whether this machine can currently run it. Also reports the configured resource limits. Call this when a tool fails with a missing-dependency error, or before planning a multi-step job.
List the built-in image and video dimension presets (square, portrait, story, vertical, and so on). These are a convenience, not a platform certification.
Inspect a media file, then choose and apply a deterministic optimisation. For images: convert to WebP at quality 80 (or JPEG if WebP is not supported), strip metadata, and optionally resize. For video: re-encode to H.264/AAC at CRF 28. Always reports what it did.
Cut the subject out of an image and save it as a transparent PNG. The default model is u2net (Apache-2.0, fast). Pass birefnet-general for noticeably better hair and fine-edge quality at the cost of a large one-time weights download and much slower CPU inference. The model name is always explicit; this tool never falls back to rembg's own internal default.
Resize an image with Lanczos resampling. By default it fits the image inside the given width and height without distorting it, so the result may be smaller than requested in one dimension; pass keep_aspect=false to stretch to exactly width x height. Returns the output path and the dimensions actually produced.
Remove all metadata from an image - EXIF (including GPS coordinates, camera model and timestamps), ICC profiles, XMP and PNG text chunks - by rebuilding the file from raw pixel data. A privacy tool, not a creative one. The result lists what was actually removed.
Upscale an image with Real-ESRGAN via Upscayl's Vulkan binary. Requires a discrete GPU and the Upscayl binary and model set to be installed and configured. Much slower than upscale_image_fast but produces noticeably better results on photographic images.
Pick the best available upscaler for this machine and explain the choice. Falls back gracefully: Real-ESRGAN if a discrete GPU is available, FSRCNN otherwise, Lanczos as a last resort. Always reports which method ran and why.
Upscale an image 2x, 3x or 4x with FSRCNN, a small pretrained super-resolution network that runs on CPU in well under a second. Meaningfully sharper edges than a plain resize. It does NOT hallucinate texture the way Real-ESRGAN does - for that quality you need upscale_image and a discrete GPU.
Re-encode a video to H.264/AAC at a chosen CRF (quality). Lower CRF = better quality but larger file. CRF ranges from 0 (lossless) to 51 (worst); the default 28 is a reasonable balance. preset controls encoding speed: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow.
Scale a video, preserving aspect ratio by default. Pass keep_aspect=false to stretch to exactly width x height. Re-encodes to H.264/AAC at the default CRF of 23; pass crf to change quality (lower = better, 0-51).
Grab one frame from a video as a PNG. By default the frame at 00:00:01; pass timestamp to pick a different one. Timestamps are in HH:MM:SS.ms format.
Convert a clip from a video to an optimised GIF. Two-pass encoding: first pass builds a palette from the clip, second pass encodes to that palette. Slower than a single pass but produces much better results. Specify start time, duration, fps, and output width; height is calculated to preserve aspect ratio.
Cut a clip out of a video. By default stream-copies the video and audio without re-encoding (fast, lossless). If the input container does not support the codecs, re-encodes to H.264/AAC instead and reports that it did so.
Batch operation lacks per-item error reporting. batch_process returns a list of results but does not clarify whether partial failures are reported per item or as a blanket error. LLM cannot distinguish which files succeeded and which failed.
No pagination or result limits documented for list_* tools. list_capabilities and list_background_models may return unbounded results. Descriptions do not state max result count or pagination support.