Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Image Processor Server

FreeNot checked

A powerful Model Context Protocol (MCP) server for image processing, designed to empower AI models with advanced image manipulation capabilities.

GitHubEmbed

About

A powerful Model Context Protocol (MCP) server for image processing, designed to empower AI models with advanced image manipulation capabilities.

README

A powerful Model Context Protocol (MCP) server for image processing, designed to empower AI models with advanced image manipulation capabilities. From basic editing to AI-powered background removal, this server provides a comprehensive toolkit for programmatic image handling.

✨ Features

  • 🚀 AI Background Removal: Seamlessly remove backgrounds using state-of-the-art models (u2net, etc.).
  • 📥 Smart Downloader: Download images from single or multiple URLs with automatic format detection.
  • 📐 Precision Cropping: Crop images using exact pixel coordinates.
  • 🖼️ Flexible Resizing: Scale images with optional aspect ratio preservation and high-quality interpolation.
  • 🔄 Format Conversion: Convert between JPEG, PNG, GIF, and WEBP with quality control and transparency handling.

🛠️ Tech Stack

  • Python 3.13+: Leveraging the latest Python features.
  • FastMCP: High-performance framework for MCP server development.
  • Pillow (PIL): The industry-standard library for image processing in Python.
  • rembg: AI-driven background removal tool.
  • uv: Ultra-fast Python package and environment manager.

🚀 Getting Started

Prerequisites

  • Python 3.13 or higher.
  • uv installed. If you don't have it, install it via:
    # macOS/Linux
    curl -LsSf https://astral.sh/uv/install.sh | sh
    # Windows
    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd mcp-image-processor
    
  2. Sync dependencies:

    uv sync
    

⚙️ Configuration

To use this server with an MCP-compatible client (like Claude Desktop or IDEs), add the following configuration:

Claude Desktop Configuration

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "image-processor": {
      "command": "uv",
      "args": [
        "--directory",
        "/absolute/path/to/mcp-image-processor",
        "run",
        "main.py"
      ]
    }
  }
}

[!IMPORTANT] Ensure you provide the absolute path to the project directory.

🧰 Available Tools

Tool Description
download_img Downloads one or multiple images from URLs to a local path.
crop_img Crops a local image using (left, top, right, bottom) coordinates.
resize_img Resizes an image. Supports aspect ratio locking and custom dimensions.
convert_img Converts images between JPEG, PNG, GIF, and WEBP.
remove_bg Removes the background using AI models (u2net, isnet, etc.).

🖥️ Manual Execution

For testing or development purposes, you can run the server manually:

uv run main.py

The server communicates via stdio by default, as per the MCP specification.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

from github.com/jeronimomayorca/mcp-image-processor

Install Image Processor Server in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install image-processor-mcp-server

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add image-processor-mcp-server -- uvx image-processor

FAQ

Is Image Processor Server MCP free?

Yes, Image Processor Server MCP is free — one-click install via Unyly at no cost.

Does Image Processor Server need an API key?

No, Image Processor Server runs without API keys or environment variables.

Is Image Processor Server hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Image Processor Server in Claude Desktop, Claude Code or Cursor?

Open Image Processor Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Image Processor Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All media MCPs