Gimp Mcp

io.github.mrfentmen由 GitHub 帳號 mrfentmen 發布v1.0.2更新於 Nov 5, 2026

Control GIMP image editing via Python-Fu scripting from AI agents.

已驗證STDIO僅桌面開發者工具媒體與設計

概覽

AI 產生的概覽

本機 MCP 伺服器,讓 AI 助理透過 Python-Fu 腳本控制 GIMP,開啟、編輯、套用濾鏡、縮放並匯出影像。

可以做什麼
  • 在 GIMP 中開啟影像,並讀取尺寸、色彩模式、類型與圖層資訊
  • 儲存目前影像,或匯出為 PNG、JPEG、XCF、PSD 格式
  • 依指定尺寸縮放影像
  • 套用模糊、銳利化、亮度/對比、灰階等濾鏡
  • 以自訂 Python 程式碼批次處理多個檔案
適用情境
適合讓助理在本機處理重複性的點陣影像編輯工作,例如縮放、套用濾鏡、格式轉換或批次處理,不必手動操作 GIMP。
執行需求
以本機程序方式透過 npx(Node.js)執行,且同一台機器需安裝 GIMP,位於 PATH 中或透過選用環境變數 GIMP_PATH 指定路徑。僅限桌面環境,未宣告任何身分驗證。
安裝前請注意
它會修改並覆寫本機影像檔案:儲存、匯出與批次處理都會寫入磁碟,批次處理還會在 GIMP 內執行自訂 Python 程式碼,對重要檔案執行前應先確認變更內容。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Gimp Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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 GIMP
  • save_image - Save the current image
  • export_image - Export to PNG, JPEG, XCF, PSD formats
  • resize_image - Resize to specific dimensions
  • get_image_info - Get image dimensions, mode, type, layers
  • list_layers - List all layers in an image
  • apply_filter - Apply blur, sharpen, brightness/contrast, grayscale
  • batch_process - Batch process multiple files with custom Python code

Install

bash
npx gimp-mcp

Requirements

  • GIMP must be installed on your system
  • On macOS: GIMP at /Applications/GIMP.app or in PATH
  • On Linux: GIMP available via package manager (usually gimp in PATH)
  • On Windows: Install GIMP and add to PATH

Environment Variables

  • GIMP_PATH - Optional custom path to GIMP executable

Claude Desktop setup

json
{  "mcpServers": {    "gimp": {      "command": "npx",      "args": ["-y", "gimp-mcp"]    }  }}

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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v1.0.2最新Sep 22, 2026
  2. v1.0.1Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。