Image Compression
A high-performance microservice for compressing images. Supports JPEG, PNG, WebP, and AVIF formats with smart compression and batch processing.
mcp-image-compression
Project Overview
mcp-image-compression is a high-performance image compression microservice based on MCP (Modal Context Protocol) architecture. This service focuses on providing fast and high-quality image compression capabilities to help developers optimize image resources for websites and applications, improving loading speed and user experience.
Features
- Multi-format support: Compress mainstream image formats including JPEG, PNG, WebP, AVIF
- Offline Usage: No need to connect to the internet to use
- Smart compression: Automatically select optimal compression parameters based on image content
- Batch processing: Support parallel compression of multiple images for improved efficiency
- Quality control: Customizable compression quality to balance file size and visual quality
TOOLS
image_compression- Image compression
- Inputs:
urls(strings): URLs of images to compressquality(int): Quality of compression (0-100)format(string): Format of compressed image (e.g. "jpeg", "png", "webp", "avif")
- Returns: Compressed images url
Setup
NPX
{
"mcpServers": {
"Image compression": {
"command": "npx",
"args": [
"-y",
"@inhiblab-core/mcp-image-compression"
],
"env": {
"IMAGE_COMPRESSION_DOWNLOAD_DIR": "<YOUR_DIR>"
},
"disabled": false,
"autoApprove": []
}
}
}
Build
docker build -t mcp-image-compression .
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
संबंधित सर्वर
Sharepoint
Provides access to organizational SharePoint sites and files.
Music Collection MCP Server
An MCP server for intelligent access to your local music collection, featuring metadata management, band discovery, and advanced querying.
Download Assistant MCP
A universal file download assistant supporting secure and batch processing of any file type.
File System MCP Server
A server for comprehensive file and directory management on the local file system.
Smart Photo Journal MCP Server
Create a memory journal from your local photos in the macOS Photos library.
plsreadme
Share markdown files and text as clean, readable web links. Works with Cursor, Claude Desktop, VS Code, Windsurf, and any MCP client.
File Convert MCP Server
Convert files between various formats, including images, documents, audio, video, and more.
Readonly Filesystem MCP Server
Provides read-only access to local files and directories.
Filesystem MCP Server
A Ruby server for performing filesystem operations like reading and writing files within specified directories.
Obsidian MCP Server - Enhanced
Provides comprehensive access to an Obsidian vault, allowing AI agents to read, write, search, and manage notes via the Local REST API plugin.
