Image Compression

by inhiblabcore

33 stars
441 downloads
Not rated
GitHub Website

About

A high-performance microservice for compressing images. Supports JPEG, PNG, WebP, and AVIF formats with smart compression and batch processing.

Details

Author
inhiblabcore
GitHub stars
33
Downloads
441
Categories
File Management, Other, Media

- 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.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Image Compression
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "image compression": {
            "mcp-image-compression": {
                "command": "docker",
                "args": [
                    "build",
                    "-t",
                    "mcp-image-compression",
                    "."
                ]
            }
        }
    }
}

McpServers

{
    "mcp-image-compression": {
        "command": "docker",
        "args": [
            "build",
            "-t",
            "mcp-image-compression",
            "."
        ]
    }
}

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.

- 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
- 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")

{ "mcpServers": { "Image compression": { "command": "npx", "args": [ "-y", "@inhiblab-core/mcp-image-compression" ], "env": { "IMAGE_COMPRESSION_DOWNLOAD_DIR": "<YOUR_DIR>" }, "disabled": false, "autoApprove": [] } } }

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.

Parses various file formats using the 302.AI API, requiring a 302AI_API_KEY.

A local server that allows AI to execute Windows CMD commands, read/write files, and manage directories within a specified path.

Filesystem agent memory working with consolidation Daemon on your machine

An AI-powered MCP server for advanced file system operations, including search, comparison, and security analysis.

Securely browse and read files within an Android project, with built-in validation and access controls for sensitive directories.

Build a persistent, local knowledge base in Markdown files through conversations with LLMs.

A read-only MCP server for querying live FTP data using the CData JDBC Driver.

An MCP server for viewing, editing, and creating text files, based on the Claude built-in text editor tool.

Convert PDF, Word, Excel, PowerPoint, EPUB, HEIC and images from Claude or Cursor, with 35 converters exposed through just two MCP tools.

A cross-platform filesystem server for Linux, macOS, and Windows with secure path restrictions.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.