Blender integration through the Model Context Protocol
Compose Preview Catalogs is installed from its publisher's own source and answers where it runs, so this marketplace is not in the path of a single call. There is no address here to send one to, and a panel that pretended otherwise would be showing you an answer we made up. Install it and call it from your own client — the Installation tab has the entry for each one.
What it does
Browse, inspect and render Jetpack Compose Material 3 and Wear component catalogs.
Quickstart
# 1 — add it to Claude Code
claude mcp add --scope user --transport http compose-preview-catalogs-mcp https://preview.coo.ee/mcp
# 2 — ask your agent for something these tools do
# request_access, poll_access, status and 75 more
Compose Preview Catalogs costs nothing on mcprush: there is no plan to choose here, no cap to set and nothing mcprush can bill you for.
Collected from a public index. Nobody has claimed this account, so nothing here was written by its author — claim it if it is yours.
Where are you running it?
Every route below installs the same thing and ends at the same approval screen. Nothing here runs on your machine and nothing runs on ours: this server answers at its publisher’s own address, and what you install is the connection straight to it.
This is a public server: it answers at its publisher’s own address and this marketplace is not in the path. Claude Code registers it in one command; --scope user makes it available in every project. The transport below is http, as the publisher's own manifest declares it.
claude mcp add --scope user --transport http compose-preview-catalogs-mcp https://preview.coo.ee/mcpReconnect, or start a new session, and the tools appear in the model’s tool list.
Nothing is required, but it can take X-Compose-Preview-Token header (Optional access token for the hosted preview.coo.ee service. Leave it blank to use the service's interactive access grant.) if you want to set it.
One config entry pointing straight at the publisher’s own address — this marketplace is not in the path, and nothing from this listing executes on your machine.
78 tools, with what each one reads, writes and reaches shown before you agree — the same list on every route above. Read the tool surface.
Tool surface
What the model actually sees. Descriptions are diffed on every release — see version history.
Ask a human for access to this server. Returns an approveUrl and a userCode: show BOTH to the person you are working with, ask them to open the link and check that the code on the page matches, then call poll_access. When the client supports URL elicitation, call poll_access with urlMode=true instead of pasting the link into chat; clients without it keep this complete text fallback. The link grant
| Parameter | Type | Required | Notes |
|---|---|---|---|
| label | string | no | — |
| scope | string | no | — |
| ttlSeconds | integer | no | — |
| capabilities | array | no | — |
Collect the outcome of a request_access, proving possession of its deviceSecret. It HOLDS THE CALL OPEN and answers the moment the human decides — one call instead of a dozen, since each poll here costs a whole round trip through you. It waits 8 seconds by default; pass waitSeconds (up to 30) if your client tolerates a longer call. Pass urlMode=true when the client supports URL elicitation: while
| Parameter | Type | Required | Notes |
|---|---|---|---|
| requestId | string | yes | — |
| deviceSecret | string | yes | — |
| waitSeconds | integer | no | — |
| urlMode | boolean | no | Use the protocol-standard URL elicitation UI while this request is pending. |
Report readiness, the aggregate catalog set, and which host this is: origin, the canonical origin designs here are homed at, and originAliases, other hostnames that reach this same server.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
List every remote catalog with its stable id and preview count. Call this first: catalog_list_previews and catalog_list_data_products take one of these ids as 'catalog'.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
Open the hosted preview catalog browser app. With no arguments it lists every catalog with its preview count only; pass projectId to list one catalog's previews. To find previews without the app, call catalog_list_projects, then catalog_list_previews with a catalog id. Also opens from the ChatGPT/Codex sidebar.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| projectId | string | no | A catalog id from catalog_list_projects whose previews to list. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
Open the UI Builder's design list: pick a design to see it as the editor draws it. Takes no arguments. Also opens from the ChatGPT/Codex sidebar, and a deep link to /design/<id> opens one design.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
List the Compose previews and published metadata of one hosted catalog. 'catalog' is required (ids from catalog_list_projects). Pass 'query' (a component name such as EdgeButton) to narrow by id or label; results are paged (100 by default, 'offset'/'limit' for more). This server holds published library catalogs only: previews of the project you are editing come from the local compose-preview-mcp s
| Parameter | Type | Required | Notes |
|---|---|---|---|
| catalog | string | yes | A catalog id from catalog_list_projects. |
| query | string | no | Case-insensitive substring of a preview id or label, such as a component name. |
| offset | integer | no | — |
| limit | integer | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
Render one preview. Like local compose-ai-tools, the default semantics observation is token-frugal; request observe=png for pixels, observe=svg for the compose/figma-svg vector export as SVG source, or observe=scroll-png / observe=scroll-svg for the full-page capture of a scrollable screen rather than the viewport crop. Watch face previews also accept structured 'complications', 'watchFace', 'ambi
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uri | string | no | — |
| catalog | string | no | — |
| previewId | string | no | — |
| observe | string | no | — |
| overrides | object | no | — |
| complications | array | no | — |
| watchFace | object | no | The state the preview's own face is drawn in; not a face of its own. |
| ambient | boolean | no | — |
| ambientBurnIn | boolean | no | — |
| ambientLowBit | boolean | no | — |
| clockEpochMillis | integer | no | — |
| previewTime | string | no | — |
| wfRenderer | string | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
Render one preview across the cross-product of the given override 'axes' (or an explicit list of watch-face 'scenarios') in a single call, returning a hash/size observation per cell (observe=png adds the pixels). Prefer this over a catalog_render_preview per combination: the cells share one catalog lease and are reported together, so comparing axes or scenarios costs one round trip instead of N. C
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uri | string | no | — |
| catalog | string | no | — |
| previewId | string | no | — |
| observe | string | no | — |
| overrides | object | no | — |
| axes | object | no | — |
| scenarios | array | no | — |
| wfRenderer | string | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
List the @Preview(device = ...) ids this server's render lane recognises, with each one's dp size and density. The device override takes one of these ids; an unrecognised name renders the default frame rather than failing, so check here instead of guessing.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
Compare two previews' semantics by testTag: which tags are only in one side, which moved, and which changed occupancy count. Identity is the authored testTag, not a positional ref, so a tag that stops resolving is reported rather than silently retargeted at different pixels. Requires live grant scope.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| catalog | string | no | — |
| previewId | string | no | — |
| uri | string | no | — |
| other | object | yes | — |
| overrides | object | no | — |
| otherOverrides | object | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
The render timeline for one preview: which versions of its rendered bytes exist, when each appeared, and whether the preview is unstable (re-renders differently on every publish) rather than genuinely changing. Where this server holds the timeline it is returned inline; where the catalog is published from a delivery branch the manifest lives on that branch and this reports where to fetch it.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uri | string | no | — |
| catalog | string | no | — |
| previewId | string | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
Compare two of a preview's recorded renders. Defaults to the two newest — did the last publish move this preview? A metadata comparison: the timeline's versions are already collapsed distinct renders, so whether the bytes changed is answered without fetching either image. Reports unstable so a difference on a nondeterministic preview is not mistaken for a real change.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uri | string | no | — |
| catalog | string | no | — |
| previewId | string | no | — |
| from | string | no | — |
| to | string | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
Fetch one historical render's pixels through this server, by commit or blob (a prefix is enough). Use when an agent cannot reach the delivery branch itself, or wants the bytes rather than the timeline.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uri | string | no | — |
| catalog | string | no | — |
| previewId | string | no | — |
| commit | string | no | — |
| blob | string | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
Check what a watch-face design (a wff-watchface catalog design) costs on a watch, with Google's own validators: the WFF schema, the memory footprint and the Watch Face Push checks a watch runs before it installs a face. Returns passed and one entry per check with its findings; each finding carries a suggestion saying what to change. The memory-footprint check's memory is the face's decod
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | no | The revision to validate. Defaults to the current one. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Publish a watch-face design (a wff-watchface catalog design) to Wear OS watches, or take it off them. published: true publishes the design's current revision: the server exports its Watch Face Format, builds a signed Watch Face Push APK, and lists it to every watch linked to the owner's account (and, for a public design, to any watch). Publish again after editing to ship the edit; the `version
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| published | boolean | yes | true to publish the current revision, false to unpublish. |
| visibility | string | no | With published: true. public lists it to every watch (the design must be public); private only to the owner's linked watches. Omit to follow the design's own visibility. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
List the component catalogs a UI-builder design can pin to. Start here: a design's catalogPin must name a revision this server actually serves, and each catalog's catalogPin here is exactly that. By default a summary of what authoring needs, a few KB rather than the whole capability: per component its id, role, traits, slots as name[min..max]:accepted|roles and properties as name:type,
| Parameter | Type | Required | Notes |
|---|---|---|---|
| full | boolean | no | The whole CatalogCapabilityV1 per catalog, as the released envelope. Defaults to false. |
| componentIds | array | no | Only these components. Omit for all of them. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Find catalog components by id, display name, Compose symbol, role or trait, e.g. TextField, text field, OutlinedTextField, Button, Card. Case, spaces, hyphens, underscores, slashes and camelCase are ignored, and the components the query names come first: an exact name, then a prefix, then a name containing it, then role and traits. Returns the same summary as ui_builder_list_catalogs (id
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | string | yes | Text to look for in a component's id, display name, Compose symbol, role or traits. |
| catalog | string | no | Only this catalog system id, e.g. m3-catalog. Omit to search every catalog; an id this server does not serve is an error. |
| catalogSystemId | string | no | The same as catalog. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
List the UI-builder designs on this server, newest first, with the cursor to continue.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| cursor | string | no | Continue a previous page. |
| limit | integer | no | Designs per page. Defaults to 50. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Read one design: its whole document — nodes, slots, properties, modifiers, state variables and catalog pin — plus the revision to quote as baseRevision when editing it. The catalog the design pins is left out unless includeCatalog is true: it is the same for every design on the pin, ui_builder_list_catalogs serves it, and it is most of the bytes. home, at the top of the reply, is where the d
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | no | A past revision. Omit for the current one. |
| includeCatalog | boolean | no | Embed the pinned catalog's whole CatalogCapabilityV1 in the snapshot, as the released shape does. Defaults to false. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Dry-run recovery of a design whose stored catalog pin no longer resolves (catalogUnavailable from ui_builder_get_design). The server selects the exact currently served pin for the same catalog system and returns a CatalogUpgradePreviewV1: status (ready or blocked), changes, issues, and the hashes the move is checked against. This call never writes. When status is ready the reply al
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| includeCandidate | boolean | no | Return preview.candidateDocument, the whole design as it would be on the served pin. Defaults to false. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Wait for somebody else to change a design and return what they changed, rather than asking again whether they have. Returns the moment a designer in the browser or another agent commits an edit, as the same update frame the browser's own live socket receives; returns a timedOut reply if nothing happens within waitSeconds, which you answer by calling again with the same cursor. Quote as `afterS
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| afterSequence | integer | yes | The lastSequence you last saw, from ui_builder_get_design or a previous wait. |
| waitSeconds | integer | no | Up to 120. Defaults to 25. |
| includeCatalog | boolean | no | When the reply is a whole snapshot, embed the pinned catalog in it. Defaults to false. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Create a design, either from a whole document you supply or by copying an existing design named by fromDesignId. Copying is usually right: a document's catalogPin must match a catalog revision this server serves, and a copy carries one that does. A document whose home is an existing design on this server is refused with a compose-preview-decision/v1 choice to put to the person — or, wh
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | The id for the new design. |
| title | string | no | — |
| document | object | no | A whole DesignDocumentV1. |
| fromDesignId | string | no | Copy this design's document instead. |
| visibility | string | no | Defaults to the server's configured visibility, which is private unless the operator chose public. Public allows anyone with the link to view; editing still requires explicit access. |
| includeCatalog | boolean | no | Embed the pinned catalog in the returned snapshot. Defaults to false. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Apply design mutations — insertNode, setProperty, deleteNode, moveNode and the rest of DesignMutationV1 — as one operation. baseRevision is the revision you read; the outcome reports conflicts or rejected edits. This is how an agent adds a scaffold, fills its slots and sets modifiers. Use setStateVariable with name and declaration to add or edit state, removeStateVariable with name to
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| operationId | string | yes | Your id for this operation; makes a retry idempotent. |
| baseRevision | integer | yes | The revision these mutations were written against. |
| clientId | string | no | — |
| operations | array | yes | DesignMutationV1 objects. State example: {"type":"setStateVariable","name":"expanded","declaration":{"type":"value","valueType":"bool","initialValue":false,"nullable":false,"persistence":"preview"}}. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Move a design's canonical home between this server and a repository checkout. This changes real authoritative state: quote the exact baseRevision and current sourceHome from ui_builder_get_design, provide a stable operationId, and name the new targetHome. The old server record remains as a retained copy pointing at the new home. The reply is an idempotent operation outcome with the new rev
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| operationId | string | yes | Your stable id; makes a retry idempotent. |
| baseRevision | integer | yes | The exact current revision read from the design. |
| sourceHome | yes | The exact current DesignHomeV1, or null when the design is unhomed. | |
| targetHome | yes | — | |
| dryRun | boolean | no | Validate and return the person's choices without changing anything. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Replace one stored design from a complete DesignDocumentV1 copy — the authoritative save-back and re-import operation. The document must name the same design and the same canonical home you read from ui_builder_get_design; baseRevision must still be current. The runtime validates the complete document and quotas, preserves server-owned identity, access and creation time, retains the old revision
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| operationId | string | yes | Your stable id; makes a retry idempotent. |
| baseRevision | integer | yes | The exact current revision being replaced. |
| document | object | yes | The complete replacement DesignDocumentV1, including the existing home. |
| dryRun | boolean | no | Validate and return the person's choices without changing anything. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Export a design. compose returns the Kotlin the generator writes, or — when the design holds something it cannot express — diagnostics naming each reason. This is the same gate the browser's code pane shows, so an agent and a designer get the same answer about the same design.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | no | — |
| format | string | no | Defaults to compose. Available formats: compose, svg, png, bundle, json, rc, wff_xml, wff_bundle, wff_apk, kobento_json. Check the catalog exportCapabilities. A watch face's bundle is its Watch Face F |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Compile supplied DesignDocumentV1 content without saving it or reading an existing design. Use an exact catalog pin from ui_builder_list_catalogs. Supports PNG, Remote JSON and RC; returns the same artifact and located diagnostics as saved-document export.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| document | object | yes | Complete DesignDocumentV1 content, including its catalog pin. |
| format | string | yes | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Check a design without saving it: a whole document, a stored design by designId, or operations against a stored design exactly as ui_builder_apply would apply them. Runs the same checks the real call does — document shape, catalog pin, the catalog's own validation, the mutation reducer — and then the Compose export gate, which is the list the editor's problems panel shows. Returns `{valid, p
| Parameter | Type | Required | Notes |
|---|---|---|---|
| document | object | no | A whole DesignDocumentV1 to check. |
| designId | string | no | A stored design to check, or to check operations against. |
| operations | array | no | DesignMutationV1 objects to check against designId's current document, as ui_builder_apply takes them. |
| baseRevision | integer | no | The revision the operations were written against; a stale one is reported as a warning. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Put a picture behind an assetKey, so an asset/image node naming that key draws it instead of a placeholder. Send the PNG, JPEG, GIF or WebP bytes base64-encoded in imageBase64; the server stores them by content digest and pins {mediaType, contentDigest, source: uploaded} into the design's assets map under the key. This moves the design's revision, and the reply carries the new one to quote
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| assetKey | string | yes | 1 to 64 characters of letters, digits, '.', '_' or '-'; what the node's assetKey property names. |
| imageBase64 | string | yes | The image bytes, base64. At most 1 MiB decoded. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Read who can open a design: its owner, and every actor it has been shared with, each with the role and the actions that grant carries. Only the owner may ask — this is the answer to "who else is in here" and to "what is the id I must name when sharing".
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Share a design with somebody else, or take that sharing back. actorId is the other party's actor id as this server spells it — github:<login> for a signed-in person, operator for the token holder, agent:<fingerprint> for another agent's grant; ui_builder_design_access lists the ones a design already carries. A viewer may read and export, an editor may also change the design, and neithe
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| actorId | string | no | Who to share with, e.g. github:octocat. |
| visibility | string | no | Change visibility instead of an actor grant. Public is read only. Private keeps invited collaborators. |
| role | string | no | editor or viewer. Defaults to viewer. |
| revoke | boolean | no | Take this actor's access away instead. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Read what a design is for: the issue it was drawn for, the reference frame in the design tool it reproduces, the pr that implemented it, the thread it is being discussed in, and the previous design it continues. Start a session on somebody else's design here — it is the brief, and it is what ui_builder_get_design cannot tell you. Every field is optional; a reply with none of them mea
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Say what a design is for. Replaces the whole record: send every link you want kept, and omit one to clear it — so read ui_builder_get_links first if you are adding to what is already there. issue, reference, pr and thread are absolute http or https URLs, at most 2 KB each; previous is a design id on this host, not a URL. Anything else is refused with the reason. Sending an empty reco
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| issue | string | no | The tracker issue this design is for. |
| reference | string | no | The frame in the design tool it reproduces. |
| pr | string | no | The pull request that implemented it. |
| thread | string | no | A permalink to a discussion held elsewhere, such as a chat thread. It does not replace this server's comments for a server-homed design: keep that discussion on the design. |
| previous | string | no | The design id on this host that this one continues. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Give a design a new title. The title is the one thing about a design nothing else could change: it is set at creation, shown in every listing and the editor, and not part of any mutation. Anybody who may write the design may rename it. The revision does not move — a title is not design content — so baseRevision is not needed and an edit in flight is unaffected. Not the released envelope: the con
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| title | string | yes | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Delete a design: it moves to the trash with its history, access list, overlay and discussion, and is gone from every listing and tool until ui_builder_restore_design brings it back, which works until restorableUntilEpochMillis in the reply (a day). After that it is purged for good. Only the owner may delete, or an agent acting for the owner: on a design it created itself under its current grant,
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
The designs in the trash that you could restore — ones you deleted, or ones you own — most recently deleted first, each with who deleted it and its restorableUntilEpochMillis. Use it to undo a ui_builder_delete_design you regret, or to check what a cleanup removed. Takes no arguments.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Bring a deleted design back out of the trash exactly as it was: the same revision, history, access list, overlay and discussion. Allowed to whoever could have deleted it, until its restorableUntilEpochMillis; after that it is not found. The reply is the design's listing entry.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Read the discussion on a design: every thread, where each is pinned — a markup stroke, a design node, or a point on the frame — whether it is resolved, and every reply under it. sequence rises on each change and is the cursor to quote to ui_builder_await_comments. Comments are kept beside the design and are never part of it: no node holds them and no export sees them. Each thread carries `acknow
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Say something on a design — a reply into threadId, or a new thread when it is omitted. Pin a new thread with markId (a stroke on the reference overlay), nodeId (a node in the design), or x/y in frame fractions, so the person reading it can see what you meant. The comment is attributed to your own grant; you cannot post as somebody else.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| threadId | string | no | Reply into this thread. Omit to start one. |
| body | string | yes | — |
| displayName | string | no | The name to show beside your actor id. |
| markId | string | no | Pin to a markup stroke on the reference. |
| nodeId | string | no | Pin to a design node. |
| x | number | no | Pin to a point on the frame, 0..1 across. |
| y | number | no | Pin to a point on the frame, 0..1 down. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Close a comment thread once it is answered, or reopen one by passing resolved: false. The resolution is attributed to you and is reversible.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| threadId | string | yes | — |
| resolved | boolean | no | Defaults to true. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Say that you have read a comment thread — which is not the same as resolving it. Resolving claims the question is settled; acknowledging claims only that you have seen it, which is the honest thing to say while you are still working on what it asked for. Omit threadId to acknowledge the whole discussion, which is what you mean after reading it with ui_builder_list_comments. Acknowledgement i
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| threadId | string | no | One thread. Omit for every thread on the design. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
React to one comment with an emoji, or take the reaction back with on: false. The lightest thing you can say: 👀 on a comment you have just picked up, 👍 on a fix somebody made, where a reply would be noise in a thread a person has to read. commentId is the id of a comment inside a thread, from ui_builder_list_comments. Reacting also acknowledges that thread for you, so it counts as the ligh
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| commentId | string | yes | The comment to react to, from its thread's comments. |
| reaction | string | yes | One emoji, at most 24 characters. |
| on | boolean | no | False takes your reaction back. Defaults to true. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Wait for the discussion to move past afterSequence and return it, rather than polling for it. Returns as soon as anybody — a designer in the browser or another agent — posts, resolves or deletes; returns a timedOut reply if nothing happens within waitSeconds, which you answer by calling again with the same cursor. This is how you hold a conversation about a design: post, wait, read, act.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| afterSequence | integer | yes | The sequence you last saw. 0 for anything at all. |
| waitSeconds | integer | no | Up to 120. Defaults to 25. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Compile a design and render it with real Compose on this host, rather than in the browser's Wasm canvas — the way to see what a design looks like on Android. Returns the first frame, the token the live frame stream is opened with, and the design node ids the render is tagged with, so catalog_get_preview_data can report each node's bounds and a client can put selectable regions over the image. Th
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | no | A past revision. Omit for the current one. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
See a design the way a person in the editor sees it: a PNG of the canvas with the overlays drawn on — the selection outline, the reference picture when one is attached, the discussion's comments pins, and the layout bounds — and beside it JSON with the revision, each visible node's id and box, each pin's thread and position, all in the returned image's pixels. The picture is a short-lived
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | no | A past revision. Omit for the current one. |
| viewport | object | no | Fit the picture inside this many pixels, keeping its aspect ratio. Omit for the render's own size. |
| include | array | no | Overlays to draw. Defaults to comments, reference, selection; [] draws the bare frame. |
| selection | array | no | Node ids to show as selected. |
| renderer | string | no | Defaults to export, or native when a selection is to be outlined and this host and grant can render it. |
| inline | boolean | no | Also return the PNG as an image block. Defaults to false; a host with no public origin always does. |
| frames | integer | no | wff-watchface only: draw this many frames spread evenly over durationMs, starting at the current whole second. Defaults to 6 when only durationMs is given. |
| durationMs | integer | no | wff-watchface only: the window the frames cover, in milliseconds. Defaults to 1000. |
| times | array | no | wff-watchface only: the exact instants to draw, in epoch milliseconds, instead of frames and durationMs. |
| ambient | boolean | no | wff-watchface only: draw the frames in ambient mode, applying the design's wff/variant mode=AMBIENT overrides. Alone, draws the interactive and ambient modes side by side. |
| format | string | no | With motion frames: filmstrip (default) is one labelled PNG grid, the easiest to read; animated is an animated PNG. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Check a design before you show it to anybody — one call instead of validate, view and an accessibility pass. Runs schema (document shape), catalog (the pinned catalog's validation, the mutation reducer and the Compose export gate — what ui_builder_validate runs) and a11y: controls with no label, icons and pictures with no contentDescription, touch targets under 48dp, text and icon contrast
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | no | A stored design to check, or to check operations against. |
| revision | integer | no | A past revision of designId. Omit for the current one. |
| document | object | no | A whole DesignDocumentV1 to check instead of a stored design. |
| operations | array | no | DesignMutationV1 objects to apply to a scratch copy of designId and check — a dry run. |
| baseRevision | integer | no | The revision operations were written against; a stale one is a warning. |
| checks | array | no | Which checks to run. Defaults to schema, catalog, a11y, hostLogic; guidelines runs only when named. |
| rendered | boolean | no | Measure touch targets on a native render, and show it to the guidelines model. Exported Kotlin that fails to compile there is an error finding (check native). Defaults to false. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Run a stored design's host logic — the JavaScript in its hostLogic that stands in for the host feeding it, answering host actions by setting host inputs — headless, without a browser: init, then each of actions in order, as the editor's canvas runs it. Each action is {"name": …, "value": …}, exactly what a design's host action sends (a value is text, a whole number or a decimal; omit it fo
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | no | A past revision. Omit for the current one. |
| actions | array | no | Host actions to answer, in order, after init. Omit to run init alone. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Read the exact prompt a design-guidelines model is given for a design, before anybody spends a key on it: the rules for the design's platform (Android design guidance from developer.android.com, each with its source), the fixed system prompt, the user message with the design tree and Compose source, the JSON schema the verdicts must follow, a sentence on where each part comes from, and the picture
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | no | A past revision. Omit for the current one. |
| rendered | boolean | no | Attach native renders and the Compose source. Defaults to true. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Read a design's latest design-guidelines result, whoever ran it — a person in the editor on their own key, ui_builder_check_design on this host's key, or an agent that recorded verdicts with ui_builder_record_guidelines. Returns the record (model, revision, rules asked, verdicts, ranBy), the findings it implies, and stale: true when the design has changed since it was checked.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Record your own model's verdicts on ui_builder_guidelines_prompt as the design's latest design-guidelines result, so the editor's Issues panel and other agents show them. Pass the revision and rule ids the prompt asked (rules.asked[].id), and one verdict per rule you answered: pass, fail or not_applicable, with confidence 0..1, the nodeIds it is about and a one-sentence reason. `ra
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | yes | The revision the prompt was built from. |
| model | string | yes | The model that judged it, e.g. anthropic/claude-haiku-5.5. |
| rulesVersion | integer | no | The prompt's rules.version. Defaults to this host's. |
| asked | array | yes | The rule ids the prompt asked. |
| verdicts | array | yes | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
See one design on several devices in ONE picture: a contact sheet with a captioned cell per device × theme × font scale, plus each cell's device, size and box on the sheet. Nothing is saved — the design's environment is swapped on a scratch copy for each cell. Name devices by preset (phone_small, phone, phone_landscape, foldable_folded, foldable_unfolded, tablet_portrait, tablet_landscape, wear_
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | no | A past revision. Omit for the current one. |
| devices | array | no | Devices to draw. Omit for the form factor's defaults. |
| formFactor | string | no | A default device set, instead of devices. |
| themes | array | no | Defaults to the design's own theme. |
| fontScales | array | no | Defaults to the design's own font scale. |
| inline | boolean | no | Also return the PNG as an image block. Defaults to false; a host with no public origin always does. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Record a review verdict — approve or reject — on one revision of a design, with an optional note. Kept beside the design, like comments: it never moves the revision. Recorded as an agent's decision, so a person waiting with ui_builder_await_decision's default from: "human" is not answered by it. Pass your own decisionId to make a retry idempotent.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | yes | The revision the verdict is about. |
| verdict | string | yes | — |
| note | string | no | Why, in a sentence or two. |
| decisionId | string | no | Your id for this decision; makes a retry idempotent. |
| displayName | string | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Wait for somebody to approve or reject a design, rather than asking again whether they have. Returns as soon as a decision lands after afterSequence — by default only a person's (from: "human"), on any revision unless you name one — or a timedOut reply after waitSeconds. Every reply carries latest (the newest matching verdict, new or not) and approved, so waitSeconds: 0 is a cheap, i
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| afterSequence | integer | no | The sequence you last saw. 0 for anything at all. |
| revision | integer | no | Only decisions on this revision. |
| from | string | no | Whose decisions count. Defaults to human. |
| waitSeconds | integer | no | Up to 120. Defaults to 25; 0 checks without blocking. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Record the pull request that implements a design: its URL, its status (draft, open, merged, closed), the design revision it implements, and — once you have compared the PR's rendered previews with the design — previewMatch {status: match|mismatch|unknown, evidence: a URL to the comparison, note}. Replaces the whole record; pass only designId to clear it. Writing the same record again chang
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| pr | string | no | The pull request URL. |
| status | string | no | Defaults to open. |
| revision | integer | no | The design revision the PR implements. |
| previewMatch | object | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Everything the code side needs to implement a design, in one call: the revision, its links (issue, reference, PR, thread), the implementation PR with its status and whether its previews were found to match, the latest verdict on this revision, and the Compose export with the generator's diagnostics. summary says in one line whether the PR implements this revision and whether it was approved. `in
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | no | A past revision. Omit for the current one. |
| includeExport | boolean | no | Include the Compose export. Defaults to true. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
From a pull request back to the design(s) it implements: every design you can read whose implementation record or links name pr, with the implementation status and revision. Then call ui_builder_implementation_status for what the design expects.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| pr | string | yes | The pull request URL, exactly as recorded. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Attach the picture a design is being built against — a Figma frame, a screenshot of a shipped screen, a mock — as its reference overlay, or clear it. The same overlay the browser editor's Frame, density and reference panel shows, so a person opening the design sees what you attached. Kept beside the design and never part of it: no node holds it, no export sees it, the revision does not move. Sen
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| imageBase64 | string | no | The picture, base64. PNG, JPEG, WebP or SVG; at most the host's reference size limit. |
| name | string | no | What the editor calls it. An @2x suffix declares the density. |
| density | number | no | The picture's pixels per dp, e.g. 2 for a 2x export, 2.625 for a Pixel screenshot. |
| sourceUrl | string | no | Where it came from, such as the Figma frame URL. Provenance only; never fetched. |
| clear | boolean | no | Remove the reference, its marks and pieces instead. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Measure a design against its reference overlay (attach one with ui_builder_set_reference). Returns what the picture is against the frame and whether a pixel comparison means anything (facts.pixelComparable — a 328×56 dp crop stretched over a screen is not comparable until measured at its actual size); with differences, the share of pixels that differ and up to eight regions in dp, each with
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | no | Measure this revision. Defaults to the current one. |
| differences | boolean | no | Measure where the frame differs. Defaults to true. |
| nodeIds | array | no | Layers to match against the reference, each with a proposed alignment. |
| fit | string | no | How the picture is placed: contained and centred, across the width from the top, or at its own size from the top-left. Defaults to the fit the picture calls for (facts.recommendedFit). |
| renderer | string | no | Which render to measure. Defaults to native when nodeIds is given, export otherwise. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
A design's retained revisions, newest first: each one's number, who made it, when, the operation that produced it (setProperty ×2, insertNode, undo, restored r3) and its document digest. retention says how far back the history still reaches — older revisions are gone, and get, diff, restore and fork stop at that floor. Page with before. Read access.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| limit | integer | no | Revisions per page. Defaults to 20. |
| before | integer | no | Only revisions older than this one; pass the previous reply's nextBefore. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Compare two designs, or two retained revisions of one: nodes added, removed and moved, and properties, modifiers and other fields changed, each with its node id and path (root/slot[index]/node), plus changed document fields (title, environment, state). Works across a design and its fork. b defaults to the current revision of a's design. Values are the protocol's own JSON, ready to send back
| Parameter | Type | Required | Notes |
|---|---|---|---|
| a | object | yes | — |
| b | object | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Make a retained revision the design's current content again, forward: it is committed as a new revision and nothing after it is lost, so a restore is undone by restoring again. baseRevision must be the current revision (a restore that raced an edit is refused as stale). dryRun: true writes nothing and returns the diff the restore would apply. Needs write access to the design.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| revision | integer | yes | The retained revision to restore. |
| baseRevision | integer | yes | The design's current revision, from ui_builder_get_design or ui_builder_list_revisions. |
| dryRun | boolean | no | Return the diff without restoring. Defaults to false. |
| operationId | string | no | Makes a retry idempotent. Defaults to a fresh id. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Make a new design from one revision of another — yours to edit, owned by you, with its parent recorded: the fork's forkedFrom (design, revision, document digest) and the parent's forks both show in ui_builder_get_links. A fork is not a branch: it never inherits the parent's canonical home and nothing flows back on its own, so tell the person it exists and bring a chosen change back with ui_bui
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | The design to fork. |
| revision | integer | no | A retained revision. Omit for the current one. |
| title | string | no | The fork's title. Defaults to the parent's, marked with the revision. |
| newDesignId | string | no | The fork's id. Defaults to one derived from the parent; an id already taken is refused. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Fork a design at a revision into a branch to explore an alternative, or to change it without trampling somebody editing it live. A branch is a design with its own id: edit it with ui_builder_apply, look at it with ui_builder_view or ui_builder_get_design, compare it with ui_builder_diff_designs, then bring it back with ui_builder_merge_branch or drop it with ui_builder_archive_branch. Branch N
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | The design to branch. |
| name | string | yes | What this alternative is, e.g. compact header. |
| revision | integer | no | A retained revision to fork at. Omit for the current one. |
| branchId | string | no | The branch's design id. Defaults to one minted from the parent's; naming one makes a retry idempotent. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
A design's branches, newest first: each one's id, name, owner, status (open, merged, archived), fork revision, head revision and the number of commands a merge would replay; for a merged one the parent revision it landed at, for an archived sibling the branch whose merge superseded it. Read access to the design.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | The parent design. |
| status | string | no | Only branches in this state. Defaults to all. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Replay a branch's edits onto its parent's current revision through the same reducer every edit goes through — all or nothing. The reply reports every command: applied with the revision it landed at and any STALE_* notice of what it overwrote, or refused with the rejection code that stopped the run (nothing is then written), plus skippedOperationIds and how many were never tried. Run `dryRu
| Parameter | Type | Required | Notes |
|---|---|---|---|
| branchId | string | yes | — |
| dryRun | boolean | no | Replay and report without writing anything: the reply's merged is then false and wouldMerge carries the verdict. Defaults to false. |
| skipOperationIds | array | no | Logged commands to leave out of the replay. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Close a branch without merging it: it stays readable and listed, and can no longer be edited or merged. Needs write access to the parent, or to have made the branch.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| branchId | string | yes | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Put a design's alternatives side by side in one call: the parent's head and each open branch (or the branchIds named) rendered into ONE picture — a short-lived signed https link, numbered by caption — plus, per branch, what it changes against the parent at its fork (counts and a few lines, as ui_builder_diff_designs reports them). Show the person the picture and the numbered list, then ask with
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | The parent design. |
| branchIds | array | no | Only these branches of the design, in this order. Defaults to every open branch, oldest first. |
| device | no | Render every picture at this device instead of each design's own size: a preset id (phone_small, phone, phone_landscape, foldable_folded, foldable_unfolded, tablet_portrait, tablet_landscape, wear_sma | |
| inline | boolean | no | Also return the picture as an image block. Defaults to false: the signed link. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Ask the person which alternative (open branch) of a design to keep, and return their choice. In ChatGPT or Codex it is a thumbnail picker, one option per branch; with plain form elicitation it is a single-choice form; otherwise — and in chat tools like Slack — it returns a numbered list and one picture for YOU to post, and the person replies with a number. It never waits on a client that cannot an
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | The parent design. |
| branchIds | array | no | Only these open branches, in this order. Defaults to every open branch, oldest first. |
| message | string | no | The question to put to the person. Defaults to asking which alternative to keep. |
| inline | boolean | no | With a numbered list, also return its picture as an image block. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
Open a UI Builder design in the editor, as an app in this conversation, for the person to edit by hand. Takes the designId (from ui_builder_list_designs). The editor reads and saves the design itself; to change a design yourself use ui_builder_apply.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | The design to open. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
The UI Builder editor app's load: the design's document, revision and whether this caller may write it. Called by the app, not the model.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
The UI Builder editor app's save: the whole document at baseRevision. Answers saved, conflict, read-only or too-large. Called by the app, not the model.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| baseRevision | integer | yes | — |
| document | object | yes | The whole DesignDocumentV1. |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
The UI Builder editor app's follow: returns as soon as the design's revision passes afterRevision, or after waitSeconds (at most 25) with changed false. Called by the app, not the model.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| designId | string | yes | — |
| afterRevision | integer | yes | — |
| waitSeconds | integer | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
| agentName | string | no | Optional agent/client name shown to design viewers; self-reported. |
| agentModel | string | no | Optional current model name shown to design viewers; self-reported. Omit when unknown. |
List the structured data-product kinds of one catalog, optionally one preview. Name the catalog with 'catalog' (ids from catalog_list_projects) or a preview 'uri'.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| catalog | string | no | — |
| previewId | string | no | — |
| uri | string | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
Fetch the merged accessibility, annotation, or watchface/complications product for a preview. This lane requires live grant scope.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| uri | string | no | — |
| catalog | string | no | — |
| previewId | string | no | — |
| kind | string | yes | — |
| overrides | object | no | — |
| complications | array | no | — |
| watchFace | object | no | The state the preview's own face is drawn in; not a face of its own. |
| ambient | boolean | no | — |
| ambientBurnIn | boolean | no | — |
| ambientLowBit | boolean | no | — |
| clockEpochMillis | integer | no | — |
| previewTime | string | no | — |
| wfRenderer | string | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
Storybook-MCP-compatible alias that lists every preview as a story.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
Storybook-MCP-compatible preview metadata lookup.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| storyId | string | no | — |
| id | string | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
Storybook-MCP-compatible rendering of one or more story ids. Requires live scope.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| storyIds | array | no | — |
| storyId | string | no | — |
| ids | array | no | — |
| id | string | no | — |
| observe | string | no | — |
| overrides | object | no | — |
| token | string | no | A grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session i |
- Every tool — any call limit is its publisher’s, not ours
- No card, and mcprush charges nothing for it
- Runs at its publisher’s own address — this marketplace is not in the path
- Nothing to cap, because mcprush bills nothing
What counts against your monthly calls
| Tool | Unit | Calls used | Out of the allowance |
|---|
Nothing here is billable: mcprush charges nothing to install Compose Preview Catalogs or to call it, at any volume.
Two independent axes, because powerful and malicious are different questions. The grade is threat only. The capability level is blast radius, and it is never a penalty on the grade — it is priced as one subtract-only term in the score, where you can see it.
| Term | Level | What it prices | Points |
|---|---|---|---|
| capability-exposure | moderate | capability blast radius (moderate) — client exposure if the model is manipulated | −3 |
| coverage-honesty | manifest | inspection depth (manifest) — how much of the target the scan could see | −4 |
What the scan could actually read
A grade is only as meaningful as its coverage, so the scanner publishes its own depth before it publishes its result.
The scan read each tool’s name, description, input schema and annotations exactly as the server listed them the last time it answered us; no code was reviewed. We ask the server again about once a month, and a list that changed is graded again.
The implementation source was not read — this reflects the declared tool metadata only.
Capability — what it could do if the model were manipulated
Tags derived from each tool’s schema and the implementation, not from what the tool calls itself. moderate is the level these add up to.
| Tool | Capability tags | Why the tag was assigned |
|---|---|---|
| request_access | state-write | state-write: declares readOnlyHint: false |
| poll_access | no tags | |
| status | no tags | |
| catalog_list_projects | no tags | |
| catalog_library | no tags | |
| ui_builder_open | no tags | |
| catalog_list_previews | no tags | |
| catalog_render_preview | no tags | |
| catalog_render_matrix | no tags | |
| catalog_list_devices | no tags | |
| catalog_diff_semantics | no tags | |
| catalog_history_list | untrusted-input | untrusted-input: keyword "fetch", parameter "url" with "fetch" in the description |
| catalog_history_diff | no tags | |
| catalog_history_read | untrusted-input | untrusted-input: keyword "fetch", parameter "url" with "fetch" in the description |
| ui_builder_validate_watch_face | no tags | |
| ui_builder_publish_watch_face | state-write | state-write: declares readOnlyHint: false, destructiveHint: true |
| ui_builder_list_catalogs | no tags | |
| ui_builder_search_components | no tags | |
| ui_builder_list_designs | no tags | |
| ui_builder_get_design | no tags | |
| ui_builder_preview_catalog_recovery | no tags | |
| ui_builder_await_design | no tags | |
| ui_builder_create_design | state-write | state-write: declares readOnlyHint: false |
| ui_builder_apply | state-write | state-write: declares readOnlyHint: false |
| ui_builder_move_design_home | state-write | state-write: declares readOnlyHint: false, destructiveHint: true |
| ui_builder_replace_design_document | state-write | state-write: declares readOnlyHint: false, destructiveHint: true |
| ui_builder_export | no tags | |
| ui_builder_export_document | no tags | |
| ui_builder_validate | no tags | |
| ui_builder_put_asset | state-write | state-write: declares readOnlyHint: false |
| ui_builder_design_access | state-write | state-write: declares readOnlyHint: false |
| ui_builder_share_design | state-write | state-write: declares readOnlyHint: false |
| ui_builder_get_links | no tags | |
| ui_builder_set_links | state-write | state-write: declares readOnlyHint: false |
| ui_builder_rename_design | state-write | state-write: declares readOnlyHint: false |
| ui_builder_delete_design | state-write | state-write: declares readOnlyHint: false, destructiveHint: true |
| ui_builder_list_trash | no tags | |
| ui_builder_restore_design | state-write | state-write: declares readOnlyHint: false |
| ui_builder_list_comments | no tags | |
| ui_builder_post_comment | state-write | state-write: declares readOnlyHint: false |
| ui_builder_resolve_comment_thread | state-write | state-write: declares readOnlyHint: false |
| ui_builder_acknowledge_comment | state-write | state-write: declares readOnlyHint: false |
| ui_builder_react_to_comment | state-write | state-write: declares readOnlyHint: false |
| ui_builder_await_comments | no tags | |
| ui_builder_render_native | no tags | |
| ui_builder_view | no tags | |
| ui_builder_check_design | no tags | |
| ui_builder_simulate_action | no tags | |
| ui_builder_guidelines_prompt | no tags | |
| ui_builder_get_guidelines | no tags | |
| ui_builder_record_guidelines | state-write | state-write: declares readOnlyHint: false |
| ui_builder_render_design_matrix | no tags | |
| ui_builder_record_decision | state-write | state-write: declares readOnlyHint: false |
| ui_builder_await_decision | no tags | |
| ui_builder_set_implementation | state-write | state-write: declares readOnlyHint: false |
| ui_builder_implementation_status | no tags | |
| ui_builder_find_design_for_pr | no tags | |
| ui_builder_set_reference | untrusted-inputstate-write | untrusted-input: keyword "fetch"; state-write: declares readOnlyHint: false |
| ui_builder_compare_reference | no tags | |
| ui_builder_list_revisions | no tags | |
| ui_builder_diff_designs | no tags | |
| ui_builder_restore_revision | state-write | state-write: declares readOnlyHint: false, destructiveHint: true |
| ui_builder_fork_design | state-write | state-write: declares readOnlyHint: false |
| ui_builder_branch_design | state-write | state-write: declares readOnlyHint: false |
| ui_builder_list_branches | no tags | |
| ui_builder_merge_branch | state-write | state-write: declares readOnlyHint: false, destructiveHint: true |
| ui_builder_archive_branch | state-write | state-write: declares readOnlyHint: false, destructiveHint: true |
| ui_builder_compare_branches | no tags | |
| ui_builder_pick_branch | state-write | state-write: declares readOnlyHint: false, destructiveHint: true |
| ui_builder_edit_design | no tags | |
| ui_builder_editor_read | no tags | |
| ui_builder_editor_write | state-write | state-write: declares readOnlyHint: false |
| ui_builder_editor_await | no tags | |
| catalog_list_data_products | no tags | |
| catalog_get_preview_data | untrusted-input | untrusted-input: keyword "fetch", parameter "url" with "fetch" in the description |
| list-all-documentation | no tags | |
| get-documentation-for-story | no tags | |
| preview-stories | no tags |
Toxic-flow graph
The lethal trifecta, checked as a graph rather than as a checklist: untrusted input, a sensitive source and an external sink have to meet before there is a path worth worrying about.
The public result for this release does not print the flow graph, so there is nothing to show here. That is not the same as "no paths were found": what the scan did read is above, under coverage.
Supply chain and provenance
This is the first scan of this surface here, so there is nothing yet to compare it against.
Every result on this tab comes from one deterministic pass over the published package — offline, rule by rule, and auditable line by line above. Same methodology version, same bytes, same score.
Release history
This is an address its publisher runs: which release it serves is theirs to choose, so there is nothing here to pin. The history below is for reading; the current release on file is 3.204.0.
No release note was published with this version.
One review per account, from a signed-in account that does not publish this listing. Nothing else is asked — you can say what you think before you install it. Publishers can reply once per review, and a review can be edited or deleted by whoever wrote it.
Any signed-in account that does not publish Compose Preview Catalogs can review it, once — before installing it or after. A review from an account that has installed it is marked as one.
Nobody has reviewed this listing. The rating on the card is the mean of the reviews written here and nothing else, so there is no rating until somebody writes the first — which takes a signed-in account that does not publish it, and nothing else.