by maorcc
Edit images in GIMP via natural‑language commands, enabling AI agents to drive GIMP operations through the MCP interface.
Gimp Mcp provides a bridge between conversational AI clients (Claude Desktop, Gemini CLI, PydanticAI, etc.) and GIMP. By exposing the full GIMP API as MCP tools, users can describe desired image edits in plain language and have the system translate those requests into precise GIMP actions.
gimp-mcp-plugin.py
into GIMP’s plug-ins
folder and ensure it is executable.uv run --directory <path>/gimp-mcp-server server.py
(examples provided for Claude Desktop, Gemini CLI, and PydanticAI).uv run --directory <path> server.py
and point the client to it.This project enables non-technical users to edit images with GIMP through simple conversational commands, bridging the gap between GIMP's powerful capabilities and natural language interaction. It also allows professionals to execute complex multi-step workflows faster than traditional point-and-click methods.
Users can describe what they want to achieve - from basic photo adjustments to sophisticated artistic modifications. For example, "brighten the background and add a vintage filter" or "remove the red-eye and sharpen the subject" - and the system translates these requests into precise GIMP operations.
The project is functional and exposes all GIMP features via MCP. The main development focus is creating comprehensive AI-readable documentation to help AI agents use GIMP efficiently.
To install the plugin, copy the gimp-mcp-plugin.py
to your GIMP plug-ins
directory.
For detailed instructions on locating your GIMP plugins folder across different operating systems, please refer to this guide:
GIMP Plugin Installation Guide (Wikibooks)
Make sure the plugin file has "execute" permission.
For example, if your GIMP is installed with snap, you can use the following commands to copy the plugin to the correct directory:
mkdir ~/snap/gimp/current/.config/GIMP/3.0/plug-ins/gimp-mcp-plugin
cp gimp-mcp-plugin.py ~/snap/gimp/current/.config/GIMP/3.0/plug-ins/gimp-mcp-plugin
chmod +x ~/snap/gimp/current/.config/GIMP/3.0/plug-ins/gimp-mcp-plugin/gimp-mcp-plugin.py
Restart GIMP.
Open any image in GIMP, and then you should see a new menu item under Tools > Start MCP Server
. Click it to start the MCP server.
Configure your MCP client:
Add these lines to your Claude Desktop configuration file. (On Linux/macOS: ~/.config/Claude/claude_desktop_config.json )
{
"mcpServers": {
"gimp": {
"command": "uv",
"args": [
"run",
"--directory",
"your/path/to/gimp-mcp-server",
"server.py" ]
}
}
}
Configure your Gemini CLI MCP server in ~/.config/gemini/.gemini_config.json
:
{
"mcpServers": {
"gimp": {
"command": "uv",
"args": [
"run",
"--directory",
"your/path/to/gimp-mcp-server",
"server.py"
]
}
}
}
For PydanticAI agents, use the MCPServerStdio class:
from pydantic_ai import Agent
from pydantic_ai.mcp import MCPServerStdio
server = MCPServerStdio(
'uv',
args=[
'run',
'--directory',
'your/path/to/gimp-mcp-server',
'server.py'
]
)
agent = Agent('openai:gpt-4o', mcp_servers=[server])
For other MCP clients that support stdio transport, use the command:
uv run --directory your/path/to/gimp-mcp-server server.py
Note: Ensure your MCP client is configured with the GIMP MCP server before starting.
Start MCP Server
.Example output from the prompt "draw me a face and a sheep" using GIMP MCP
Contributions are welcome! Whether it's bug fixes, new features, or documentation improvements, feel free to submit a Pull Request or open an issue.
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by Skyvern-AI
Automates browser‑based workflows by leveraging large language models and computer‑vision techniques, turning natural‑language prompts into fully functional web interactions without writing custom scripts.
by ahujasid
Enables Claude AI to control Blender for prompt‑assisted 3D modeling, scene creation, and manipulation via a socket‑based Model Context Protocol server.
by PipedreamHQ
Connect APIs quickly with a free, hosted integration platform that enables event‑driven automations across 1,000+ services and supports custom code in Node.js, Python, Go, or Bash.
by elie222
Organizes email inbox, drafts replies in the user's tone, tracks follow‑ups, and provides analytics to achieve inbox zero quickly.
by grab
Enables Cursor AI to read and programmatically modify Figma designs through a Model Context Protocol integration.
by ahujasid
Enables Claude AI to control Ableton Live in real time, allowing AI‑driven creation, editing, and playback of tracks, clips, instruments, and effects through a socket‑based server.
by leonardsellem
Provides tools and resources to enable AI assistants to manage and execute n8n workflows via natural language commands.
by GongRzhe
Provides a Model Context Protocol server that enables AI assistants to send, read, search, and organize Gmail messages, supporting attachments, label and filter management, and automatic OAuth2 authentication.
by mario-andreschak
A unified platform that manages AI models, MCP servers, and complex workflows, offering secure key storage, visual flow building, and an interactive chat UI.