InhiblabCore/mcp-image-compression
Free用于本地压缩各种图像格式的 MCP 服务器。
FreeFree tier
About InhiblabCore/mcp-image-compression
mcp-image-compression is a high-performance image compression microservice based on MCP (Modal Context Protocol) architecture. It provides fast and high-quality image compression to help developers optimize image resources for websites and applications, improving loading speed and user experience. The service supports multiple formats (JPEG, PNG, WebP, AVIF), offline usage, smart parameter selection, and parallel batch processing. Quality is customizable via a 0-100 parameter. It can be set up quickly using NPX or Docker, and is licensed under MIT.
Key Features
Multi-format support for JPEG, PNG, WebP, and AVIF
Offline usage without internet connection
Smart compression with automatic optimal parameter selection
Batch processing with parallel compression of multiple images
Customizable compression quality (0-100) to balance size and visual quality
Easy setup via NPX or Docker
Pros & Cons
Pros
- Open source and free under MIT license
- High-performance and fast compression
- Supports modern formats like WebP and AVIF
- Works completely offline
- Easy deployment via NPX or Docker
Cons
- Requires technical setup (NPX/Docker) for non-developer users
- Only focuses on compression, not other image editing operations
Best For
Optimizing images for websites to improve loading speedCompressing images for mobile and web applicationsLocal offline image compression without third-party servicesBatch processing large sets of images efficiently
FAQ
What image formats does the tool support?
It supports JPEG, PNG, WebP, and AVIF formats.
Can I use this tool offline?
Yes, the compression runs locally with no internet connection required.
How do I control the compression quality?
You can pass a quality parameter (integer from 0 to 100) to adjust the balance between file size and visual quality.
How do I install and run the server?
You can run it via NPX (`npx -y @inhiblab-core/mcp-image-compression`) or build a Docker image using the provided Dockerfile.
What license is this project under?
The project is licensed under the MIT License.