
image-processing-mcp-server
by rafael-castelo·★ 1·综合分 28
MCP 服务器,提供图像处理功能,包括调整大小、压缩、格式转换、元数据提取和裁剪。
概述
这是一个结构良好的 MCP 服务器,通过干净的 TypeScript 实现提供基本的图像处理功能。服务器提供了五个主要工具(调整大小、压缩、格式转换、获取元数据和裁剪)以及批量处理工具,使用户能够直接从 IDE 或 AI 助手执行各种图像操作。该实现支持常见的图像格式,包括 JPEG、PNG、WebP、AVIF 和 TIFF,并具有可配置的质量设置。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要直接在 AI 编码助手中执行图像处理任务而无需离开 IDE 时,选择此 MCP 服务器。
什么时候不要选它
避免在生产级图像处理管道或需要高级功能(如 OCR、对象检测或基于机器学习的图像分析)的应用程序中使用此服务器。
此 server 暴露的工具
从 README 抽取出 6 个工具resize-imageResize an image to a given width and height
compress-imageCompress an image while preserving as much quality as possible
convert-image-formatConvert an image to another format without losing quality
get-image-metadataRetrieves basic file information about an image
crop-imageCrop an image to a specified rectangular area
batch-image-processingRun multiple image processing tasks in a single batch operation
可对比工具
安装
安装
- **先决条件:** Node.js(推荐版本 14 或更高)和 npm
- **克隆并安装:**
``bash git clone git@github.com/rafael-castelo/image-processing-mcp-server.git cd image-processing-mcp npm install npm run build ``
- **在 Claude Desktop 中配置:**
``json { "mcpServers": { "image-processing": { "command": "node", "args": ["path/to/mcp/server/build/index.js"] } } } ``
- **与 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 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。