MCP (Model Context Protocol) server for GIMP (GNU Image Manipulation Program) integration. This server allows external applications to control GIMP using the MCP protocol, enabling AI models and agents to manipulate GIMP objects and perform actions like image editing, layer management, and more.
To install the GIMP MCP server, follow these steps:
- Clone this repository.
- Install the required dependencies (we recommend using
uv). - Set up the GIMP environment: Make sure you have GIMP installed and the GIMP Python console is accessible.
- Start the MCP server by running the following command:
uv run src/mcp-server/mcp_server.py- (Optional) test the server by running the MCP Inspector and connecting to the server
npx @modelcontextprotocol/inspector- Connect to the server from your external application or AI model using the MCP protocol.
- Example: Copilot in VS Code
- Other examples can be found in the examples directory.