AI Automation with Claude
You can automate repetitive tasks in Affinity by giving natural language instructions to an AI assistant.
Affinity uses the Model Context Protocol (MCP)—an open standard that lets AI assistants communicate directly with apps—to receive instructions from your assistant and carry out tasks on documents.
Affinity’s MCP server runs locally on your device and connects to supported AI assistants.
Free during the beta period while we continue to develop and expand Affinity MCP capabilities.
Using Claude to chat with Affinity via the Affinity MCP server
What you can do with MCP
Describe a task in your own words and your AI assistant will use MCP to carry it out—no manual steps, scripting, or deep knowledge of Affinity’s interface required.
Typical uses include batch processing, file preparation, layer organization, localization, and making reusable custom tools.
If you give your AI assistant permission, it can save any completed workflow as a reusable script. This means you can repeat the process at any time, without needing to prompt again.
Note: Some tasks may not yet be possible during the beta.
Requirements
Before you begin, confirm you have downloaded and installed the following:
- Claude Desktop
- Affinity April ’26 or later
Claude Desktop requires macOS Big Sur 11 or later. If you're on macOS Catalina 10.15, you won't be able to use Claude Desktop and the MCP server.
Set up the MCP server
Connect the MCP server to your AI assistant
Configure Affinity
Confirm the connection
Affinity and Claude Desktop must be running at the same time to communicate with each other.
MCP privacy settings
- Access files on your Desktop—Open, edit, and save files on your Desktop when required to complete tasks.
- Access networks—Use internet and local network connections when required to complete tasks.
- Use saved scripts—Existing scripts stored in your scripting panel can be read and used for new tasks.
- Save scripts to your scripting panel—Save scripts from completed actions for use in Affinity.
- Use Canva AI Studio features—Use Canva AI Studio features to complete tasks. Premium and Ultra Canva AI tools will use up your Canva plan’s monthly AI allowance.
- Save task hints to your device’s local memory—Store task hints in local memory for similar tasks in the future.
- Share task hints with Affinity—Share anonymized task hints to help improve the Affinity knowledge base.
Prompting your AI assistant
With the MCP server enabled, here are a few powerful ways to get started.
Example 1: Enhance all images in a document at once
Quickly enhance all images in your document without manually editing each one. Ask your AI assistant to apply changes across all images for a consistent, eye-catching look. For example: “Add a purple to orange gradient map effect to all of the images in my document.”
Example 2: Rename layers automatically
Keep the Layers panel organized as your document grows—layer names can quickly become difficult to manage. Your AI assistant can recognize what each layer contains and rename them for you. For example: “Rename the layers in my Affinity document.”
Example 3: Create a custom tool
Build reusable tools tailored to your workflow. Describe the tool you want to create and include that it should have a UI. You can save what the AI assistant generates to the Scripts Library panel and reuse it later. For example: “Create a tool in Affinity that generates vector patterns and has a UI.”
Get the best results
- Work with existing documents. Your AI assistant performs best when modifying, fixing, or automating tasks on an existing document. Asking it to design from scratch generally produces poor results.
- Retry failed tasks. The AI assistant may not complete every task on the first attempt—this feature is still in active development. If it reports that something cannot be done, ask it to try again, as it often succeeds on a second attempt.
- Enable MCP local memory. Turn on this setting in Affinity’s MCP settings to allow it to store task hints in local memory for similar tasks in the future.
Save your favourite scripts
Once you’ve used your AI assistant to complete a workflow, you can save it as a script so you don’t need to re-prompt each time.
If you gave the MCP permission to save completed workflows to the Scripts Library panel, they can be run again at any time by going to Window > General > Scripts. Click a script to run it on the current document immediately.
Note: Your AI assistant can save updated versions of a script under a new name, but will not overwrite existing scripts directly.
FAQs
Which AI assistants are supported?
Claude is supported at this time.
Why can't Claude connect to Affinity?
Confirm Affinity April ’26 or later is open and running. Restart both Claude Desktop and Affinity.
Why does Claude refuse my request or behave unexpectedly?
Not all tasks will succeed on the first attempt. Rephrase your request or ask Claude to try again. We are continuing to develop and expand MCP support.
Why does Claude think I'm using an older version of Affinity?
Try prompting it directly, for example: “I’m using Affinity by Canva, April ’26 release.” This gives your assistant the context it needs to respond accurately.
Can I use MCP on mobile?
No. MCP requires the desktop versions of both Affinity and Claude.
Does MCP use my monthly AI allowance?
Using MCP with Affinity does not use your monthly AI allowance unless you have turned on Canva AI Studio in your MCP settings and are asking the assistant to use the premium or ultra model features. Claude usage is governed by your Claude plan.
Can I use MCP in my region?
It depends on whether Claude is supported in your region—see Claude’s list of supported countries and regions. However, MCP is not available in Affinity China.
Why doesn't the Affinity connector appear in Claude after installing?
Update Claude to the latest version. Then retry installing the connector from Claude's directory.
SEE ALSO:
How would you rate the help you received from this article?