+5
日增长
+16
周增长
316
stars
57
forks
7
watchers
105
prs
55
issues
0
releases
README
GIMP MCP Demo !GIMP MCP in action — AI agent driving GIMP through natural language Full demo (with audio): https://github.com/gimp-mcp/gimp-mcp/raw/main/docs/demo.mp4 AI agent using GIMP MCP to remove a background, edit a character's expression, and verify results — all through natural language via Claude --- Overview GIMP MCP bridges GIMP's professional image editing capabilities with AI assistants through the Model Context Protocol. It lets you edit images by describing what you want — and gives the AI a live visual feedback channel to verify each change before moving on. What makes it different from other GIMP integrations: - The AI can see the image at any point in the workflow without saving to disk (get_state_snapshot) - Supports fully autonomous multi-step pipelines: open → edit → verify → refine → export - 80 dedicated tool commands covering every major GIMP operation - Fully compatible with GIMP 3.2.x (all breaking API changes resolved) Key Features | | | |---|---| | 👁️ Live Visual Feedback | get_state_snapshot returns a PNG preview mid-workflow so the AI verifies each step | | 🎨 80 GIMP Tools | Adjustments, transforms, selections, layers, drawing, text, filters — all via MCP | | 🔧 GIMP 3.2 Compatible | All GIMP 3.2 API breaks fixed and tested by run_tests.py | | 🔁 Iterative Workflows | AI loops until a goal is met — e.g. keeps removing BG until no pixels remain | | 🖼️ Region Snapshots | Zoom into any area for detail verification (face, mouth, corner, etc.) | | 🔌 Universal MCP | Works with Claude Desktop, Claude Code, Gemini CLI, PydanticAI, and more | What Can It Do? Background Removal with Iterative Verification The AI removes the background, takes a snapshot to inspect the result, detects remaining pixels, and loops until the image is clean: "Remove the background from this image and keep looping until only the character remains" Expression Editing "Make the character smile — paint a smile arc with teeth over her mouth" Complex Multi-Step Pipelines "Open navi_portrait.png, remove the background, verify it's clean, then make her smile and export the final result as a PNG" Color & Tone Work "Boost the contrast, shift the hue 15 degrees warmer, then show me a before/after zoom of the face" Text & Compositing "Add a bold title at the top in white with a subtle drop shadow, then export for web" --- Prerequisites - GIMP 3.2+ — tested on GIMP 3.2.2 (Windows, macOS, Linux) - uv — Python package manager (install uv); uvx downloads the MCP server and a suitable Python (3.11+) on first use - MCP-compatible AI client — Claude Desktop, Claude Code, Gemini CLI, PydanticAI, etc. --- Quick Start The MCP server and the GIMP plugin ship together as the gimp-mcp-plugin package on PyPI. No clone needed. 1. Install the GIMP Plugin Launch GIMP once (so its config folder exists), close it, then run: bash uvx gimp-mcp-plugin@latest install-plugin This copies the plugin into the newest GIMP 3.x config
Top issues
#65Looking for new maintainers5 comments · 2026-10-19#87Run tests/ in CI3 comments · 2026-11-10#145Follow-ups from #41: gradient_fill on offset layers, get_pixel_color outside a layer, fills ignore alpha2 comments · 2026-11-18#110Avoid GIMP's modal error dialogs, e.g. for filters not allowed as layer filters2 comments · 2026-11-12#153list_layers and get_image_metadata return blend modes as numbers that can't be passed back1 comments · 2026-11-18#136reorder_layer marks the image as changed when the layer doesn't move1 comments · 2026-11-16#86Implement scriptable undo/redo via the gimp-image-undo/gimp-image-redo PDB procedures (GIMP 3.4+)1 comments · 2026-11-10#85Remaining linear-vs-sRGB colour issues after #551 comments · 2026-11-08