mcp-image-optimizer

Image Optimizer MCP Server

mcp-image-optimizer brings Sharp-based resizing, conversion, cropping, and watermarking to MCP clients. It serves developers preparing web images, with batch processing, metadata inspection, lazy-loading placeholders, and favicon generation.

Server facts

mcp-image-optimizer

Project

Author
piephai
License
Not specified

Tech

Runtime / language
Not specified
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
11
Last commit
Data as of

Tags

  • image
  • mcp
  • resize
  • sharp

Overview

Web image preparation in mcp-image-optimizer combines Sharp-powered transformations with tools for inspecting and processing source files or remote images. The optimize_image tool controls dimensions, quality, output format, and resize behavior, alongside adjustments such as rotation, grayscale, blur, and sharpening. For multiple inputs, batch_optimize applies shared settings and supports filename prefixes or suffixes. Metadata inspection exposes dimensions, color space, file size, DPI, and whether EXIF data is present. Cropping tools handle border removal separately from attention- or entropy-based crops to specified dimensions.

For website assets, create_placeholder produces low-quality previews for lazy loading, with base64, data URI, or file output. Watermarking accepts images or text and offers placement, opacity, scaling, blending, and text styling controls. Favicon generation targets web, Apple, Android, and Microsoft platforms, with configurable sizes and accompanying HTML tags or PWA configuration output. The documented client setups include Claude Code, Claude Desktop, OpenAI Codex, VS Code extensions, and Cursor. Inputs can use URLs, absolute paths, or home-directory paths; relative paths depend on a configured working directory.

mcp-image-optimizer setup notes

  • mcp-image-optimizer records stdio only; confirm a network transport upstream before planning remote access.
  • mcp-image-optimizer has no recorded license; confirm reuse terms in its repository.

Related MCP servers