mcp-image-compression
@InhiblabCore
About mcp-image-compression
A high-performance image compression microservice based on MCP (Modal Context Protocol)
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",
"."
]
}
}
}Tools
2`urls` (strings): URLs of images to compress
Compressed images url
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.
FAQ from mcp-image-compression
What image formats are supported?
JPEG, PNG, WebP, and AVIF are supported.
Does mcp-image-compression require an internet connection?
No, it works offline – no internet connection is needed.
How do I control the compression quality?
Set the quality parameter (integer, 0–100) when calling the image_compression tool.
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.
Can I compress multiple images at once?
Yes, the urls parameter accepts multiple image URLs for batch processing.
Frequently asked questions
What image formats are supported?
JPEG, PNG, WebP, and AVIF are supported.
Does mcp-image-compression require an internet connection?
No, it works offline – no internet connection is needed.
How do I control the compression quality?
Set the `quality` parameter (integer, 0–100) when calling the `image_compression` tool.
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.
Can I compress multiple images at once?
Yes, the `urls` parameter accepts multiple image URLs for batch processing.
Basic information
More Media & Design MCP servers

Lamina — On-brand product photos, video & try-ons
LaminaGenerate on brand product videos from Claude Code (or any assistant) in one line. Lamina turns a brief + your brand kit into finished product photos, video reels, and campaign banners - no prompt engineering; brand guard

uxgen
uxgenA library of conversion components for e-commerce, built on A/B tested mechanics and handed straight to your coding agent. 65 pieces drawn from mechanics that have been A/B tested in real stores: cart drawer with the ups
QR Planet QR Code MCP Server
qrplanetQR Planet QR Code MCP Server - Hosted MCP server for QR Planet. Connect AI agents and MCP-compatible clients to create, update, design, route, and analyze dynamic QR Codes using your QR Planet API key.

Spotify MCP
varunnealMCP to connect your LLM with Spotify.
YouTube Transcript Server
kimtaeyoon83This is an MCP server that allows you to directly download transcripts of YouTube videos.
Comments