The Image MCP

Find, preview, download, and edit pictures from the web (Google Images, Bing)

Documentation

πŸ–ΌοΈ the-image-mcp

Python 3.12+ MCP uv License: MIT

A simple MCP server for AI models to find, preview, download, and edit pictures from the web.
Powered by Chrome DevTools Protocol (CDP) and Pillow. Zero Playwright bloat.

⚑ What does it do?

1. πŸ” Search & Preview

Searches the web (Google Images with automatic Bing fallback) and hands low-res thumbnails to the AI so it can inspect candidate images, compare options, and pick the winner.

2. πŸš€ Grab Full Resolution

Takes the chosen candidate's URL and downloads the crystal-clear, uncompressed original picture (up to 4K+) directly to disk.

3. πŸ› οΈ Edit & Transform

ToolWhat it does
resize_imageResize by width or height while keeping aspect ratio
crop_imageCut out any exact bounding box (left, top, right, bottom)
convert_image_formatConvert between PNG, JPEG, WEBP, BMP, TIFF
rotate_flip_imageRotate by any angle or mirror horizontally / vertically
apply_image_filterApply blur, grayscale, sharpen, contour, or edge_enhance
get_image_metadataInspect dimensions, DPI, color mode, transparency, and file size

πŸš€ Quick Setup

1. Install & Run

Make sure you have uv installed:

# Clone and enter the project
git clone https://github.com/phoenix-xr/the-image-mcp.git
cd the-image-mcp

# Sync dependencies
uv sync

# Start the server
uv run images-mcp

2. Connect to Your AI (Claude, Antigravity, Cursor)

Add this block to your mcp_config.json or claude_desktop_config.json:

{
  "mcpServers": {
    "the-image-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\Users\\anshy\\Documents\\project-gits\\images-mcp",
        "run",
        "images-mcp"
      ]
    }
  }
}