Skip to main content
Glama

mcp-image-downloader

by qpd-v

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

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

  1. Features
    1. Installation
      1. Usage
        1. As an MCP Server
        2. Available Tools
      2. Development
        1. Requirements
          1. License
            1. Author
              1. Version

                Related MCP Servers

                • -
                  security
                  F
                  license
                  -
                  quality
                  Enables AI assistants to control a browser through a set of tools, allowing them to perform web automation tasks like navigation, typing, clicking, and taking screenshots.
                  Last updated -
                  TypeScript
                • -
                  security
                  F
                  license
                  -
                  quality
                  Enables AI assistants to control a browser through a set of tools, allowing them to perform web automation tasks like navigation, typing, clicking, and taking screenshots.
                  Last updated -
                  TypeScript
                • A
                  security
                  A
                  license
                  A
                  quality
                  A server that allows AI agents and clients to programmatically capture screenshots of websites with options for image format and viewport selection.
                  Last updated -
                  1
                  2
                  6
                  TypeScript
                  MIT License

                View all related MCP servers

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/qpd-v/mcp-image-downloader'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server