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.
Serveurs connexes
Filesystem
Secure file operations with configurable access controls
File Finder
Search for files in the local filesystem using a path fragment.
MCP File System Server
A server for secure, sandboxed file system operations.
PDF to PNG
A server that converts PDF files to PNG images. Requires the poppler library to be installed.
DLIS MCP Server
Analyze and extract information from DLIS (Digital Log Interchange Standard) files, including channel data and metadata.
File Explorer MCP
A server for programmatic exploration of local files and folders.
302AI File Parser
Parses various file formats using the 302.AI API, requiring a 302AI_API_KEY.
peekaboo-mcp
A minimal MCP server providing read-only access to the file system.
Filesystem MCP Server SSE
A Node.js server for filesystem operations using the Model Context Protocol (MCP), with operations restricted to specified directories.
LDIMS MCP
Provides an MCP interface for the LDIMS document management system.
