DEV Community

Meredith Hassett for Canva Developers

Posted on • Originally published at canva.dev on

Introducing the Canva Dev MCP Server

AI coding assistants can significantly boost developer velocity but can struggle when they lack platform-specific knowledge. For example, Canva developers face the frustration of having to repeatedly teach AI assistants about Canva's unique components, patterns, and best practices in every new session.

To help solve this, we're excited to introduce the Canva Dev MCP Server: a tool designed to transform your AI assistants from generic coding helpers into Canva development experts.

What is the Canva Dev MCP Server?

Let's first define the Model Context Protocol (MCP):

MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.

Model Context Protocol Documentation

Building on this foundation, the Canva Dev MCP Server provides comprehensive, real-time Canva development context and tools to LLMs to help you build on Canva faster.

What can you do with the Canva Dev MCP Server?

Let's dive straight into some demos, to give you a glimpse of what you can do with the Canva Dev MCP.

1. Generate Canva apps

With a single prompt, the MCP Server can create a fully structured app that follows established best practices, by invoking the Canva CLI app generator. Then, once your app is created, it can help you add new features using various methods from the Apps SDK.

Generate Canva Apps with prompts in VS Code

Video demo of generating Canva Apps with prompts in VS Code

2. Adopt the App UI Kit

Migrate your existing UI to the App UI Kit components, to ensure consistency in both functionality and aesthetics across your app.

Apply the Canva UI Kit to your app in VS Code

Video demo of applying the Canva UI Kit to your app in VS Code

3. Localize your app

Integrate your app with our App I18n Kit, to rewrite your UI to be localizable with clear translator notes.

Update your Canva app to include i18n strings

Video demo of updating your app to include i18n strings

4. Comply with Canva's design guidelines

Run our Design Review tool to ensure your app UI adheres to Canva's standards. The MCP Server can generate a report with must/should/could recommendations based on Canva's design guidelines, and even give suggestions on improvements to your code.

quick app review before submitting

Video demo of doing a quick app review before submitting

5. Integrate with AI chat assistants

The MCP Server can also be integrated with AI chat assistants like Claude, where you can chat about the Canva Apps SDK or Connect APIs.
Your favorite chat assistant can now also be your personal Canva development expert!

Chat with Claude to to deep dive into Canva Dev documentation

Video demo of chatting with Claude to to deep dive into Canva Dev documentation

6. Integrate with Canva via the Connect API

Last but not least, you can build integrations with Canva via the Connect API, by generating Canva Connect API client code to create new designs or upload assets.

Use Claude to write code for a Canva Integration

Video demo of using Claude to write code for a Canva Integration

There are many more use cases to explore, so we're excited to see what you'll build!

Next steps and future plans

We're just getting started with AI-assisted app development. Expect ongoing enhancements and new capabilities based on your invaluable feedback via our community forum.

Check out the setup guide now to unlock the full power of AI-assisted development for Canva Apps and Integrations.

Happy hacking!

Top comments (0)