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.
相关服务器
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.
Java Filesystem & Web MCP Server
An MCP server for LLM agents to perform filesystem operations and access web resources.
mini_mcp
A lightweight plugin to list all files and folders on the current macOS user's desktop.
File Merger
A simple utility to combine multiple files into a single file.
Excel/CSV MCP Server
Read, analyze, and manipulate data in Excel (XLSX, XLS) and CSV files with advanced filtering and analytics.
Remote File Server
An MCP server that gives any MCP client read access to an SMB/CIFS file share servers
JSON MCP Server
A high-performance MCP server for comprehensive JSON file operations, including reading, writing, and advanced querying, optimized for LLM interactions.
Akyn AI
Knowledge bases for AI agents via MCP
Custom PDF MCP Server
A server for processing PDF files, allowing text and table extraction, metadata retrieval, and file listing within a specific directory.
Filesystem MCP Server for WSL
A filesystem server for Windows Subsystem for Linux (WSL), using native commands for faster file operations.
