GimpMCP
An MCP server that allows LLMs to control GIMP programmatically, including images, layers, selections, text, transforms, filters, and arbitrary Script-Fu code.
README
GimpMCP
An MCP server that lets an LLM (Claude Code, Claude Desktop, etc.) drive a running GIMP 3.0 instance — images, layers, selections, gradients, text, transforms, filters, or arbitrary Script-Fu code.
If GIMP's window is open, you watch the edits happen live.
Setup
- Install GIMP 3.0.
- Install this server:
python -m venv .venv .venv\Scripts\pip install -e . - Register it with your MCP client (
claude mcp add, or.mcp.json):{ "mcpServers": { "gimp": { "command": "C:\\path\\to\\GimpMCP\\.venv\\Scripts\\python.exe", "args": ["-m", "gimp_mcp.server"] } } }
Turn on live mode
In GIMP: Filters ▸ Development ▸ Script-Fu ▸ Script-Fu Server → keep 127.0.0.1 / port
10008 → Start.
That's it. Now ask Claude things like:
open C:\photos\cat.png in GIMP, resize it to 800x600, and export it as cat_small.jpg
and you'll see each step land in the GIMP window.
What it can do
35 tools, grouped:
- Images — open, create, export, resize, crop, rotate, flip, flatten, inspect, close
- Layers — list, add, duplicate, move, fill, opacity, visibility
- Selections — rectangle, ellipse, clear
- Paint & type — gradient fill, text layers, font listing
- Adjust & filter — blur, sharpen, brightness/contrast, desaturate, invert
- Escape hatches —
apply_gegl_filter(any of GIMP's ~400 GEGL filters) andrun_script_fu(arbitrary Scheme against the full ~2,000-procedure PDB), withsearch_gimp_apito discover what exists
Run gimp_status any time to check what it's connected to.
Troubleshooting
| Problem | Fix |
|---|---|
| Tools refuse with a "start the server" hint | GIMP is open but the Script-Fu server isn't running — see Turn on live mode above |
| "Can't find GIMP" | Set GIMP_EXECUTABLE to your full gimp-console-3.0.exe path |
| Edits happen but you can't see them | You're on a headless instance; open GIMP and start its Script-Fu server |
| A procedure errors out | You're likely hitting a GIMP 2.x name that no longer exists — see the notes below |
Verified on Windows + GIMP 3.0.8. macOS/Linux detection is implemented but untested. GIMP 2.10 is not supported.
Digging deeper
NOTES.md — the GIMP 3.0 PDB changes that trip everyone up (renamed procedures,
the removed plug-in-* filter family, the text-layer footgun), the socket protocol, and how to
find procedures GIMP doesn't document.
License
MIT — see LICENSE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.