GIMP MCP 服务器
概览
完全演示( 有音频): https://github.com/gimp-mcp/gimp-mcp/raw/main/docs/demo.mp4 AI代理使用GIMP MCP删除背景,编辑字符表达式,并验证结果——全部通过克洛德的自然语言. GIMP MCP通过"模型背景协议"将GIMP的专业图像编辑能力与AI助手相接. 它让您通过描述自己想要的东西来编辑图像——并给AI一个现场视觉反馈频道,在继续前验证每个变化. - AI可以在工作流程的任意时刻看到图像,而不保存到磁盘上(get state snapshot) - 支持完全自主的多步骤管道:打开 编辑 校验 精细导出 79个专用工具命令,涵盖每个主要的GIMP操作 - 完全兼容GIMP 3.2.x(所有突破API更改已解决) AI去掉背景,取出快照检查结果,检测出所剩的像素,并循环到图像清空为止: - 在GIMP 3.2上测试.
概述(AI 翻译)
□ 德莫语
完全演示( 有音频): https://github.com/gimp-mcp/gimp-mcp/raw/main/docs/demo.mp4
AI代理使用GIMP MCP去除背景,编辑字符的表达,并验证结果——全部通过克洛德的自然语言
– – . . .
□ 概览
GIMP MCP通过"模型背景协议"将GIMP的专业图像编辑能力与AI助手相接. 它让您通过描述自己想要的东西来编辑图像——并给AI一个现场视觉反馈频道,在继续前验证每个变化.
** 与其他GIMP整合有何不同:**
- AI可以 * 查看 * 工作流程中任意时刻的图像而不保存到磁盘上 ([[T1])
- 支持完全自主的多步骤管道:开放 编辑 核查 精细 出口
- 79个专门工具命令,涵盖GIMP每项主要行动
- 完全兼容GIMP 3.2.x(所有破解API更改已解决)
□ 关键特性
{\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢? |-|-|-.
# # # # # 生活视觉反馈 # # # # get_state_snapshot 返回 PNG 预览工作中间流程,所以AI 验证每个步骤 # # # #
(笑声).
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
GIMP MCP
Demo
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
- 79 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 |
| 🎨 79 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 (59/59 passing) |
| 🔁 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
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"gimp": {
"command": "uv",
"args": ["run", "--directory", "/full/path/to/gimp-mcp", "gimp_mcp_server.py"]
}
}
}