Image Processor MCP Server
This MCP server provides tools for image processing and uploading to Vercel Blob storage. It allows you to:
- Optimize and resize images (from local files or URLs)
- Convert images to WebP format
- Upload both versions to Vercel Blob storage
Features
- Image Optimization: Resize and optimize images for better performance
- WebP Conversion: Convert images to the WebP format for smaller file sizes
- Vercel Blob Integration: Automatically upload processed images to Vercel Blob storage
- Customizable Dimensions: Specify custom dimensions for image resizing
- URL Support: Process images from external URLs
Installation
The server is already installed and configured in the MCP settings file. It uses the Vercel Blob token from your environment variables.
Usage
You can use the MCP server in Claude by using the use_mcp_tool
function:
For Local Images
For Images from URLs
Parameters for Local Images
imagePath
(required): Path to the image file to processnewName
(required): New name for the processed image (without extension)width
(optional): Width to resize the image to (default: 550)height
(optional): Height to resize the image to (default: 300)
Parameters for URL Images
imageUrl
(required): URL of the image to processnewName
(required): New name for the processed image (without extension)width
(optional): Width to resize the image to (default: 550)height
(optional): Height to resize the image to (default: 300)
Response
The server will return a JSON response with the following structure:
Implementation Details
The server uses:
- Sharp: For image processing and optimization
- @vercel/blob: For uploading to Vercel Blob storage
- fs-extra: For file system operations
Examples
Example 1: Processing a Local Image
Example 2: Processing an Image from URL
Both examples will:
- Take the image (from local path or URL)
- Optimize and resize it to 550x300 pixels
- Create a PNG version with "_small" suffix
- Create a WebP version
- Upload both to Vercel Blob
- Return the URLs of the uploaded images
Enables optimization, conversion to WebP, and uploading of images to Vercel Blob storage, supporting both local files and external URLs.
Related MCP Servers
- AsecurityAlicenseAqualityEnables AI assistants to download images from URLs and perform basic image optimization tasks.Last updated -24JavaScriptApache 2.0
- AsecurityAlicenseAqualityAn intelligent MCP server with a fully automated batch pipeline for web-ready images. Features include noise reduction, auto levels/curves, JPEG artifact removal, 4K resizing, smart sharpening with shadow/highlight enhancement, and advanced WebP conversion.Last updated -15JavaScriptMIT License
- AsecurityAlicenseAqualityThis server provides tools for uploading images and videos directly to Cloudinary using Claude/Cline, facilitating resource management with customizable options like resource type and public ID.Last updated -1714JavaScriptMIT License
- AsecurityAlicenseAqualityConverts various file types and web content to Markdown format. It provides a set of tools to transform PDFs, images, audio files, web pages, and more into easily readable and shareable Markdown text.Last updated -1021,611TypeScriptMIT License