MCP Image Downloader
A server for downloading and optimizing images from the web.
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
# Clone the repository
git clone https://github.com/qpd-v/mcp-image-downloader.git
cd mcp-image-downloader
# Install dependencies
npm install
# Build the project
npm run build
Usage
As an MCP Server
Add the server to your MCP configuration (e.g., in Claude Desktop's config):
{
"mcpServers": {
"image-downloader": {
"command": "node",
"args": ["/path/to/mcp-image-downloader/build/index.js"]
}
}
}
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
# Run in development mode
npm run start
# Build the project
npm run build
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
Servidores relacionados
Bright Data
patrocinadorDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
Puppeteer Vision
Scrape webpages and convert them to markdown using Puppeteer. Features AI-driven interaction capabilities.
HotNews MCP Server
Provides real-time hot trending topics from major Chinese social platforms and news sites.
HTML to Markdown MCP
Fetch web pages and convert HTML to clean, formatted Markdown. Handles large pages with automatic file saving to bypass token limits.
Primp MCP Server
An MCP server for the Primp HTTP client, enabling browser impersonation for requests and file uploads.
Oxylabs AI Studio
AI-powered tools for web scraping, crawling, and browser automation.
youtube-summarize
MCP server that fetches YouTube video transcripts and summarizes them using your LLM client
Web Scout
An MCP server for web search and content extraction using DuckDuckGo.
SnapSender
Capture any website as PNG, JPEG, WebP, or PDF with a single tool call.
Github to MCP
Convert GitHub repositories to MCP servers automatically. Extract tools from OpenAPI, GraphQL & REST APIs for Claude Desktop, Cursor, Windsurf, Cline & VS Code. AI-powered code generation creates type-safe TypeScript/Python MCP servers. Zero config setup - just paste a repo URL. Built for AI assistants & LLM tool integration.
Intelligent Crawl4AI Agent
An AI-powered web scraping system for high-volume automation and advanced data extraction strategies.