Skip to main content

gimp-mcp

Tell your AI assistant what you want, and watch it happen in GIMP. gimp-mcp connects Claude, Codex, Cursor, VS Code or any other MCP client to the GIMP window you already have open: it opens files, builds layers, sets editable text, makes selections, applies filters and exports, step by step, right in front of you.

PyPI Python CI License: MIT

Claude Code (left) asks gimp-mcp to turn a sunset photo into a YouTube thumbnail; GIMP (right) builds it layer by layer
A real, unedited session at 2× speed: one prompt in Claude Code, everything else done by GIMP through gimp-mcp. Full-quality video (1080p, real time).

Quickstart

gimp-mcp runs on Linux, macOS and Windows. You need GIMP 3.2+, uv and an MCP client. On Ubuntu 26.04:

sudo apt install -y gimp python3-gi gir1.2-gimp-3.0   # GIMP 3.2+ (other distributions and Flatpak: see below)
uvx gimp-mcp setup                                    # installs the GIMP plug-in, adds the server to your MCP clients
uvx gimp-mcp doctor                                   # after (re)starting GIMP: every check should be [ok]

Then ask your assistant: "Use GIMP to create a 1280×720 image with the title 'Hello' and export it to ~/hello.png".

Why gimp-mcp

Your GIMP, live. The assistant works in the GIMP you have open, not in a hidden copy. Every layer it adds shows up in the Layers panel, and you can take over with the mouse at any time.

Results you can keep editing. Titles stay editable text layers, each step can go on its own layer, blurs and color corrections can be editable filters, and the XCF keeps all of it. The assistant gives you a starting point, not a flattened PNG.

It checks its own work. Previews come back to the model as images, so it can see the result, fix what looks off and only then export. Checkpoints let it try an idea and go back to an earlier state when it doesn't work out.

Local and locked down. No network port: one Unix socket that only you can open, a fresh token at every GIMP start, a fixed set of operations, and an allowlist for the GIMP procedures it may call (no eval, no Script-Fu passthrough). Details in the security model.

Set up in one command. gimp-mcp setup finds GIMP (distribution package or Flatpak), installs the plug-in and adds the server to Claude Code, Claude Desktop, VS Code and Cursor, asking before it changes any file.

Things to ask

  • "Open ~/Pictures/team.jpg, crop it to a centered square and export a 512 px avatar."
  • "Make a 1200×630 social card for my blog post 'Shipping on Fridays', dark background, title on the left."
  • "Brighten only the background layer of poster.xcf and keep the original underneath, hidden."
  • "What's in ~/design/flyer.xcf? List the layers, the hidden ones and the fonts used."
  • "Blur the license plate in car.jpg and save a copy next to it."

What it can do

Look list open images, inspect layer trees and items, render previews the model can see
Files create, open, save XCF, export PNG and JPEG with options, close
Layers add, import, duplicate, group, reorder, rename, opacity, blend modes, visibility
Shape resize image or canvas, crop, scale, rotate, flip, move
Select rectangles and ellipses (add, subtract, intersect, feather), invert, layer masks
Paint fills, lines and paths, rectangles and ellipses
Text editable text layers: font, size, color, alignment, spacing
Adjust brightness/contrast, hue/saturation, blur, as destructive or editable filters
History undo groups (one Ctrl+Z in GIMP) and checkpoints the assistant can restore
Everything else about 420 more GIMP procedures, allowlisted (procedures toolset, opt-in)

54 tools in all, grouped into toolsets so your client only loads what it needs: see the tool reference and the coverage matrix.

How it works

 Claude / Codex / Cursor / …            gimp-mcp serve                 GIMP 3.2
 ───────────────────────────  MCP   ─────────────────────  Unix   ─────────────────────────
  "make the colors pop"      stdio   validates, maps ids  socket   gimp-mcp-bridge plug-in
                            ──────▶  to GIMP operations  ──────▶   runs them in your session

gimp-mcp setup copies a small Python plug-in into your GIMP profile. GIMP starts it with the application, and it serves its local socket while GIMP runs. The MCP server (uvx gimp-mcp serve, started by your client) talks to it. Also works with a headless GIMP for scripts and CI. More in the architecture notes.

Documentation

Also listed in the official MCP registry as io.github.mhbxyz/gimp-mcp. MIT licensed.

Metadata

Release files for gimp-mcp 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gimp-mcp 0.5.0
File Size Uploaded Provenance Actions
gimp_mcp-0.5.0.tar.gz 186.0 kB With provenance Details for gimp_mcp-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gimp-mcp 0.5.0
File Interpreter ABI Platform Actions
gimp_mcp-0.5.0-py3-none-any.whl Python 3 none any Details for gimp_mcp-0.5.0-py3-none-any.whl

Total release size: 404.8 kB

Release files / gimp_mcp-0.5.0.tar.gz

Download URL gimp_mcp-0.5.0.tar.gz
Size 186.0 kB
Tags Source
SHA-256 checksum
How to use checksums
88e45dab04dc01aced2ab20131643a926ad86220161ccc8e6c1f8cd9777abc9f
BLAKE2b-256 checksum
How to use checksums
8774df1d68bb0d7e947951b3f87458debeaf26f99c02b5e6687392043b43abad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / gimp_mcp-0.5.0-py3-none-any.whl

Download URL gimp_mcp-0.5.0-py3-none-any.whl
Size 218.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
469ab12f3e52fc28a03150ae662c2c97d65ebfadb5a365d02e2e8b74f6b31558
BLAKE2b-256 checksum
How to use checksums
a8b69d0e0d66b63a2529f7df1e0609d56af9526d86b6425238ba7a1a407a6e46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for gimp-mcp 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gimp_mcp-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page