Autocrop

•

Automatically crops images by detecting background color and calculating the subject's bounding box for optimal framing.

Autocrop is a lightweight Model Context Protocol (MCP) server designed to empower AI agents with advanced image cropping capabilities. It intelligently identifies the background color from the top-left pixel, computes the precise bounding box of the main subject, and then saves a perfectly cropped copy. This tool ensures images are optimally framed, enhancing visual presentation and efficiency for various applications.

主要功能

010 GitHub stars
02Zero runtime dependencies, delivered as a single static binary
03Supports both PNG and JPEG image formats
04High-performance processing, cropping 1080p images in under 100 ms
05MCP stdio transport for seamless integration with AI agents like Claude Desktop
06Customizable cropping with adjustable border padding and background tolerance

使用案例

01Integrate intelligent image cropping into content creation or data processing pipelines
02Batch process images to maintain consistent visual presentation
03Automate image preparation for AI agent workflows