Compose Preview Catalogs
io.github.yschimke/compose-preview
Browse, inspect and render Jetpack Compose Material 3 and Wear component catalogs.
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
- Dépôt
- github.com/yschimke/compose-preview-server
- Adresse du serveur
https://preview.coo.ee/mcp(streamable-http)- Version
- 3.203.0
- Auteur
- yschimke (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 27 nov. 2026)
Comment l’installer
Le serveur accepte en option un en-tête : X-Compose-Preview-Token. Remplacez VOTRE_CLE par votre clé.
Claude Code
Dans un terminal :
claude mcp add --transport http compose-preview https://preview.coo.ee/mcp \
--header "X-Compose-Preview-Token: VOTRE_CLE"Claude (application et claude.ai)
Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.
https://preview.coo.ee/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://preview.coo.ee/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"compose-preview": {
"url": "https://preview.coo.ee/mcp",
"headers": {
"X-Compose-Preview-Token": "VOTRE_CLE"
}
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"compose-preview": {
"type": "http",
"url": "https://preview.coo.ee/mcp",
"headers": {
"X-Compose-Preview-Token": "VOTRE_CLE"
}
}
}
}Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.
Notre test
Répond Le serveur répond au protocole MCP et liste ses outils.
- Date
- 28 nov. 2026, 10:27 (test fait par L’Atlas)
- Temps de réponse
- 486 ms (test complet)
- Outils trouvés
- 78
- Nom annoncé
- compose-preview-catalog 3.203.0
- Protocole
- MCP 2025-11-25
- Prochain test
- 5 déc. 2026
Voir les outils (78)
request_access
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 supportpoll_access
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 wastatus
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.catalog_list_projects
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'.catalog_library
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_lisui_builder_open
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.catalog_list_previews
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,catalog_render_preview
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-svcatalog_render_matrix
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_catalog_list_devices
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 herecatalog_diff_semantics
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 silencatalog_history_list
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 tcatalog_history_diff
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 answerecatalog_history_read
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.ui_builder_validate_watch_face
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` aui_builder_publish_watch_face
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 APKui_builder_list_catalogs
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 nui_builder_search_components
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 theui_builder_list_designs
List the UI-builder designs on this server, newest first, with the cursor to continue.ui_builder_get_design
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 trui_builder_preview_catalog_recovery
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:ui_builder_await_design
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 liui_builder_create_design
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 onui_builder_apply
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 addsui_builder_move_design_home
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 namui_builder_replace_design_document
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` muui_builder_export
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 getui_builder_export_document
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-ui_builder_validate
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 pinui_builder_put_asset
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 {mediaTui_builder_design_access
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 wui_builder_share_design
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 ageui_builder_get_links
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 sessioui_builder_set_links
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 abui_builder_rename_design
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. Theui_builder_delete_design
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 replui_builder_list_trash
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 chui_builder_restore_design
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. Tui_builder_list_comments
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 toui_builder_post_comment
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 readiui_builder_resolve_comment_thread
Close a comment thread once it is answered, or reopen one by passing `resolved: false`. The resolution is attributed to you and is reversible.ui_builder_acknowledge_comment
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 onui_builder_react_to_comment
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 reaui_builder_await_comments
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 happui_builder_render_native
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 dui_builder_view
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 besui_builder_check_design
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 — whatui_builder_simulate_action
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 editorui_builder_guidelines_prompt
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 prompui_builder_get_guidelines
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 recordui_builder_record_guidelines
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`ui_builder_render_design_matrix
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 scratchui_builder_record_decision
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_aui_builder_await_decision
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 — orui_builder_set_implementation
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: maui_builder_implementation_status
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 revisiui_builder_find_design_for_pr
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 eui_builder_set_reference
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 perui_builder_compare_reference
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 oveui_builder_list_revisions
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 stillui_builder_diff_designs
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, enviroui_builder_restore_revision
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 thatui_builder_fork_design
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 aui_builder_branch_design
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_ui_builder_list_branches
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 archivedui_builder_merge_branch
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 overui_builder_archive_branch
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.ui_builder_compare_branches
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 agaui_builder_pick_branch
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 chaui_builder_edit_design
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_builui_builder_editor_read
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.ui_builder_editor_write
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.ui_builder_editor_await
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.catalog_list_data_products
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'.catalog_get_preview_data
Fetch the merged accessibility, annotation, or watchface/complications product for a preview. This lane requires live grant scope.list-all-documentation
Storybook-MCP-compatible alias that lists every preview as a story.get-documentation-for-story
Storybook-MCP-compatible preview metadata lookup.preview-stories
Storybook-MCP-compatible rendering of one or more story ids. Requires live scope.
Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/io.github.yschimke/compose-preview)HTML
<a href="https://lagora.dev/fiche/io.github.yschimke/compose-preview"><img src="https://lagora.dev/badge/io.github.yschimke/compose-preview.svg" alt="io.github.yschimke/compose-preview sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.