Basic information
About mcp-image-compression Server
A high-performance image compression microservice based on MCP (Modal Context Protocol)
mcp-image-compression is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by InhiblabCore. Supported transport: stdio. Runtime: node. License: MIT. The repository has 33 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"mcp-image-compression": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-image-compression",
"."
]
}
}
}
{
"mcpServers": {
"mcp-image-compression": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-image-compression",
"."
]
}
}
}
{
"servers": {
"mcp-image-compression": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-image-compression",
"."
]
}
}
}
mcp-image-compression config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-image-compression": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-image-compression",
"."
]
}
}
}
mcp-image-compression tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is mcp-image-compression?
mcp-image-compression is a high-performance image compression microservice built on the MCP (Modal Context Protocol) architecture. It helps developers optimize image resources for websites and applications to improve loading speed and user experience.
How to use mcp-image-compression?
Configure the server via NPX in your MCP client settings, specifying the command npx -y @inhiblab-core/mcp-image-compression and setting the environment variable IMAGE_COMPRESSION_DOWNLOAD_DIR to your download directory. Use the image_compression tool with parameters urls, quality, and format to compress images. You can also build from source using Docker.
Key features of mcp-image-compression
- Multi-format support: JPEG, PNG, WebP, AVIF.
- Offline usage – no internet connection required.
- Smart compression selects optimal parameters per image.
- Batch processing for parallel compression of multiple images.
- Customizable compression quality (0–100) to balance size and quality.
Use cases of mcp-image-compression
- Optimize images in bulk for faster web page loading.
- Automatically compress user-uploaded images in an application.
- Convert images between supported formats while controlling quality.
- Reduce storage and bandwidth costs for image-heavy sites.
Frequently asked questions
1 What image formats are supported?
JPEG, PNG, WebP, and AVIF are supported.
2 Does mcp-image-compression require an internet connection?
No, it works offline – no internet connection is needed.
3 How do I control the compression quality?
Set the quality parameter (integer, 0–100) when calling the image_compression tool.
4 How do I set up the server?
Use NPX with the command npx -y @inhiblab-core/mcp-image-compression and provide the IMAGE_COMPRESSION_DOWNLOAD_DIR environment variable.
5 Can I compress multiple images at once?
Yes, the urls parameter accepts multiple image URLs for batch processing.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In