Skip to main content
Back to the Canva MCP server

MCP Gateway · OpenCode

Canva icon

Connect Canva to OpenCode

OpenCode users who script their release work can bring Canva into the same loop. Speakeasy hosts Canva behind its MCP Gateway, so OpenCode reaches it as a remote server in its mcp config and signs in when prompted. The OpenCode plugin sends each prompt and tool call to Speakeasy, which allows or denies it before it runs.

Category
Design
Tools
22
Authentication
OAuth
OpenCode
Terminal

Behind the MCP Gateway

Run Canva MCP behind the MCP Gateway

One URL for every agent, sign-in through your IdP, RBAC down to the tool, and every Canva call inspected and logged.

Deploy on MCP Gateway

Set up

Add Canva to OpenCode in 4 steps

  1. 01

    Add Canva from the catalog

    An admin finds Canva in the MCP Catalog (MCP Gateway > MCP > Catalog) and clicks Add. Speakeasy registers the vendor's server as a remote MCP server and proxies sessions to it. Nothing is copied or re-hosted.

    Canva uses OAuth. Servers that support dynamic client registration get their OAuth configuration applied automatically.

    Where MCP-scoped policies are enabled, the install offers a recommended risk policy for the new server that detects secrets and PII and inspects tool requests and responses.

  2. 02

    Choose who can use Canva

    Give teams the mcp:connect scope on the Canva server through team access or a role. OpenCode connects to the Canva server's own URL, and the server's authorization decides who can connect and which tools they can call.

  3. 03

    Connect OpenCode

    Add the server to OpenCode's own mcp config block as a remote server.

    Copy the server's URL from its hosted install page in Speakeasy.

    Add it to the mcp block of your OpenCode config with type set to remote.

    Restart OpenCode and sign in when prompted.

    {
      "mcp": {
        "<server slug>": {
          "type": "remote",
          "url": "<URL from the hosted install page>"
        }
      }
    }
  4. 04

    Sign in and use Canva from OpenCode

    The first time OpenCode connects, it opens a browser so the person can sign in to Speakeasy through your identity provider.

    Canva needs its own OAuth grant, so each person connects it once. Until they do, Canva calls fail while the rest of the gateway keeps working.

    From then on, Canva's tools appear in OpenCode, limited to what the person's access allows, and every call lands in the gateway's tool logs.

OpenCode doesn't receive MCP servers from plugins. The observability package is installed separately, from a ZIP or with speakeasy-hooks install --provider=opencode, and the device agent can maintain it.

Use cases

What OpenCode users do with Canva

Upload generated charts as assets

When a script produces a chart or screenshot at a URL, OpenCode uploads it into Canva as an asset, ready for whoever is building the deck.

upload-asset-from-url

Export a folder of architecture diagrams

Point OpenCode at the Canva folder that holds your architecture diagrams. It lists the designs inside and exports the ones your docs reference as PNG files.

list-folder-itemsexport-design

Generate a release image on brand

Before OpenCode generates a social image for a release post, it lists the brand kits available to you so the new design uses the right brand identity.

list-brand-kitsgenerate-design

Tools

22 tools

Each Canva tool can be allowed or denied per team and role at the MCP Gateway before OpenCode sees it.

upload-asset-from-url

Upload an asset (e.g. an image, a video) from a URL into Canva If the API call returns "Missing scopes: [asset:write]", you should ask the user to disconnect and reconnect their connector. This will generate a new access token with the required scope for this tool.

search-designs

Search docs, presentations, videos, whiteboards, sheets, and other designs in Canva, except for templates or brand templates. Use when you need to find specific designs by keywords rather than browsing folders. Use 'query' parameter to search by title or content.

get-design

Get detailed information about a Canva design, such as a doc, presentation, whiteboard, video, or sheet. This includes design owner information, title, URLs for editing and viewing, thumbnail, created/updated time, and page count. This tool doesn't work on folders or images.

get-design-pages

Get a list of pages in a Canva design, such as a presentation. Each page includes its index and thumbnail. g. Canva docs). You must provide the design ID, which you can find using tools like search-designs or list-folder-items.

get-design-content

Get the text content of a doc, presentation, whiteboard, social media post, and other designs in Canva (except sheets, as it does not return data in sheets). Use this when you only need to read text content without making changes.

See all 22 tools

Control

What Speakeasy can see and stop in OpenCode

The gateway covers every client the same way. The rest depends on what OpenCode exposes to Speakeasy.

Tool logs

Gateway

Every Canva call is logged with the person and the client that made it.

Access by role

Gateway

People reach only the Canva tools their team or role allows.

Request and response blocking

Gateway

A risk policy scoped to Canva can reject a tool request before it reaches the server, or withhold a result from OpenCode. MCP-scoped policies are enabled per organization.

Prompt and tool-call blocking

OpenCode

The OpenCode plugin sends each prompt and tool call to Speakeasy, which allows or denies it before it runs.

Usage telemetry

OpenCode

Token and cost totals flow through the plugin, reported per turn.

Device agent

OpenCode

The device agent installs and maintains the observability package.

  • OpenCode has no OpenTelemetry exporter, so session data comes through the plugin.
  • Tool output is blocked at the gateway rather than in OpenCode's hooks.

Questions

Frequently asked questions

Can Canva tool output be blocked in OpenCode?
Yes, at the gateway. Tool output is blocked at the MCP Gateway rather than in OpenCode's hooks, while the OpenCode plugin checks prompts and tool calls before they run.
Can OpenCode upload files to our Canva account?
Only if your role allows upload-asset-from-url. Each of the 22 Canva tools can be allowed or denied per team and role at the MCP Gateway.
How do OpenCode users get Canva?
An admin adds Canva from the Speakeasy MCP Catalog and grants access by team or role. Add the server to OpenCode's own mcp config block as a remote server. Each person then sees only the Canva tools their access allows.
Are Canva calls from OpenCode logged?
Yes. Canva calls go through the MCP Gateway, which logs each tool call and attributes it to the person and the client that made it.

Connect more

Canva in other clients

AI everywhere.

Control here.