
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
image-processing-server
Advanced tools
A microservice for image processing based on FastMCP and Jimp, providing multiple image processing capabilities.
The Image Processing MCP Server is a feature-rich image processing service that supports various common image operations, including resizing, cropping, rotating, drawing shapes, adding watermarks, edge detection, grayscale conversion, Gaussian blur, thresholding, and flipping. The service provides interfaces through the Model Context Protocol (MCP) and can be easily integrated into AI applications.
Clone or download the project code
Navigate to the server directory:
cd server
Install dependencies:
npm install
Compile TypeScript code:
npm run build
npm start
The server will start on the default port and listen for MCP connections.
Resize an image to specified width and height.
Parameters:
imagePath: Image file path or URLwidth: Target widthheight: Target heightCrop a specified area of an image.
Parameters:
imagePath: Image file path or URLx: X-coordinate of the top-left corner of the crop areay: Y-coordinate of the top-left corner of the crop areawidth: Width of the crop areaheight: Height of the crop areaRotate an image by a specified angle.
Parameters:
imagePath: Image file path or URLdegrees: Rotation angle (0-360)Draw rectangles or circles on an image.
Parameters:
imagePath: Image file path or URLshape: Shape type ('rectangle' or 'circle')x: Starting point x-coordinatey: Starting point y-coordinatewidth: Shape widthheight: Shape heightcolor: Color (hexadecimal)Horizontally or vertically concatenate multiple images.
Parameters:
imagePaths: Array of image pathsdirection: Concatenation direction ('horizontal' or 'vertical')Detect edges in an image.
Parameters:
imagePath: Image file path or URLConvert an image to grayscale.
Parameters:
imagePath: Image file path or URLApply Gaussian blur to an image.
Parameters:
imagePath: Image file path or URLradius: Blur radiusApply threshold processing to an image.
Parameters:
imagePath: Image file path or URLthresholdValue: Threshold value (0-255)Horizontally, vertically, or bidirectionally flip an image.
Parameters:
imagePath: Image file path or URLdirection: Flip direction ('horizontal', 'vertical', 'both')After connecting to the server through an MCP client, you can call any of the above tools for image processing.
For example, to resize an image:
{
"tool": "resize",
"arguments": {
"imagePath": "/path/to/image.jpg",
"width": 800,
"height": 600
}
}
All tools return a unified JSON format:
{
"status": true,
"outputPath": "/path/to/output/image.jpg",
"imgData": "base64_encoded_image_data",
"error": ""
}
status: Whether the operation was successfuloutputPath: Output file path (for local files)imgData: Base64 encoded image data (for web images)error: Error message (if any)FAQs
An MCP server for image processing using JIMP library
The npm package image-processing-server receives a total of 1 weekly downloads. As such, image-processing-server popularity was classified as not popular.
We found that image-processing-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.