mcp-server-deflato
v1.4.0
Published
MCP server for Deflato — compress images from AI assistants (Claude, Cursor, Windsurf)
Maintainers
Readme
mcp-server-deflato
Compress images directly from AI assistants (Claude, Cursor, Windsurf) using the Deflato API.
The first image compressor with MCP support.
Quick Setup
Claude Code
claude mcp add deflato npx mcp-server-deflato -e DEFLATO_API_KEY=your-keyClaude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"deflato": {
"command": "npx",
"args": ["mcp-server-deflato"],
"env": { "DEFLATO_API_KEY": "your-key" }
}
}
}Get API Key
- Sign up at deflato.com
- Activate Pro (use promo code
TRYDEFLATOfor 7 days free) - Go to Account → Generate API Key
Tools
compress_image
Compress a single image file. Supports JPEG, PNG, WEBP, AVIF, HEIC, TIFF, BMP, RAW.
image_info
Get compression stats without saving (sizes, dimensions, savings %).
compress_folder
Compress all images in a folder. Returns summary with total savings.
Example Prompts
- "Compress all images in ./assets to WEBP"
- "Reduce photo.jpg to under 500KB"
- "Convert all PNGs in this project to AVIF"
- "What would the file size be if I compressed banner.jpg?"
License
MIT
