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.
Get dimensions of remote images. Parameters: imageUrl (string) - URL of the image to retrieve dimensions for.
Get dimensions of local images. Parameters: imagePath (string) - Absolute path to the local image file.
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 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).
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.
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!