gimp-mcp
Provides tools for image editing operations such as opening, resizing, cropping, flipping, rotating, blurring, desaturating, text overlay, exporting, and batch resizing, using GIMP as the backend in live mode or Pillow in mock mode.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
gimp-mcp
gimp-mcp is an MCP server so AI agents can drive GIMP-style image operations: open/create images, resize, crop, flip, rotate, blur, desaturate, text overlay, export, and batch resize.
Mode | Backend | When |
mock (default) | Pillow | CI, offline, no GIMP install |
live |
| Machine with GIMP 2.10 / 3.x |
Product: mergeos-bounties/gimp-mcp · Funded: prj_0525
Install (one command)
Grok — recommended
pip install "git+https://github.com/mergeos-bounties/gimp-mcp.git" && grok plugin install mergeos-bounties/gimp-mcp --trustThis installs the Python CLI (gimp-mcp) and the Grok plugin (skill + MCP server from .mcp.json).
Check:
gimp-mcp version
gimp-mcp doctor
gimp-mcp demo
grok plugin list
grok mcp listLocal clone:
git clone https://github.com/mergeos-bounties/gimp-mcp.git
cd gimp-mcp
pip install -e ".[dev]"
grok plugin install . --trustOther agents (stdio MCP)
After pip install "git+https://github.com/mergeos-bounties/gimp-mcp.git", point any MCP host at:
Field | Value |
command |
|
args |
|
env |
|
Claude Desktop — merge examples/claude_desktop_config.json into Claude MCP config.
Cursor — merge examples/cursor_mcp.json.
Grok config.toml (manual, without plugin):
[mcp_servers.gimp_mcp]
command = "gimp-mcp"
args = ["serve"]
env = { GIMP_MCP_MODE = "mock" }
enabled = trueOne-liner via Grok CLI:
pip install "git+https://github.com/mergeos-bounties/gimp-mcp.git"
grok mcp add gimp-mcp -- gimp-mcp serveRelated MCP server: gimp-agent-mcp
Supported AI agents / hosts
Host | Support | Install |
Grok (CLI / TUI / Build) | Yes |
|
Claude Desktop | Yes | Copy examples/claude_desktop_config.json into Claude MCP settings |
Cursor | Yes | Merge examples/cursor_mcp.json into Cursor MCP config |
Claude Code | Yes | stdio MCP: same |
VS Code (MCP / Continue / Cline) | Yes | Generic stdio server config pointing at |
Windsurf / Cascade | Yes | stdio MCP entry with |
Codex CLI | Yes (stdio) | Register MCP server command |
ChatGPT Desktop | Partial | Only if host supports custom MCP stdio servers |
Gemini CLI | Partial | Only if MCP stdio plugins are enabled |
All packages speak MCP over stdio (gimp-mcp serve). Default mode is mock (offline, no simulator/terminal/GIMP required).
Highlights
Capability | Description |
MCP tools |
|
CLI |
|
Offline demo | Always works with Pillow mock |
Live GIMP 3 |
|
Live GIMP 2 | Script-Fu batch |
Grok plugin |
|
Quick start (developers)
cd mcp\GIMP-mcp
pip install -e ".[dev]"
gimp-mcp version
gimp-mcp doctor
gimp-mcp demo
pytest -qLive GIMP (optional)
# Install GIMP 3.x, then:
$env:GIMP_MCP_MODE = "live"
# optional override:
# $env:GIMP_MCP_BIN = "$env:LOCALAPPDATA\Programs\GIMP 3\bin\gimp-console.exe"
gimp-mcp doctor
gimp-mcp live-smokeMCP host config
Plugin ships .mcp.json. Manual examples: examples/claude_desktop_config.json, examples/cursor_mcp.json.
{
"mcpServers": {
"gimp-mcp": {
"command": "gimp-mcp",
"args": ["serve"],
"env": { "GIMP_MCP_MODE": "live" }
}
}
}CLI / tools
Command | Purpose |
| Package + detected console |
| Backend health |
| Mock end-to-end smoke |
| Live console smoke (skips if missing) |
| MCP tool names |
| One-shot tool ( |
| Full real-photo pipeline → multiple exports |
| Stdio MCP server |
Real photos
$env:GIMP_MCP_MODE = "live"
gimp-mcp process "C:\path\to\photo.jpg" --out-dir ".\examples\real-run" --watermark "MergeOS"Writes *_processed.png, *_gray.png, *_crop_flip_*.png, and batch_thumbs/ (GIMP 3 scale via python-fu-eval).
MCP tools: gimp_mode, gimp_doctor, gimp_seed_demo, gimp_list_images, gimp_close, gimp_new_image, gimp_open, gimp_info, gimp_resize, gimp_thumbnail, gimp_crop, gimp_flip, gimp_rotate, gimp_blur, gimp_sharpen, gimp_desaturate, gimp_invert, gimp_brightness, gimp_contrast, gimp_auto_orient, gimp_text_overlay, gimp_pipeline, gimp_export, gimp_batch_resize.
Env:
Variable | Meaning |
|
|
| Path to |
| Working directory for temp images |
| Batch timeout seconds |
Documentation
Doc | Contents |
GIMP 2.10 vs 3.x batch CLI matrix, GIMP_MCP_BIN discovery, migration guide | |
Original batch flags quick reference | |
MergeOS bounty info |
Development
pip install -e ".[dev]"
ruff check src tests
pytest -qPlugin layout:
.grok-plugin/plugin.json # Grok plugin manifest
.mcp.json # MCP stdio server for Grok
skills/gimp-mcp/ # Skill (auto-loaded after plugin install)
.grok/skills/gimp-mcp/ # Same skill for in-repo discoveryMergeOS bounties
Follow mergeos-bounties + star mergeos and mergeos-contracts. Claim issues → PR to master → 25–200 MRG.
See docs/BOUNTY.md.
License
MIT — see LICENSE.
Live test note (maintainer)
Verified on Windows with GIMP 3.2.4 at%LOCALAPPDATA%\Programs\GIMP 3\bin\gimp-console.exe
Live resize uses python-fu-eval +
--quit(not Script-Fu hang)gimp-mcp live-smokecompletes in a few secondsFilters may still use Pillow assist by design
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Image & PDF tools for AI agents: compress, convert, resize, PDF, AI vision, pipeline.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
MCP server exposing the YourImageShare upload API (upload/list/delete) as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control GIMP for image editing tasks such as opening, resizing, filtering, exporting, and batch processing images through Python-Fu scripting.MIT
- AlicenseBqualityBmaintenanceEnables 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.3254 PyPI5Apache 2.0
- AlicenseBqualityCmaintenanceEnables AI agents to drive GIMP 3 over MCP, covering layers, selections, painting, text, color adjustments, GEGL filters, raw PDB procedures, and free-form Python inside GIMP, with image previews so the agent can see the result of each step. It installs its bridge plugin automatically and launches or attaches to a running GIMP instance, which stays open across MCP client restarts.42MIT
- AlicenseNot gradedqualityCmaintenanceLets MCP clients such as Claude, Cursor or VS Code drive a locally installed image editor from plain-language requests, opening files, building and managing layers, making selections, applying adjustments and filters, and exporting the finished result. It exposes 65 tools covering layers, documents, adjustments, selections, filters, undo/redo state and export formats like PNG, PSD and WebP.5MIT