
Gimp Mcp
io.github.mrfentmen由 GitHub 账号 mrfentmen 发布v1.0.2更新于 Nov 5, 2026
Control GIMP image editing via Python-Fu scripting from AI agents.
概览
本地 MCP 服务器,让 AI 助手通过 Python-Fu 脚本控制 GIMP,打开、编辑、滤镜、缩放并导出图像。
- 可以做什么
- 在 GIMP 中打开图像,并读取尺寸、色彩模式、类型与图层信息
- 保存当前图像,或导出为 PNG、JPEG、XCF、PSD 格式
- 按指定尺寸缩放图像
- 应用模糊、锐化、亮度/对比度、灰度等滤镜
- 用自定义 Python 代码对多个文件进行批量处理
- 适用场景
- 适合让助手在本机完成重复性的位图编辑工作,例如缩放、加滤镜、格式转换或批量处理,无需手动操作 GIMP。
- 运行要求
- 以本地进程方式通过 npx(Node.js)运行,且同一台机器上需安装 GIMP,位于 PATH 中或通过可选环境变量 GIMP_PATH 指定路径。仅限桌面环境,未声明任何身份验证。
安装
在 SourceWeft 中
- 打开 控制台中的 Gimp Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
GIMP MCP
An MCP server for GIMP, the free and open-source raster graphics editor.
What it does
Control GIMP image editing through Python-Fu scripting. Open images, apply filters, resize, export, and run batch processing - all from AI agents.
Tools
open_image- Open an image file in GIMPsave_image- Save the current imageexport_image- Export to PNG, JPEG, XCF, PSD formatsresize_image- Resize to specific dimensionsget_image_info- Get image dimensions, mode, type, layerslist_layers- List all layers in an imageapply_filter- Apply blur, sharpen, brightness/contrast, grayscalebatch_process- Batch process multiple files with custom Python code
Install
Requirements
- GIMP must be installed on your system
- On macOS: GIMP at
/Applications/GIMP.appor in PATH - On Linux: GIMP available via package manager (usually
gimpin PATH) - On Windows: Install GIMP and add to PATH
Environment Variables
GIMP_PATH- Optional custom path to GIMP executable
Claude Desktop setup
Example usage
"Open the photo at /Users/me/pictures/landscape.jpg and resize it to 1920x1080" "Apply a blur filter with radius 10 to /Users/me/images/profile.png" "Export all PNGs in /Users/me/images/ to JPEG format" "Apply grayscale to this image and save it"
License
MIT
来源:README.md,提交 8b0875a
工具
0版本历史
2- v1.0.2最新Sep 22, 2026
- v1.0.1Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。