MCP Catalogs
首页image-processing-mcp-server screenshot

image-processing-mcp-server

by rafael-castelo·1·综合分 28

MCP 服务器,提供图像处理功能,包括调整大小、压缩、格式转换、元数据提取和裁剪。

mediadeveloper-toolsfile-system
0
Forks
0
活跃 Issue
12 个月前
最近提交
2 天前
收录于

概述

这是一个结构良好的 MCP 服务器,通过干净的 TypeScript 实现提供基本的图像处理功能。服务器提供了五个主要工具(调整大小、压缩、格式转换、获取元数据和裁剪)以及批量处理工具,使用户能够直接从 IDE 或 AI 助手执行各种图像操作。该实现支持常见的图像格式,包括 JPEG、PNG、WebP、AVIF 和 TIFF,并具有可配置的质量设置。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:自动调整网站图像以适应不同的响应式布局
:批量转换大型图像库为更高效的格式
:从图像中提取元数据用于编目或分析目的
:支持哪些图像格式?
:我可以一次处理多张图像吗?

什么时候选它

当您需要直接在 AI 编码助手中执行图像处理任务而无需离开 IDE 时,选择此 MCP 服务器。

什么时候不要选它

避免在生产级图像处理管道或需要高级功能(如 OCR、对象检测或基于机器学习的图像分析)的应用程序中使用此服务器。

此 server 暴露的工具

从 README 抽取出 6 个工具
  • resize-image

    Resize an image to a given width and height

  • compress-image

    Compress an image while preserving as much quality as possible

  • convert-image-format

    Convert an image to another format without losing quality

  • get-image-metadata

    Retrieves basic file information about an image

  • crop-image

    Crop an image to a specified rectangular area

  • batch-image-processing

    Run multiple image processing tasks in a single batch operation

可对比工具

sharp-mcpimage-processing-cli-mcpgraphic-design-tool

安装

安装

  1. **先决条件:** Node.js(推荐版本 14 或更高)和 npm
  2. **克隆并安装:**

``bash git clone git@github.com/rafael-castelo/image-processing-mcp-server.git cd image-processing-mcp npm install npm run build ``

  1. **在 Claude Desktop 中配置:**

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

  1. **与 Cursor 一起使用(NPX):**

```json { "mcpServers": { "image-processing": { "command": "npx", "args": [ "-y", "image-processing-mcp-server" ] } } }

FAQ

支持哪些图像格式?
该服务器支持 JPEG、JPG、PNG、WebP、AVIF 和 TIFF 格式的处理操作。
我可以一次处理多张图像吗?
是的,使用 'batch-image-processing' 工具可以在单个请求中对多张图像执行操作。

image-processing-mcp-server 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。