mcp-images
## MCP-Images Looking for a powerful image processing server? MCP Server-Image provides enterprise-grade image handling with just a few lines of code. Perfect for AI applications, web services, and data processing pipelines. [Get Started](#installation) | [Support Us](https://www.buymeacoffee.com/blazzmocompany)
claude mcp add --transport stdio ia-programming-mcp-images uv --directory /path/to/mcp-image run mcp_image.py
How to use
This MCP server provides image processing capabilities via the fetch_images tool. It can fetch images from URLs or load them from local file paths, process them (including handling large images and automatic compression for images over 1MB), and return the results with base64-encoded image data and MIME types. You can run the server using uv and then query the fetch_images tool with a list of image sources. The tool is designed to handle multiple images in parallel, and its outputs include the processed images ready for immediate embedding in clients or further processing in your pipeline.
To use it, start the server in your environment and invoke the fetch_images tool with a list of image sources (URLs or file paths). Examples of usage include fetching a batch of images from the web, loading a local image for transformation, or a mix of both. The tool returns a structured response containing each image as a base64 string along with its corresponding MIME type, enabling straightforward decoding and rendering on the client side.
How to install
Prerequisites:
- Python 3.10+
- uv (uv package manager)
Installation steps:
-
Clone the repository: git clone https://github.com/your/repo.git cd repo
-
Create and activate a virtual environment using uv: uv venv
On Windows:
.venv\Scripts\activate
On Unix/MacOS:
source .venv/bin/activate
-
Install dependencies using uv: uv pip install -r requirements.txt
-
Run the server directly (example): uv run python mcp_image.py
-
Configure for Windsurf/Cursor (optional):
-
Windsurf: add to ~/.codeium/windsurf/mcp_config.json the following entry: { "mcpServers": { "image": { "command": "uv", "args": ["--directory", "/path/to/mcp-image", "run", "mcp_image.py"] } } }
-
Cursor: add a similar configuration under Settings > Features > MCP Servers.
-
Note: Adjust /path/to/mcp-image to the location of your mcp_image.py and related files.
Additional notes
Tips and common issues:
- Ensure Python 3.10+ is installed and accessible in your environment.
- The server uses UV for execution; if you encounter environment issues, verify that uv is correctly installed and your virtual environment is activated.
- For large images, the server performs automatic compression when the size exceeds 1MB; if you need to customize this threshold, modify the server configuration or code as needed.
- The fetch_images tool accepts a list of image sources (URLs or local paths) and returns an array of results with base64-encoded data and MIME types, making client-side decoding straightforward.
- When using local file paths, ensure the server process has read permissions to those files.
- If you run into connectivity or URL-related errors, verify network access and URL validity. Check server logs for detailed error messages.
Related MCP Servers
mcp -qdrant
An official Qdrant Model Context Protocol (MCP) server implementation
imagesorcery
An MCP server providing tools for image processing operations
mcp-pinecone
Model Context Protocol server to allow for reading and writing from Pinecone. Rudimentary RAG
pfsense
pfSense MCP Server enables security administrators to manage their pfSense firewalls using natural language through AI assistants like Claude Desktop. Simply ask "Show me blocked IPs" or "Run a PCI compliance check" instead of navigating complex interfaces. Supports REST/XML-RPC/SSH connections, and includes built-in complian
mcp-kubernetes
A Model Context Protocol (MCP) server that enables AI assistants to interact with Kubernetes clusters. It serves as a bridge between AI tools (like Claude, Cursor, and GitHub Copilot) and Kubernetes, translating natural language requests into Kubernetes operations and returning the results in a format the AI tools can understand.
davinci -professional
An enterprise-grade MCP server that exposes the full functionality of DaVinci Resolve and DaVinci Resolve Studio (through version 20) to either Claude Desktop or Cursor MCP clients. Fully configured and tested as a Claude Desktop Extension making installation as easy as clicking a button. Supports both Windows and Macintosh.