canva-mcp-server
Provides tools for searching, creating, and exporting designs through the Canva Connect API, enabling programmatic management of Canva design assets.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@canva-mcp-serverCreate a new Instagram post design for our summer sale"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
canva-mcp-server
Educational MCP (Model Context Protocol) server that connects an AI agent to the Canva Connect API. Built as classroom material about creative media with AI — it shows in practice how an MCP server is structured.
What it does
It exposes 3 tools that an AI agent (Claude, etc.) can call:
Tool | What it does |
| Finds existing designs in the Canva account by title |
| Creates a new blank design (poster, presentation, Instagram post, etc.) |
| Exports a design as PNG, JPG, PDF, PPTX, GIF, or MP4 |
Related MCP server: mcp-toolbox
Project structure
canva-mcp-server/
├── package.json
├── tsconfig.json
├── src/
│ ├── index.ts # ponto de entrada, registra as ferramentas
│ ├── constants.ts
│ ├── services/canva.ts # cliente HTTP + tratamento de erros da API
│ └── tools/ # uma ferramenta por arquivo
│ ├── searchDesigns.ts
│ ├── createDesign.ts
│ └── exportDesign.ts1. Install dependencies
cd canva-mcp-server
npm install2. Get a Canva Access Token
The Canva Connect API uses OAuth 2.0 (Authorization Code + PKCE). Step-by-step:
Access the Canva Developer Portal and create an app (type "Connect API integration").
Note down the Client ID and the Client Secret.
Set up a Redirect URI (for local tests, something like
http://127.0.0.1:3333/callback).Define the required scopes, at minimum:
design:content:read,design:content:write,design:meta:read,asset:read.Follow Canva’s OAuth flow (authorization in the browser → exchange of the
codefor anaccess_token) — the official guide is at https://www.canva.dev/docs/connect/authentication/. For a class, the simplest approach is to use Postman/Insomnia with the built-in OAuth2 flow, or the example script from the Canva Developer Portal itself.Keep the obtained
access_token(it expires — for continuous reuse, you would need to implement the refresh token; this is an advanced exercise for the class).
3. Set up the environment variable
export CANVA_ACCESS_TOKEN="seu_access_token_aqui"(There is a .env.example in the repository with the same template, if you prefer to use a .env file.)
4. Build and execution
npm run build
npm startFor development with automatic reload:
npm run dev5. Connect to Claude Code / Claude Desktop
Add to your mcp config (e.g., the project’s .claude/settings.json or claude_desktop_config.json):
{
"mcpServers": {
"canva": {
"command": "node",
"args": ["/caminho/absoluto/para/canva-mcp-server/dist/index.js"],
"env": {
"CANVA_ACCESS_TOKEN": "seu_access_token_aqui"
}
}
}
}6. Test with the MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.jsThis opens an interface to call the tools manually and see the results — great for demonstrating in class before connecting to a real agent.
Ideas for class exercises
Add a
canva_list_brand_templatestool (use brand templates).Implement automatic access token refresh.
Add support for
response_format(markdown vs JSON) as in the MCP best practices guide.Switch the transport from stdio to Streamable HTTP and run it as a service.
Licença
Available Tools
3 toolscanva_create_designCriar Design no CanvaA
Cria um novo design em branco no Canva a partir de um preset de tipo/tamanho.
Esta é uma ferramenta de escrita: cria um recurso novo e persistente na conta do Canva do usuário.
Args:
title (string): título do design
design_type (enum): um dos presets suportados (presentation, doc, poster, instagram_post, instagram_story, facebook_post, logo, flyer)
Retorna o id do design criado e o link de edição no Canva.
Exemplos:
"Crie uma apresentação chamada 'Aula 1 - Introdução'" -> title="Aula 1 - Introdução", design_type="presentation"
Não use para gerar conteúdo com IA a partir de um prompt de texto — esta ferramenta cria apenas um design em branco
Inputs: title (required), design_type (required).
canva_export_designExportar Design do CanvaA
Exporta um design do Canva para um arquivo (PNG, JPG, PDF, PPTX, GIF ou MP4).
Cria um job de exportação assíncrono e aguarda (com polling, até ~30s) a conclusão antes de retornar.
Args:
design_id (string): id do design a exportar
format (enum): png | jpg | pdf | pptx | gif | mp4 (padrão: png)
Retorna a(s) URL(s) de download do arquivo exportado.
Exemplos:
"Exporte o design X como PDF" -> design_id="X", format="pdf"
Erros:
Se o job falhar ou exceder o tempo de espera, retorna uma mensagem explicando o que houve.
Inputs: design_id (required), format.
canva_search_designsBuscar Designs no CanvaARead-onlyIdempotent
Busca designs existentes na conta conectada do Canva por título.
Não cria nem modifica nada — apenas lista designs já existentes.
Args:
query (string): termo de busca, comparado com o título dos designs
limit (number): máximo de resultados (padrão 20, máx 100)
Retorna uma lista de designs com id, título e links de edição/visualização.
Exemplos:
"Encontre os designs sobre 'workshop de IA'" -> query="workshop de IA"
Não use para criar um design novo (use canva_create_design)
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
TDQS
Scored across 3 tools
Each tool targets a distinct operation: search lists existing designs, create makes a new blank design, and export handles file conversion. There is no overlap in purpose, and the descriptions explicitly differentiate them with usage examples.
All tools follow a consistent 'canva_verb_noun' pattern: canva_search_designs, canva_create_design, canva_export_design. The snake_case convention is uniform, making it easy to predict tool names.
With only 3 tools, the server is intentionally minimal, focusing on the core lifecycle of search, create, and export. While slightly sparse, the count is reasonable for a focused integration and does not feel excessive.
The surface covers searching, creating, and exporting designs, but lacks update, delete, or get-single-design operations. This creates minor gaps for agents that need to modify or remove designs, but the core workflow is functional.
Maintenance
Related MCP Connectors
Connect AI agents to Flato's editable canvas runtime through a hosted MCP server.
An MCP server that gives your AI access to the source code and docs of all public github repos
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Make games with AI: one MCP server that connects your agent to Unity, Unreal and Godot editors.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that connects to Pollinations.ai API, enabling AI models to generate and download images and text through natural language commands.39Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server enabling LLMs to execute commands, manage files, interact with Figma, search the web, generate images, and more, extending their capabilities beyond text generation.Apache 2.0
- FlicenseDqualityDmaintenanceA comprehensive Model Context Protocol (MCP) server for interacting with Canva's API. It enables managing designs, brands, assets, and users through natural language.99-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for Canva integration. Connect Claude Code or any MCP-compatible AI client to your Canva account to search designs, generate AI designs, edit content, manage folders, and collaborate through comments.2MIT