imagesorcery
An MCP server providing tools for image processing operations
claude mcp add --transport stdio sunriseapps-imagesorcery-mcp pipx run imagesorcery-mcp \ --env TELEMETRY_ENABLED="Enable or disable telemetry (default: false)"
How to use
ImageSorcery MCP exposes a Python-based MCP server that runs locally to provide computer-vision backed image processing tools to your AI assistant. It integrates a suite of vision capabilities such as cropping, resizing, background removal, text extraction, object detection, drawing shapes or texts on images, applying filters, and model-based analysis via a unified MCP interface. You can use prompts or tool invocations from an MCP client (e.g., Claude, Cline, Cursor) to apply these operations to your local image assets without sending data to external servers. The tools are designed to be combined into multi-step workflows (e.g., detect objects in an image, then crop and annotate regions, then export results) using the provided tool prompts and the ImageSorcery resources. The server also exposes a config tool to view or adjust settings like detection confidence and telemetry, enabling customization for your environment.
How to install
Prerequisites
- Python 3.10 or higher is recommended
- pipx (recommended) for virtual environments and easy installation
- System libraries required by OpenCV (ffmpeg, libsm6, libxext6, libgl1-mesa-glx) depending on your OS
- MCP client (e.g., Claude, Cline, or Cursor) to connect to the MCP server
Installation steps
- Ensure prerequisites are installed
- On Debian/Ubuntu:
sudo apt-get update
sudo apt-get install -y python3 python3-venv ffmpeg libsm6 libxext6 libgl1-mesa-glx
- Install pipx if not present:
python3 -m pip install --user pipx
python3 -m pipx ensurepath
- Install ImageSorcery MCP via pipx
pipx install imagesorcery-mcp
- Run the MCP server locally
# Run the server (this uses pipx to execute the package entrypoint)
pipx run imagesorcery-mcp
- Add the server to your MCP configuration
- In your MCP configuration file, add the server under mcpServers:
"mcpServers": {
"imagesorcery-mcp": {"command": "pipx", "args": ["run", "imagesorcery-mcp"]}
}
- Optional: enable telemetry or adjust settings
- Use the config tool to modify settings (e.g., set telemetry.enabled to true/false) as described in the README of the server.
Notes
- If you use Docker or a virtual environment, ensure system libraries required by OpenCV are accessible in the container or environment.
- The server exposes a rich set of tools (crop, resize, detect, ocr, draw_* tools, etc.). See the Imagesorcery MCP docs in the repository for details on each tool’s usage.
Additional notes
Tips and common issues:
- Ensure Python 3.10+ and pipx are installed; if you encounter import or binary issues, reinstall the MCP package with pipx.
- OpenCV-based tools require system libraries; on headless servers, ensure fonts and display-related dependencies are handled or avoided.
- When using OCR or model-based tools, provide full paths to images to avoid path resolution issues.
- Telemetry: the server can be configured to send usage telemetry; disable it if running in air-gapped environments. See the config tool in the MCP UI for details.
- If your MCP client cannot reach the local server, verify that the MCP configuration file is loaded correctly and that the server process is running.
Related MCP Servers
mcp-neo4j
Neo4j Labs Model Context Protocol servers
Archive-Agent
Find your files with natural language and ask questions.
sympy
A MCP server for symbolic manipulation of mathematical expressions
gimp
GIMP MCP server
mcp-oi-wiki
🌟 Wiki of OI / ICPC for LLMs. (面向大模型的某大型游戏线上攻略,内含炫酷算术魔法)
omni-lpr
A multi-interface (REST and MCP) server for automatic license plate recognition 🚗