PM

piephai/mcp-image-optimizer

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

11 stars 2 forks 品質 74 トレンド 18MIT

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.

GitHub で README 全文を見る

インストール

npx mcp-image-optimizer
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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