Wonder MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Wonder MCP or direct API to create design files, edit canvas elements, manage prototypes, and review comments through natural language.

Wonder MCP logoWonder MCP
Dcr Oauth

Wonder MCP is a hosted design server for creating and managing design files, canvases, prototypes, assets, and comments. It gives teams a direct, structured way to work with Wonder designs through MCP-compatible tools.

53 Tools

Try Wonder MCP now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Wonder MCP
Try asking
TOOLS

Supported Tools

Every Wonder MCP action and event your agent gets out of the box.

Create artboard

Creates an artboard from the root JSX in code.

Create design tokens

Creates design tokens in the file.

Create file

Creates a Wonder design file on the server and returns its fileId, first pageId, branchName and a url for your reply; nothing opens on the user's screen.

Create folder

Creates a folder in the user's Files, at the organization's root or inside parentFolderId, and returns its folderId for create_file.

Create icons

Adds icons to the file's library: up to 20 ({ name, svg, keywords?

Create page

Add a page to a Wonder file, named by its fileId or by the pageId of any page in it, at the end of its page list unless afterPageId places it.

Create prototype

Creates a working prototype from canvas frames: a node on the canvas that plays a React module built from them, for everyone in the file.

Delete design tokens

Deletes design tokens by name.

Delete elements

Deletes elements with their whole subtrees; an artboard root's id deletes the artboard.

Delete icons

Deletes icons from the file's library by name.

Duplicate elements

Duplicates an element and its whole subtree.

Edit prototype

Edits a prototype's module with small exact replacements (old text → new text); do not rewrite the whole file for a small change.

Fetch image content

Fetches an image's pixels as base64 with its contentType, so you can look at it.

Fetch image description

Fetches a text description of an image: cheaper than its pixels when you only need to know what it shows.

Find elements

Finds elements by free-form queries ("hero section", "button that says Sign Up", "green rounded card"), several per call, each ranked on its own against labels, span text and className tokens, or a component's name or id.

Finish artboard

Marks an artboard you created or changed as finished and returns its design link.

Generate image

Generates a raster image from a prompt and, unless placeOnCanvas is false, places it on the canvas as a new artboard.

Generate svg

Generates a vector SVG from a prompt.

Get additional context

Reads the context around one or more elements: their artboard, depth, parent, siblings, children and subtree size.

Get artboards

Lists the page's top-level artboards with data-node-id, label, position and size (x, y, width, height in canvas pixels, y downward), descendant count and depth, and up to 8 top-level children; a root or child that is a main component or an instance says so.

Get basic info

Reads the user's email, organization, open file, page, branch and selection, plus the file's pages, its most-used components and openFiles (every open file with its own pageId; one is focused).

Get comment thread

Reads one comment thread on the requested pageId; a threadId from another page is refused.

Get design context

Reads a canvas task's design context in one call: user, organization, file, page, branch, selection, the file's tokens, icons and most-used components with their properties, the page's artboards with their geometry, and the design fundamentals.

Get design guidelines

Returns design guidelines.

Get design tokens

Returns the file's design tokens: { tokens: [{ id, name, type, value, cssVar, aliasOf?

Get element code

Reads the React+Tailwind JSX code of one or more subtrees, one entry per id in order; an artboard root returns the whole artboard.

Get element tree

Reads an indented element tree of one or more subtrees, one line per element with its tag, data-node-id and data-node-label: cheaper than code, for finding ids and structure.

Get icons

Returns the file's icon library without markup: { icons: [{ id, name, componentName, colorMode, keywords?

Get skills

Loads the skill for one design job.

Get wonder info

Loads information about Wonder as a product and platform.

List comment threads

Lists comment threads on a Wonder page, newest first.

List files

Lists every Wonder file the user can open across their organizations (in a worktree given its own files, only those), one page at a time, with id, name, organization, and folder when it has one.

List file move destinations

Lists the workspaces a file can move into, considering your permissions, each workspace's plan limits and its file limit.

List folders

Lists the folders in the workspace that holds a file, empty ones included, by name, with each folderId, folderName and parentFolderId when it sits inside another.

Move file

Moves a file to another workspace, preserving its ID, pages, branches and history.

Move file to folder

Moves a file into a folder of its own workspace, from one folder to another, or back to the workspace root when you leave out folderId.

Move page

Moves a page, named by its pageId from the page list get_basic_info returns, to another place in its file's page list: right after the page afterPageId names, or to the position index gives.

Open file

Opens any Wonder file the user can reach at its landing page.

Prepare feedback upload

Prepares a one-time upload URL for a file to attach to a submit_feedback report.

Prepare image upload

Prepares a one-time upload URL for a raster image on the user's machine.

Read prototype

Reads a prototype's current module source, name, status, revision and source frame ids, with the rules for writing its module.

Rename elements

Renames elements (data-node-label), several per call; renaming an artboard root renames the artboard.

Rename file

Renames a Wonder file by its fileId.

Rename page

Renames a page of a Wonder file by its pageId, from the page list get_basic_info returns or the answer of the create_page that made it.

Reply to comment thread

Posts a reply in a comment thread.

Set comment thread status

Resolves a comment thread or reopens a resolved one.

Submit feedback

Sends feedback to the Wonder team so Wonder improves and agents have an easier time in future: a bug, a step that should be faster or simpler, a capability Wonder lacks, guidance that contradicted itself or was wrong, missing or unclear, or anything else the user wants Wonder to hear.

Take screenshot

Takes a screenshot of one element exactly as the canvas renders it: to see what your edits produced, or to read a design you are building in code.

Update design tokens

Changes existing design tokens: each entry names a token and sets a new value, a new aliasOf (same type, no cycle), a newName, or a rename with one of the other two.

Update elements

Edits one artboard's elements with JSX comment directives, each followed by its payload, if any.

Update icons

Renames library icons or replaces their keywords.

Update prototype

Writes a prototype's whole module source: the first time after create_prototype, or to replace it when the user asks to start over; make every other change with edit_prototype.

Vectorize image

Traces one supplied raster image into a clean SVG; there is no prompt.

SETUP GUIDE

Connect Wonder MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["wonder_mcp"],
  mcp: true,
});
Create a session scoped to Wonder MCP and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Create a new Wonder design file named 'Q4 Launch Dashboard' with a 1440 by 900 canvas.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Wonder MCP request
SETUP GUIDE

Connect Wonder MCP API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["wonder_mcp"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Wonder MCP
3

Run Wonder MCP tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Create a new Wonder design file named 'Q4 Launch Dashboard' with a 1440 by 900 canvas." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Wonder MCP tool calls through the session, and print the final answer

Why Use Composio?

AI Native Wonder MCP Integration

  • Supports both Wonder MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Wonder MCP data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Wonder MCP access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Wonder MCP
  • Scoped, least privilege access to Wonder MCP resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Wonder MCP with any AI Agent Framework

Choose a Framework you want to connect Wonder MCP with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Wonder MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Wonder MCP tool your agent needs.Free to start.

Start building