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: imageUrl (string) - URL of the image to retrieve dimensions for.
get_local_image_size
Get dimensions of local images. Parameters: imagePath (string) - Absolute path to the local image file.
compress_image_from_url
Compress remote images using TinyPNG API. Parameters: imageUrl (string) - URL of the image to compress; outputFormat (optional string) - Optional output format (image/webp, image/jpeg, image/jpg, image/png).
compress_local_image
Compress local images using TinyPNG API. Parameters: imagePath (string) - Absolute path to the local image file; outputPath (optional string) - Optional absolute path for the compressed output image; outputFormat (optional string) - Optional output format (image/webp, image/jpeg, image/jpg, image/png).
figma
Fetch image links from Figma API and compress them using TinyPNG API. Parameters: figmaUrl (string) - URL of the Figma file to fetch image links from.
커뮤니티 리뷰
아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!
대화에 참여하려면 로그인하세요