Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 2 KB

File metadata and controls

45 lines (30 loc) · 2 KB

GIMP MCP Plugin

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.

Installation

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/, where 3.X is your GIMP version.

  • Copy the gimp_mcp_plugin directory 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.

Usage

The plugin creates a new entry in the GIMP menu under Filters > Development > MCP Bridge Server. It has two main actions:

  1. Open MCP Bridge Server: Starts the MCP server, allowing external applications to connect to GIMP.
  2. Close MCP Bridge Server: Stops the MCP server, disconnecting any external applications.

Resources

Documentation and Tutorials

GIMP Python Plugins