Skip to main content
Glama

mcp-image-downloader

by qpd-v

MCP图像下载器

提供图片下载和优化工具的 MCP 服务器。该服务器基于模型上下文协议 (MCP) 构建,支持 AI 助手从 URL 下载图片并执行基本的图片优化任务。

特征

  • 从 URL 下载图像并进行适当的错误处理
  • 使用以下选项优化图像:
    • 调整大小(保持纵横比)
    • 质量调整(JPEG/WebP)
    • 格式转换

安装

# 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

用法

作为 MCP 服务器

将服务器添加到您的 MCP 配置中(例如,在 Claude Desktop 的配置中):

{ "mcpServers": { "image-downloader": { "command": "node", "args": ["/path/to/mcp-image-downloader/build/index.js"] } } }

可用工具

下载图片

将图像从 URL 下载到指定路径。

参数:

  • url :要下载的图像的 URL
  • outputPath :保存图像的路径
优化图像

创建图像的优化版本。

参数:

  • inputPath :输入图像的路径
  • outputPath :保存优化图像的路径
  • width (可选):目标宽度(如果仅指定宽度,则保持纵横比)
  • height (可选):目标高度(如果仅指定高度,则保持纵横比)
  • quality (可选):JPEG/WebP 质量(1-100)

发展

# Run in development mode npm run start # Build the project npm run build

要求

  • Node.js 16 或更高版本
  • NPM 或兼容的包管理器

执照

MIT 许可证 - 有关详细信息,请参阅LICENSE文件。

作者

qpd-v

版本

0.1.0 - 初始版本

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.

使 AI 助手能够从 URL 下载图像并执行基本的图像优化任务。

  1. 特征
    1. 安装
      1. 用法
        1. 作为 MCP 服务器
        2. 可用工具
      2. 发展
        1. 要求
          1. 执照
            1. 作者
              1. 版本

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  Enables 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 -
                  1
                  4
                  JavaScript
                  MIT License
                  • Apple
                  • Linux
                • -
                  security
                  A
                  license
                  -
                  quality
                  A 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 -
                  4
                  10
                  Python
                  MIT License
                • -
                  security
                  A
                  license
                  -
                  quality
                  A 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 -
                  14
                  1
                  JavaScript
                  MIT License
                • A
                  security
                  F
                  license
                  A
                  quality
                  A 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 -
                  1
                  1
                  JavaScript

                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