Skip to main content
Glama

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.

Related MCP server: gimp-mcp

Tools

  • open_image - Open an image file in GIMP

  • save_image - Save the current image

  • export_image - Export to PNG, JPEG, XCF, PSD formats

  • resize_image - Resize to specific dimensions

  • get_image_info - Get image dimensions, mode, type, layers

  • list_layers - List all layers in an image

  • apply_filter - Apply blur, sharpen, brightness/contrast, grayscale

  • batch_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.app or in PATH

  • On Linux: GIMP available via package manager (usually gimp in 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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to control GIMP 2.10 through its Script-Fu server, providing access to the entire GIMP procedure database with a vision feedback loop for iterative editing.
      6
      AGPL 3.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to perform GIMP-style image operations such as open, resize, crop, flip, rotate, blur, desaturate, text overlay, export, and batch processing via MCP tools, supporting both mock (Pillow) and live GIMP backends.
      2
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables controlling GIMP 3 locally through natural language, providing tools for image editing, layer management, selections, and PDB procedure invocation. Keeps all images and files on the user's machine with a local-first, secure design.
      40
      1
      GPL 3.0
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI agents to operate GIMP 3 end-to-end: open and inspect images, call every PDB procedure, apply GEGL filters destructively or as layer effects, measure pixels, render before/after/diff comparisons, cut out subjects with AI segmentation, and run multi-step recipes across folders.
      32
      102 PyPI
      5
      Apache 2.0