Image Processor MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Image Processor MCP ServerRemove background from https://example.com/photo.jpg"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🖼️ Image Processor MCP Server
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.
Related MCP server: 🪄 ImageSorcery MCP
🛠️ 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
Clone the repository:
git clone <repository-url> cd mcp-image-processorSync 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"
]
}
}
}Ensure you provide theabsolute path to the project directory.
🧰 Available Tools
Tool | Description |
| Downloads one or multiple images from URLs to a local path. |
| Crops a local image using (left, top, right, bottom) coordinates. |
| Resizes an image. Supports aspect ratio locking and custom dimensions. |
| Converts images between JPEG, PNG, GIF, and WEBP. |
| 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.pyThe 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.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Qwen Image 3 AI image generation
MCP server for Midjourney AI image generation and editing
MCP server for NanoBanana AI image generation and editing
MCP server for Flux AI image generation
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA server that provides AI-powered image generation, modification, and processing capabilities through the Model Context Protocol, leveraging Google Gemini models and other image services.18MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server providing tools for image processing operations91 PyPI330PythonMIT
- AlicenseNot gradedqualityBmaintenanceMCP server for generating, editing, and processing images via multiple providers including Kilo, OpenRouter, OpenAI, and Gemini, with local tools for background removal, resizing, and cropping.18 npm2MIT
- FlicenseNot gradedqualityDmaintenanceA full-featured image processing MCP server for AI assistants, exposing ~55 tools across 11 categories for editing, layers, conversion, AI segmentation/cleanup/generation, design analysis, and screenshot-to-code.-