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
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables optimization, conversion to WebP, and uploading of images to Vercel Blob storage, supporting both local files and external URLs.
Related MCP Servers
- 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.
- 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 -89MIT License
- -securityAlicense-qualityA lightweight MCP server for image processing and cloud uploads that automates resizing, converting, optimizing, and uploading images to services like AWS S3, Cloudflare R2, and Google Cloud Storage.Last updated -2315MIT License
- AsecurityAlicenseAqualityAn MCP server that enables batch conversion of images to WebP format with configurable options like quality settings, lossless mode, and multi-threading support.Last updated -15MIT License