GIMP plugin for Model Context Protocol (MCP) integration, allowing external applications to control GIMP using the MCP protocol. This plugin is not a full MCP implementation but provides a bridge to connect GIMP with the MCP server by starting a socket-based server that listens for incoming connections from the GIMP MCP Server companion app.
WARNING: This plugin is designed to work with GIMP 3.
To install the GIMP MCP plugin, follow these steps:
-
Clone this repository
-
Locate your GIMP plugins directory. On Linux, it is usually located at
~/.config/GIMP/3.X/plug-ins/, where3.Xis your GIMP version. -
Copy the
gimp_mcp_plugindirectory into your GIMP plugins directory. -
Ensure the plugin entrypoint file is executable:
chmod +x ~/.config/GIMP/3.X/plug-ins/gimp_mcp_plugin/gimp_mcp_plugin.py -
Restart GIMP. The plugin should automatically load when GIMP starts.
The plugin creates a new entry in the GIMP menu under Filters > Development > MCP Bridge Server.
It has two main actions:
- Open MCP Bridge Server: Starts the MCP server, allowing external applications to connect to GIMP.
- Close MCP Bridge Server: Stops the MCP server, disconnecting any external applications.