GIF Compressor MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GIF Compressor MCP Compress /Users/me/Desktop/party.gif with the balanced preset"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GIF Compressor MCP
Private local GIF inspection and compression tools for MCP clients. Files are processed on your device with Gifsicle and are never uploaded to a server.
Website: gifcompressor.cc/mcp
Tools
inspect_gif— return file size, dimensions, frame count, and animation status.compress_gif— compress one GIF with a preset, custom settings, or a target size.batch_compress_gifs— compress up to 20 GIF files into an output directory.
Related MCP server: easytiny-mcp
Run
npx -y gif-compressor-mcpThe server uses stdio. Do not run it as a normal interactive CLI.
MCP client configuration
{
"mcpServers": {
"gif-compressor": {
"command": "npx",
"args": ["-y", "gif-compressor-mcp"]
}
}
}Example tool input
{
"input_path": "/absolute/path/to/animation.gif",
"output_path": "/absolute/path/to/animation-compressed.gif",
"preset": "balanced",
"target_mb": 8
}output_path must not be the same as input_path. Relative paths are resolved against the MCP server process working directory.
Privacy and safety
GIF files stay on the local machine.
Input files are never overwritten.
Files are validated using the GIF87a/GIF89a signature.
Batch calls are limited to 20 files.
Development
npm install
npm run check
npm run buildRun the integration test with a local GIF fixture:
TEST_GIF=/absolute/path/to/test.gif npm testAvailable Tools
3 toolsbatch_compress_gifsBatch Compress GIFsC
Compress up to 20 local GIF files into an output directory.
Inputs: input_paths (required), output_directory (required), preset, overwrite, +1 more. Returns: errors, failed, results, succeeded, +1 more
compress_gifCompress GIFC
Compress a local GIF privately with Gifsicle. Supports presets, custom settings, and a target size.
Inputs: input_path (required), lossy, scale, colors, +5 more. Returns: width, height, size_mb, animated, +11 more
inspect_gifInspect GIFA
Inspect a local GIF file and return its size, dimensions, frame count, and animation status.
Inputs: input_path (required). Returns: width, height, size_mb, animated, +3 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a clearly distinct operation: inspection, single-file compression, and multi-file compression. There is no realistic path for an agent to confuse compress_gif with batch_compress_gifs, since the batch tool name and description make the input multiplicity explicit.
All three tools follow a consistent snake_case verb_noun pattern (inspect_gif, compress_gif, batch_compress_gifs). The shared _gif suffix makes the domain obvious and the batch_ prefix is a predictable variant marker.
Three tools is deliberately minimal but every tool earns its place: inspect, compress one, compress many. A batch variant is a legitimate separate operation rather than a redundant wrapper, so nothing feels padded or missing.
The surface covers the core lifecycle: inspect before, compress, and batch-process into an output directory, with presets and target size for control. Minor gaps exist (no result verification/comparison or post-compression report confirming achieved output size and ratio), but agents can work around these by re-running inspect_gif.
Maintenance
Related MCP Connectors
Compress GIFs from HTTPS URLs, poll results, and check credits. Hosted MCP with API key auth.
List compression profiles, estimate gains, and compress images, PDFs, and Office files.
Image processing over MCP: compress and split images, generate images and QR codes.
Hosted MCP tools for FFmpeg-style video and audio processing through FFMPEG API.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for GIF animation analysis. Provides metadata extraction, individual frame export, and per-frame timing information.310 npmBSD 2-Clause "Simplified"
- AlicenseAqualityCmaintenanceEnables visually lossless batch compression of JPEG, PNG, WebP, AVIF, GIF, and SVG files, writing results to a temporary preview directory with size, encoder, and quality-score details. Originals are only replaced atomically after the user confirms, with configurable effort levels and optional backups.331 npmMIT
- AlicenseAqualityBmaintenanceEnables agents to compress JPEG, PNG, and WebP images to a target byte size, split PDFs by page or ranges, and remove image metadata while processing local files without sending file bytes over the network.73MIT
- AlicenseBqualityBmaintenanceEnables local, offline batch image processing through MCP tools for resizing, converting, compressing, watermarking, and stripping EXIF metadata from files or folders.6MIT