Productivity & Projects

Wonder MCP

Create and manage Wonder design files, canvas elements, prototypes, assets, design systems, and comments through Wonder's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Read prototype

    Reads a prototype's current module source, name, status, revision and source frame ids, with the rules for writing its module. Read it before changing a prototype, then change it with edit_prototype.

  • Rename elements

    Renames elements (data-node-label), several per call; renaming an artboard root renames the artboard. Renaming a main component renames the component, a layer inside a main is renamed in every instance, and an instance's own name changes only on that instance. Rename only when the new label says more than the current one; a label that already names the element's role and content stays as it is.

  • Rename file

    Renames a Wonder file by its fileId. It runs on the server and needs no editor, and everyone who has the file open sees the new name. Rename it only when the user asked you to, or when you created it and its name no longer fits what it holds.

  • 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. It runs on the server and needs no editor, and everyone who has the file open sees the new name. Rename it only when the user asked you to, or when you created it and its name no longer fits what it holds.

  • Reply to comment thread

    Posts a reply in a comment thread. The reply shows as Wonder, with the signed-in person and the client you run in beside it, so write it as the outcome of the work: what you changed or found, in a sentence or two. Reply once you have done or answered what the thread asks, not just to acknowledge it: a reply cannot be edited afterwards. A matching active Wonder run owned by your session finishes with the reply; this does not resolve the thread. Posting can succeed even if finishing the run fails, so do not post a duplicate reply to retry finishing.

  • Set comment thread status

    Resolves a comment thread or reopens a resolved one. Resolve a thread only when the user asks you to; after working on one, reply with reply_to_comment_thread and leave resolving it to them. Editors resolve any thread, anyone else only the threads they started. For reopening, explicitly pass the matching target's anchorObservation.identity as priorAnchorIdentity. A stale or legacy reopen refusal leaves the thread unchanged.

  • 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. Propose a report, saying what it would hold, when a Wonder tool fails in a way you can reproduce, when you had to work around something Wonder cannot do, or when the same awkward step repeats; it sets initiatedBy to agent. For user-requested feedback, use their words and initiatedBy user. A report or file that carries the user's design, code, names or business needs the user's approval first. Fill every field you can; the exact error text, the steps, the page and a proposed fix or where to look are what gets a report fixed. Leave out secrets, credentials and personal data; redacting them is your job. Send each distinct issue once, after you finish or give up, not while retrying. A report is about Wonder itself: something in it that failed, was missing, was unclear or was harder than it should be, never a status or summary of your own work; when no such problem came up, send only what the user asked for. Do not report a plan, billing, permission, sign-in or rate limit; the user's own mistakes, such as a wrong id or link; your own mistakes, the user's machine, or a call that worked on retry. Tell the user what the error says instead, and report it only when they ask you to.

  • 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. After the last edit to an artboard you built or changed, screenshot it once before finish_artboard, and once more after each fix; at most 4 per artboard, one call at a time.

  • 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. All or nothing: an entry that fails changes nothing, and the result names it. A token or library icon is one definition with many bound uses: changing it restyles every element bound to it on every page, other designs included. Change the definition only when the user wants the change everywhere, and ask first when a restyle would need a token other designs use. Returns the updated names, the count restyled and the file's tokens. Rename or delete tokens and icons only when the user asks, and add an icon only when the user asks or a design built from their code needs it.

  • Update elements

    Edits one artboard's elements with JSX comment directives, each followed by its payload, if any. The result returns each directive's tree with its ids; an edit's is one line. Directives (X and Y are data-node-ids you read): - {/* insert after X */}, {/* insert before X */}, {/* insert as first child of X */}, {/* insert as last child of X */} + one new element without a data-node-id, children nested inline. - {/* edit X */} + one self-closing element of X's kind: sets X's attributes, keeps its children. Omitted attributes keep their value; a declared className replaces the whole list. A leaf span may carry new text. - {/* replace X */} + X's full new subtree; children left out are removed. - {/* delete X */}, {/* move X after Y */}, {/* move X before Y */}, {/* move X to first child of Y */}, no payload. {/* insert as last child of hero */} <div data-node-label="Get Started Cta" className="flex gap-2 bg-[var(--brand-primary)]"><span data-node-label="Get Started Cta Text">Get started</span></div> A call cannot target an element it creates. Editing a main changes all its instances. Each turn, use get_element_code or a matching delivered host code read before an element's first edit or replace. Keep what the request leaves alone. Markup: div; span for all text; img (stock photos: images.unsplash.com); svg inside a labeled div, no text in it. Static Tailwind className (no md:/lg:). A Title Case data-node-label on every element. Colour: a file token's cssVar, made with the change if none holds it; a literal or palette class only if the user asks. Other values a token holds use its cssVar too. Icons: the file's library (import { X } from 'wonder-icons'), else react-icons, imported at the top; never emoji. Directives apply when the call returns: build a new design one section per call, replacing or deleting each skeleton placeholder in the call that fills it. Wait for each call to return before the next on the same artboard.

  • Update icons

    Renames library icons or replaces their keywords. All or nothing: an entry that fails changes nothing, and the result names it. Placed icons keep their binding and markup. Returns the updated names and the catalog. Bind an icon by the componentName the catalog returns, never one built from its name: a name collision adds a suffix and a rename changes it, so read the names back after creating, importing or renaming icons. Rename or delete tokens and icons only when the user asks, and add an icon only when the user asks or a design built from their code needs it.

  • 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. Wonder builds the module and runs it once before saving it. When it does not build, or throws or hangs as it starts, nothing is saved and the result says why. Otherwise it is saved as a new revision and the canvas plays it for everyone in the file. Follow the rules create_prototype and read_prototype return.

  • Vectorize image

    Traces one supplied raster image into a clean SVG; there is no prompt. Generating an SVG and vectorizing an image are for an explicit request (an SVG, a logo, a mascot or an illustration; trace, vectorize or convert this image): each takes 30 to 90 seconds and a paid model call, places its own artboard and returns the dataNodeId to continue from. Photos and other raster images come from generate_image, a new vector drawn from a description from generate_svg, and a vector traced from one supplied image from vectorize_image; offer generate_svg when the user wants a restyle rather than a trace.

PreviousPage 3 / 3