Mcp Image Optimizer MCP Server

A Model Context Protocol server for image optimization. Process images from URLs or local files with advanced transformations powered by Sharp.

Local serverstdioMIT

What is the Mcp Image Optimizer MCP Server?

Mcp Image Optimizer is an MCP project maintained in the piephai/mcp-image-optimizer repository. The maintainer describes its purpose as “A Model Context Protocol server for image optimization. Process images from URLs or local files with advanced transformations powered by Sharp”. Read the project documentation for the complete scope.

Installation

The documented npm package is mcp-image-optimizer. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
widthPlaceholder width (default: 20)
heightPlaceholder height (auto if not set)
qualityJPEG quality 1-100 (default: 40)
format"base64", "datauri", or "file"
fitResize fit mode (cover, contain, fill, inside, outside)
inputsArray of image paths or URLs
outputDirDirectory to save all favicon files
prefixAdd to filename start
suffixAdd to filename end
thresholdColor similarity threshold 0-100
backgroundColorBackground to detect
strategy"attention" or "entropy"
blurBlur amount 0.3-1000 (default: 5)
watermarkPath/URL to watermark image, base64 data, or text
positionCorner, center, diagonal, or tile pattern
opacityTransparency 0-1
scaleSize relative to base image
marginDistance from edges
blendBlend mode for effects
sizesCustom sizes array (default: all standard sizes)
platformsTarget platforms: web, apple, android, microsoft, all
generateManifestCreate manifest.json snippet for PWAs
apple-touch-icon.png180x180)
android-chrome192x192.png, android-chrome-512x512.png
mstile-150x150.pngMicrosoft tile)
favicon-html.txtready-to-use HTML tags)
manifest-icons.jsonPWA configuration)

How to install the Mcp Image Optimizer MCP Server

{
  "mcpServers": {
    "image-optimizer": {
      "command": "npx",
      "args": [
        "mcp-image-optimizer"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.