MCP Image Downloader
An MCP server that provides tools for downloading and optimizing images. Built using the Model Context Protocol (MCP), this server enables AI assistants to download images from URLs and perform basic image optimization tasks.
Features
- Download images from URLs with proper error handling
- Optimize images with options for:
- Resizing (maintaining aspect ratio)
- Quality adjustment (JPEG/WebP)
- Format conversion
Installation
Usage
As an MCP Server
Add the server to your MCP configuration (e.g., in Claude Desktop's config):
Available Tools
download_image
Downloads an image from a URL to a specified path.
Parameters:
url
: URL of the image to downloadoutputPath
: Path where to save the image
optimize_image
Creates an optimized version of an image.
Parameters:
inputPath
: Path to the input imageoutputPath
: Path where to save the optimized imagewidth
(optional): Target width (maintains aspect ratio if only width is specified)height
(optional): Target height (maintains aspect ratio if only height is specified)quality
(optional): JPEG/WebP quality (1-100)
Development
Requirements
- Node.js 16 or higher
- NPM or compatible package manager
License
MIT License - see the LICENSE file for details.
Author
qpd-v
Version
0.1.0 - Initial release
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Enables AI assistants to download images from URLs and perform basic image optimization tasks.
Related MCP Servers
- AsecurityAlicenseAqualityEnables the generation of images using Together AI's models through an MCP server, supporting customizable parameters such as model selection, image dimensions, and output directory.Last updated -14JavaScriptMIT License
- -securityAlicense-qualityA server that integrates Flux's advanced image generation and manipulation features into AI coding assistants, enabling seamless text-to-image and image control workflows in IDEs like Cursor and Windsurf.Last updated -410PythonMIT License
- -security-license-qualityA Model Context Protocol server enabling AI assistants to generate images through OpenAI's DALL-E API with full support for all available options and fine-grained control.Last updated -JavaScriptMIT License
- AsecurityFlicenseAqualityA server that accepts image URLs and analyzes their content using GPT-4-turbo, enabling Claude AI assistants to understand and describe images through natural language.Last updated -11JavaScript