PM

piephai/mcp-image-optimizer

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

11 stars 2 forks Качество 74 Тренд 8MIT

A model context protocol server for image optimization. Process images from URLs or local files with advanced transformations powered by Sharp

Обзор

A Model Context Protocol server for image optimization. Process images from URLs or local files with advanced transformations powered by Sharp. - 🖼️ Process images from URLs or local files - 🔄 Resize, rotate, flip, blur, sharpen, and more - 📦 Batch process multiple images - 🎨 Convert between JPEG, PNG, WebP, AVIF, TIFF - ✂️ Auto-crop borders and whitespace - 🎯 Smart crop with attention detection - 🌫️ Generate low-quality placeholders (LQIP) - 💧 Add watermarks (image or text) with full control - 🌟 Generate favicons in all required sizes and formats Add to your Claude Desktop config file: - : ~/Library/Application Support/Claude/claude_desktop_config.json - : %APPDATA%\Claude\claude_desktop_config.json - : ~/.config/Claude/claude_desktop_config.

README

Показан фрагмент оригинального README. Открыть оригинал.

MCP Image Optimizer

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

Features

  • 🖼️ Process images from URLs or local files
  • 🔄 Resize, rotate, flip, blur, sharpen, and more
  • 📦 Batch process multiple images
  • 🎨 Convert between JPEG, PNG, WebP, AVIF, TIFF
  • ✂️ Auto-crop borders and whitespace
  • 🎯 Smart crop with attention detection
  • 🌫️ Generate low-quality placeholders (LQIP)
  • 💧 Add watermarks (image or text) with full control
  • 🌟 Generate favicons in all required sizes and formats

Installation

Usage Examples

Ask your AI assistant:

  • “Optimize ~/Desktop/photo.jpg to 800px width”
  • “Convert https://images.pexels.com/photos/32206277/pexels-photo-32206277.jpeg to WebP”
  • “Batch optimize all images in ~/Downloads/”
  • “Create a 200x200 thumbnail with smart crop”
  • “Generate a placeholder for lazy loading”
  • “Add my company logo as watermark to product images”
  • “Add ‘Copyright 2025’ text watermark”
  • “Generate all favicon sizes from my logo”

Available Tools

Resize, convert, and transform images.

Открыть полный README на GitHub

Установка

npx mcp-image-optimizer
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

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