- Image Process MCP Server
Image Process MCP Server
An MCP Server for image processing that uses the Sharp library to provide image manipulation functionality. 这是一个用于处理图片的MCP Server,使用 sharp 库提供图片处理功能。
Content
Image Process MCP Server
An MCP Server for image processing that uses the Sharp library to provide image manipulation functionality.
这是一个用于处理图片的MCP Server,使用 sharp 库提供图片处理功能。
Features / 功能
The server provides the following image processing tools:
- Resize Image (
resizeImage): Adjust the width and height of an image - Convert Format (
convertFormat): Convert images to different formats (jpeg, png, webp, avif, tiff, gif) - Crop Image (
cropImage): Crop a specific region of an image - Rotate Image (
rotateImage): Rotate an image - Get Image Info (
getImageInfo): Get basic information about an image (dimensions, format, etc.)
提供以下图片处理工具:
- 调整图片尺寸 (
resizeImage):调整图片的宽度和高度 - 转换图片格式 (
convertFormat):将图片转换为不同的格式(jpeg、png、webp、avif、tiff、gif) - 裁剪图片 (
cropImage):裁剪图片的指定区域 - 旋转图片 (
rotateImage):旋转图片 - 获取图片信息 (
getImageInfo):获取图片的基本信息(尺寸、格式等)
Usage / 使用
MacOS / Linux
{
"mcpServers": {
"Image Process MCP": {
"command": "npx",
"args": ["-y", "image-process-mcp-server"]
}
}
}
Windows
{
"mcpServers": {
"Image Process MCP": {
"command": "cmd",
"args": ["/c", "npx", "-y", "image-process-mcp-server"]
}
}
}
Tool Parameters / 工具参数
Resize Image (resizeImage) / 调整图片尺寸
{
"input_path": "Path to the input image",
"output_path": "Path to the output image",
"width": Width in pixels (optional),
"height": Height in pixels (optional),
"fit": "Resizing method, options: cover, contain, fill, inside, outside, default is cover"
}
{
"input_path": "输入图片的路径",
"output_path": "输出图片的路径",
"width": 宽度(像素),可选,
"height": 高度(像素),可选,
"fit": "调整尺寸的方式,可选值:cover, contain, fill, inside, outside,默认为cover"
}
Convert Format (convertFormat) / 转换图片格式
{
"input_path": "Path to the input image",
"output_path": "Path to the output image",
"format": "Target format, options: jpeg, png, webp, avif, tiff, gif",
"quality": Image quality (1-100), only for formats supporting compression, default is 80
}
{
"input_path": "输入图片的路径",
"output_path": "输出图片的路径",
"format": "目标格式,可选值:jpeg, png, webp, avif, tiff, gif",
"quality": 图片质量(1-100),仅用于支持压缩的格式,默认为80
}
Crop Image (cropImage) / 裁剪图片
{
"input_path": "Path to the input image",
"output_path": "Path to the output image",
"left": Left edge offset (pixels),
"top": Top edge offset (pixels),
"width": Crop width (pixels),
"height": Crop height (pixels)
}
{
"input_path": "输入图片的路径",
"output_path": "输出图片的路径",
"left": 左边缘的偏移量(像素),
"top": 顶部边缘的偏移量(像素),
"width": 裁剪宽度(像素),
"height": 裁剪高度(像素)
}
Rotate Image (rotateImage) / 旋转图片
{
"input_path": "Path to the input image",
"output_path": "Path to the output image",
"angle": Rotation angle in degrees
}
{
"input_path": "输入图片的路径",
"output_path": "输出图片的路径",
"angle": 旋转角度(度)
}
Get Image Info (getImageInfo) / 获取图片信息
{
"input_path": "Path to the image"
}
{
"input_path": "图片的路径"
}
Examples / 示例
In Claude, you can call the tools using the following format:
Please help me resize an image to 500 pixels wide
Input path: /path/to/input.jpg
Output path: /path/to/output.jpg
在 Claude 中,可以使用以下方式调用工具:
请帮我将图片调整为宽度500像素的大小
输入路径:/path/to/input.jpg
输出路径:/path/to/output.jpg
Dependencies / 依赖
- Node.js
- sharp
- @modelcontextprotocol/sdk
License / 许可证
MIT
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Amap Maps高德地图官方 MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
DeepChatYour AI Partner on Desktop
Serper MCP ServerA Serper MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™
Playwright McpPlaywright MCP server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Tavily Mcp
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
CursorThe AI Code Editor