mcp-image-compression

Integrations

  • Provides high-performance compression for JPEG images with customizable quality parameters to optimize file size while maintaining visual quality.

  • Utilizes smart compression algorithms to automatically select optimal compression parameters based on image content.

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

  1. image_compression
    • Image compression
    • Inputs:
      • urls (strings): URLs of images to compress
      • quality (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.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

MCP server for local compression of various image formats

  1. Project Overview
    1. Features
      1. TOOLS
        1. Setup
          1. NPX
        2. Build
          1. License

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              An intelligent MCP server with a fully automated batch pipeline for web-ready images. Features include noise reduction, auto levels/curves, JPEG artifact removal, 4K resizing, smart sharpening with shadow/highlight enhancement, and advanced WebP conversion.
              Last updated -
              1
              5
              JavaScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              An MCP server that allows users to generate images using Replicate's Stable Diffusion model and save them to the local filesystem.
              Last updated -
              3
              Python
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              Image Tools MCP is a Model Context Protocol (MCP) service that retrieves image dimensions and compresses images from URLs and local files using the TinyPNG API. It supports converting images to formats like webp, jpeg/jpg, and png, providing detailed information on width, height, type, and compressi
              Last updated -
              4
              27
              3
              JavaScript
              MIT License
              • Apple

            View all related MCP servers

            ID: 03ih2tll2s