affinity_get_ui
Inspect the front window — buttons, text fields, dialogs
How to use it
Project documentation lists affinity_get_ui for the Affinity MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Affinity MCP Server
claude mcp add affinity-mcp-server bun run /path/to/affinity-mcp-server/index.tsOther tools in Affinity MCP Server (22)
Add a layer (pixel, mask, adjustment, fill, etc.)
Click any menu item by path (up to 4 levels deep)
Click a UI element by description or title
Close the current document
Flatten, flip, rotate, clip/unclip canvas
Export via File > Export (PNG, JPG, SVG, PDF, etc.)
List available filters
List all items in a top-level menu
List items in a submenu
Send a key code (Escape, Return, arrows, etc.)
Send a keystroke with optional modifiers
Launch Affinity if not already running
Click or drag at screen coordinates
Create a new document, optionally from last preset
Open a file in Affinity (image, .af, .psd, .svg, etc.)
Import and run an .afmacro file
Save or Save As the current document
Take a screenshot of the Affinity window
Select a tool (move, pen, rectangle, text, brush, etc.)
Check if Affinity is running, list open windows
Type text into text fields, dialogs, or the text tool
Undo or redo actions