mcp-image-downloader

  • Image & Video Processing
JavaScript
MIT
1
A
security – no known vulnerabilities (report Issue)
A
license - permissive license (MIT)
A
quality - confirmed to work

Enables AI assistants to download images from URLs and perform basic image optimization tasks.

  1. Tools
  2. Prompts
  3. Resources
  4. Server Configuration
  5. README.md

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
download_imageDownload an image from a URL to a specified path
optimize_imageCreate an optimized version of an image

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

README.md

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 download
  • outputPath: Path where to save the image

optimize_image

Creates an optimized version of an image.

Parameters:

  • inputPath: Path to the input image
  • outputPath: Path where to save the optimized image
  • width (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

GitHub Badge

Glama performs regular codebase and documentation scans to:

  • Confirm that the MCP server is working as expected.
  • Confirm that there are no obvious security issues with dependencies of the server.
  • Extract server characteristics such as tools, resources, prompts, and required parameters.

Our directory badge helps users to quickly asses that the MCP server is safe, server capabilities, and instructions for installing the server.

Copy the following code to your README.md file:

Alternative MCP servers

  • -
    security
    A
    license
    -
    quality
    A Model Context Protocol (MCP) server that enables semantic search and retrieval of documentation using a vector database (Qdrant). This server allows you to add documentation from URLs or local files and then search through them using natural language queries.
    MIT
    • Apple
  • -
    security
    A
    license
    -
    quality
    Allows the AI to read from your local Apple Notes database (macOS only)
    MIT
    • Apple
  • A
    security
    A
    license
    A
    quality
    Uses yt-dlp to download subtitles from YouTube and connects it to claude.ai via Model Context Protocol.
    MIT
    • Apple