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
संबंधित सर्वर
Bright Data
प्रायोजकDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
GeekNews MCP Server
Fetches and caches daily articles from GeekNews using web scraping.
Unchained Sky
Browser automation MCP server that connects AI agents to your real Chrome browser with structured page understanding in ~500 tokens
Document Extractor MCP Server
Extracts document content from Microsoft Learn and GitHub URLs and stores it in PocketBase for retrieval and search.
SubDownload
Public MCP wrapper for SubDownload.Fetch YouTube transcripts, search videos, browse channels and playlists — instant YouTube data for your AI workflow.
Playwright Server
Automate web browsers and perform web scraping tasks using the Playwright framework.
Outscraper
Extract data from Google Maps, including places and reviews, using the Outscraper API.
MCP YouTube Extract
Extracts information from YouTube videos and channels using the YouTube Data API.
NBA Player Stats
Provides comprehensive NBA player statistics from basketball-reference.com, including career stats, season comparisons, and advanced metrics.
ScrapeBadger
Access Twitter/X data including user profiles, tweets, followers, trends, lists, and communities via the ScrapeBadger API.
rippr
YouTube transcript extraction for AI agents. Clean text, timestamps, or structured JSON from any video. No API keys required.