Back to Browse

Gimp MCP Server

Developer ToolsUse Caution2.5MCP RegistryLocal
Free

Server data from the Official MCP Registry

Control GIMP image editing via Python-Fu scripting from AI agents.

About

Control GIMP image editing via Python-Fu scripting from AI agents.

Security Report

2.5
Use Caution2.5Critical Risk

This GIMP MCP server has critical security vulnerabilities stemming from unsafe command injection in script generation. User-supplied file paths and script code are directly interpolated into shell commands and Scheme/Python scripts without sanitization, allowing attackers to break out of intended operations and execute arbitrary code. The batch_process tool particularly enables unrestricted code execution. These are not theoretical issues—they represent real attack vectors. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity). Package verification found 1 issue.

5 files analyzed · 13 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

process_spawn

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

system_info

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Path to GIMP executable (default: /usr/bin/gimp)Optional

Environment variable: GIMP_PATH

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-mrfentmen-gimp-mcp": {
      "env": {
        "GIMP_PATH": "your-gimp-path-here"
      },
      "args": [
        "-y",
        "gimp-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

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 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

Reviews

No reviews yet

Be the first to review this server!