Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GIMP_APPNoPath to GIMP.app (default: /Applications/GIMP.app)
GIMP_MCP_SOCKETNoPath to the Unix socket (default: /tmp/gimp-mcp-$USER.sock)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
gimp.statusA

Check whether the GIMP bridge is alive and which GIMP/Python process is serving requests.

gimp.get_infoA

Get GIMP version, directories, session details, platform information, and PDB health checks.

gimp.get_context_stateA

Get current GIMP context state such as foreground/background colors, brush, opacity, feather, antialias, and font.

gimp.get_image_bitmapB

Return a GIMP image as MCP image content with optional max-size scaling and region extraction.

gimp.list_imagesA

List open images, dimensions, layers, channels, and selected drawables.

gimp.get_imageC

Inspect one open image by GIMP image ID.

gimp.list_layersB

List layers for an image with IDs, names, visibility, opacity, dimensions, and offsets.

gimp.set_layer_propertiesB

Update a layer's name, visibility, opacity, or blend mode.

gimp.procedure.searchA

Search GIMP's Procedure Database by name/help text. This is the discovery entry point for most GIMP features.

gimp.procedure.describeB

Describe a PDB procedure's arguments and return values.

gimp.procedure.callA

Call a GIMP PDB procedure. Use describe first; pass object arguments as {"id": 123} or typed refs.

gimp.openB

Open an image file in GIMP through the file load PDB procedure.

gimp.exportB

Export an image to a file. The bridge chooses a file-* export procedure from the extension unless procedure is supplied.

gimp.fill_rectC

Fill a rectangular region on a drawable using the foreground color.

gimp.fill_ellipseC

Fill an elliptical region on a drawable using the foreground color.

gimp.add_textC

Create a text layer in an image.

gimp.draw_polylineC

Draw a deterministic pixel polyline on a drawable.

gimp.batchA

Run a list of bridge operations in order. Stops at the first failing operation.

Prompts

Interactive templates invoked by user choice

NameDescription
resize-and-exportResize an open image and export it through GIMP's PDB.
batch-convert-folderUse GIMP file load/export PDB procedures to convert a folder of images.

Resources

Contextual data attached and managed by the client

NameDescription
GIMP statusCurrent bridge and GIMP process status.
Open imagesCurrently open GIMP images and their layer trees.
PDB procedure indexSearchable list of GIMP PDB procedures.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/abelduarte/gimp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server