Image Dimensions
Summary
Image Tools MCP provides a service for retrieving image dimensions from both URL and local file sources, with additional image compression capabilities through the Tinify API. Developed by kshern, this TypeScript implementation uses the probe-image-size library to extract image metadata and exposes these capabilities through a Model Context Protocol interface. The server is designed to run as a standalone service or be integrated as a dependency, making it particularly useful for AI agents that need to analyze or process images without requiring external tools or manual dimension checking.
Available Actions(5)
get_image_size
Get dimensions of remote images. Parameters: options (object) - contains imageUrl (string), the URL of the image to retrieve dimensions for.
get_local_image_size
Get dimensions of local images. Parameters: options (object) - contains imagePath (string), the absolute path to the local image file.
compress_image_from_url
Compress remote images using TinyPNG API. Parameters: options (object) - contains imageUrl (string), the URL of the image to compress, and an optional outputFormat (string) to specify the compression format.
compress_local_image
Compress local images using TinyPNG API. Parameters: options (object) - contains imagePath (string), the absolute path to the local image file, an optional outputPath (string) for the compressed output image, and an optional outputFormat (string) to specify the compression format.
figma
Fetch image links from Figma API and compress them using TinyPNG API. Parameters: options (object) - contains figmaUrl (string), the URL of the Figma file to fetch image links from.
커뮤니티 리뷰
아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!
대화에 참여하려면 로그인하세요