GIMP MCP
An MCP server for GIMP, the free and open-source raster graphics editor.
What it does
Control GIMP image editing through Python-Fu scripting. Open images, apply filters, resize, export, and run batch processing - all from AI agents.
Tools
open_image- Open an image file in GIMPsave_image- Save the current imageexport_image- Export to PNG, JPEG, XCF, PSD formatsresize_image- Resize to specific dimensionsget_image_info- Get image dimensions, mode, type, layerslist_layers- List all layers in an imageapply_filter- Apply blur, sharpen, brightness/contrast, grayscalebatch_process- Batch process multiple files with custom Python code
Install
npx gimp-mcp
Requirements
- GIMP must be installed on your system
- On macOS: GIMP at
/Applications/GIMP.appor in PATH - On Linux: GIMP available via package manager (usually
gimpin PATH) - On Windows: Install GIMP and add to PATH
Environment Variables
GIMP_PATH- Optional custom path to GIMP executable
Claude Desktop setup
{
"mcpServers": {
"gimp": {
"command": "npx",
"args": ["-y", "gimp-mcp"]
}
}
}
Example usage
"Open the photo at /Users/me/pictures/landscape.jpg and resize it to 1920x1080" "Apply a blur filter with radius 10 to /Users/me/images/profile.png" "Export all PNGs in /Users/me/images/ to JPEG format" "Apply grayscale to this image and save it"
License
MIT