home / mcp / image edit mcp server

Image Edit MCP Server

Provides image processing, OCR, generation, and editing via MCP with a simple HTTP endpoint and local runtime.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "factruesolin-image-edit-rmcp": {
      "url": "https://image.cd.actrue.cn/kB7XMqsX31s90JPV/mcp",
      "headers": {
        "MCP_PORT": "3000",
        "CACHE_DIR": "~/.cache/image-edit-rmcp",
        "CACHE_URL": "http://localhost:3000",
        "SECRET_KEY": "your_secret_key_here",
        "MODELSCOPE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Available tools

fetch_image

Downloads an image from a URL, analyzes its content, and returns descriptive metadata including a description of the image.

rotate_image

Rotates an image by the specified direction (Right90, Left90, Flip180) and outputs the result as a PNG.

crop_image

Crops an image using percentage-based coordinates and returns the cropped PNG image URL.

get_image_info

Retrieves basic information about an image, such as width, height, total pixels, MIME type, and file size.

ocr_extract

Extracts textual content from an image using OCR.

generate_image

Generates a new image from a text prompt with optional parameters for aspect ratio, resolution, and steps.

edit_image

Edits an existing image based on a text prompt and outputs the edited image URL.