drio
Open app

GIMP-MCP: Integrating GIMP with AI through Model Context Protocol

Source

Gimp MCP Server

Catalog onlyCatalog onlySTDIO

Overview

GIMP-MCP is an initiative to integrate the Model Context Protocol (MCP) into the GNU Image Manipulation Program (GIMP), enabling seamless interaction between GIMP and AI models for enhanced image editing workflows.

To use GIMP-MCP, install GIMP 2.10 or later, set up the MCP server, and integrate the MCP plugin into GIMP. Once set up, you can access AI tools under Filters > AI Tools.

  • AI Integration for enhanced image processing capabilities. - Automated workflows to perform repetitive tasks efficiently. - Context-aware operations for intelligent edits based on AI understanding.
  1. AI-powered background removal from images.
  2. Image inpainting to fill missing or corrupted parts.
  3. Object recognition and style transfer for artistic edits.

Add to your AI client

Use these steps to connect GIMP-MCP: Integrating GIMP with AI through Model Context Protocol in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "gimp-mcp-libreearth": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gimp-mcp-libreearth"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "gimp-mcp-libreearth": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gimp-mcp-libreearth"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "gimp-mcp-libreearth": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gimp-mcp-libreearth"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "gimp-mcp-libreearth": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gimp-mcp-libreearth"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "gimp-mcp-libreearth": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gimp-mcp-libreearth"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "gimp-mcp-libreearth": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-gimp-mcp-libreearth"
      ]
    }
  }
}

FAQ

What is the Model Context Protocol (MCP)?

MCP is an open standard for integrating AI systems with applications like GIMP.

Is GIMP-MCP compatible with all versions of GIMP?

No, it requires GIMP 2.10 or later.

How can I contribute to GIMP-MCP?

You can fork the repository on GitHub and submit a pull request with your changes.