Image Process MCP Server logo

Image Process MCP Server

by x007xyz

An MCP Server for image processing that utilizes the Sharp library to provide image manipulation capabilities. It offers functionalities such as resizing, format conversion, cropping, and rotation.

View on GitHub

Last updated: N/A

What is Image Process MCP Server?

This is an MCP (Model Context Protocol) server designed for image processing tasks. It leverages the 'sharp' library, a high-performance Node.js module, to provide efficient and versatile image manipulation functionalities.

How to use Image Process MCP Server?

The server can be used by sending requests to its endpoints with appropriate parameters. Refer to the provided JSON examples for each tool (resizeImage, convertFormat, cropImage, rotateImage, getImageInfo) to understand the required input parameters. The provided MacOS/Linux and Windows example shows how to start the server using npx.

Key features of Image Process MCP Server

  • Resize Image

  • Convert Format

  • Crop Image

  • Rotate Image

  • Get Image Info

Use cases of Image Process MCP Server

  • Resizing images for web optimization

  • Converting images to different formats for compatibility

  • Cropping images to focus on specific regions

  • Rotating images for correcting orientation

  • Extracting image metadata for analysis

FAQ from Image Process MCP Server

What image formats are supported for conversion?

The server supports converting images to jpeg, png, webp, avif, tiff, and gif formats.

What is the default resizing method?

The default resizing method is 'cover'.

How do I specify the image quality for conversion?

Use the 'quality' parameter with a value between 1 and 100. This parameter is only applicable to formats that support compression.

What dependencies are required to run this server?

The server requires Node.js, the 'sharp' library, and '@modelcontextprotocol/sdk'.

What license is this server released under?

This server is released under the MIT license.