home / mcp / imagesorcery mcp server
An MCP server providing tools for image processing operations
Configuration
View docs{
"mcpServers": {
"sunriseapps-imagesorcery-mcp": {
"url": "http://127.0.0.1:8000/mcp"
}
}
}ImageSorcery MCP enables your AI assistant to perform advanced local image processing tasks using a collection of tools powered by computer vision models. Run everything locally to crop, resize, annotate, detect objects, extract text, and more without sending images to external servers.
Connect an MCP client to the ImageSorcery MCP server and start issuing image-processing commands. You can combine multiple tools to accomplish complex tasks such as detecting objects in an image, cropping regions, drawing annotations, removing backgrounds, or applying watermarks. Ensure you reference the local server endpoint so your client can relay commands and receive results.
Prerequisites: you need Python 3.10 or higher, and either pipx or a virtual environment setup with Python. You also need system libraries required by OpenCV (ffmpeg, libsm6, libxext6, libgl1-mesa-glx). If you plan to run the server locally, you should have a MCP client ready (e.g., Claude.app, Cline, or another MCP client).
Option 1 ā Using pipx (recommended)
pipx install imagesorcery-mcp
imagesorcery-mcp --post-installOption 2 ā Manual virtual environment (Plan B)
python -m venv imagesorcery-mcp
source imagesorcery-mcp/bin/activate # Linux/macOS
# Windows: imagesorcery-mcp\Scripts\activate
pip install imagesorcery-mcp
imagesorcery-mcp --post-installTip: If you use a persistent environment, you will reference the executable path in your MCP client configuration, for example "/full/path/to/venv/bin/imagesorcery-mcp". For Windows, use the corresponding Scripts path.
You can run ImageSorcery MCP in different modes. The standard local mode is STDIO and uses the default command: imagesorcery-mcp.
imagesorcery-mcpIf you prefer web-based deployments, you can use Streamable HTTP mode with a configurable host, port, and path, or use HTTP mode with an explicit endpoint. The HTTP mode endpoint example is shown below. Use the default STDIO mode for local development and testing.
imagesorcery-mcp --transport=streamable-http
# Or with custom host/port/path
imagesorcery-mcp --transport=streamable-http --host=0.0.0.0 --port=4200 --path=/mcp
# HTTP mode example endpoint (client connects here)
http://127.0.0.1:8000/mcpBlurs specified areas of an image using OpenCV; supports rectangular or polygonal regions and can blur the background by inverting the area.
Changes the color palette of an image, enabling effects like sepia or grayscale.
View or update MCP configuration settings at runtime.
Crop an image using OpenCV numpy slicing based on coordinates.
Detect objects in an image using Ultralytics models; supports return of segmentation masks or polygons with a confidence threshold.
Draw arrows on an image to indicate directions or highlights.
Draw circles on an image at specified centers and radii.
Draw lines on an image between two points with color and thickness.
Draw one or more rectangles on an image, with options for filled or outlined shapes.
Overlay text onto an image at specified positions.
Fill areas of an image with a color or transparency; can also invert areas or remove backgrounds.
Find objects in an image based on a text description; can return segmentation masks or polygons.
Retrieve metadata information for an image file.
Perform Optical Character Recognition on images to extract text using OCR models.
Overlay one image onto another with proper handling of transparency.
Resize an image to specified dimensions.
Rotate an image by a given angle while preserving content.