1. Conduid
  2. Browser
  3. Stitch SDK
MCP server · Browser

Stitch SDK

Generate UI screens from text prompts and extract their HTML and screenshots programmatically.

Unclaimed Apache-2.0 browser
79Good

Scored 21 hours ago · breakdown

About Stitch SDK

Stitch SDK is an MCP server published by google-labs-code in the Browser category: generate UI screens from text prompts and extract their HTML and screenshots programmatically. Conduid read 16 tools from its source: apply_design_system, create_design_system, create_design_system_from_design_md, create_project, delete_project, download_assets and 10 more. No package is published for it, so it installs from a source checkout.

The repository has 1.9K stars and 142 forks, is licensed Apache-2.0, and its last commit was on 5 Nov 2026. The latest release is v0.1.1 (27 Apr 2026): v0.1.1 We are thrilled to announce the release of @google/stitch-sdk v0.1.1. It follows v0.0.3 (12 Mar 2026), and the 4 most recent releases go back to v0.0.1 (10 Mar 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include browser.

Install

From source
git clone https://github.com/google-labs-code/stitch-sdk

Tools (16)

apply_design_systemApplies a design system to a list of screens. Use this tool when the user wants to update one or more screens to match the style of a design system. This tool applies the selected design system's foundational design tokens (colors, fonts, shapes, etc.) to the chosen screens, modifying their appearance to align with the design system.
ParameterTypeDescription
assetId *stringRequired. The asset id of the design system to apply, can be fetched from 'list_design_systems'. Example: '15996705518239280238', without the `assets/` prefix.
projectId *stringRequired. The project ID of screen instances to edit, example: '4044680601076201931', without the `projects/` prefix.
selectedScreenInstances *arrayRequired. The screen instances to edit, which is available in the Project info, fetched by `get_project`.
create_design_systemCreates a new design system for a project. Use this tool when the user wants to set or update the overall visual theme, style, or branding of the application. This includes configuring: - Color Palette: Presets, custom primary colors, and saturation levels. - Typography: Font families (e.g., Inter, Roboto, etc.). - Shape: Corner roundness for UI elements. - Appearance: Light and dark mode background colors. - Design MD: Free-form design instructions in markdown. This tool establishes the foundational design tokens that apply across all screens in the project. **Instructions for Tool Call:** * Call `update_design_system` tool immediately after this tool to apply the design system to the project, and display the design system in the UI.
ParameterTypeDescription
designSystem *anyRequired. The design system to create.
projectIdstringOptional. The project ID to create design system for, example: '4044680601076201931', without the `projects/` prefix. If empty, creates a global asset (not associated with any project).
create_design_system_from_design_mdCreates a design system for a project, with user uploaded DESIGN.md file, and displays the design system in the UI. **Instructions for Tool Call:** * Should call `upload_design_md` tool first to upload DESIGN.md to a Stitch project.
ParameterTypeDescription
deviceTypestringOptional. The device type of the screen.
projectId *stringRequired. The project ID to update design system for, example: '4044680601076201931', without the `projects/` prefix.
selectedScreenInstance *anyRequired. The screen instance to create the design system from, which is created by UploadDesignMd RPC.
create_projectCreates a new Stitch project. A project is a container for UI designs and frontend code.
ParameterTypeDescription
titlestringOptional. The title of the project.
delete_projectDeletes a specific Stitch project using its project name. **Instructions for Tool Call:** * This action cannot be undone. Please confirm with "yes" or "no" to proceed.
ParameterTypeDescription
name *stringRequired. Identifier. The resource name of the project to delete. Format: `projects/{project}` Example: `projects/4044680601076201931`
download_assetsDownload screens and assets to a local directory
ParameterTypeDescription
outputDir *stringOutput directory
projectId *stringProject ID
edit_screensEdits existing screens within a project using a text prompt. **Instructions for Tool Call:** * This action can take a few minutes to complete. Please be patient. DO NOT RETRY. * If the tool call fails due to connection error, the process may still succeed.
ParameterTypeDescription
deviceTypestringOptional. The type of device that captured the screenshot, e.g., mobile or desktop.
modelIdstringOptional. The model to use for generation.
projectId *stringRequired. The project ID of screens to edit, example: '4044680601076201931', without the `projects/` prefix.
prompt *stringRequired. The input text to generate the screen from.
selectedScreenIds *arrayRequired. The screen IDs of screens to edit, example: ['98b50e2ddc9943efb387052637738f61', '98b50e2ddc9943efb387052637738f62'], without the `screens/` prefix.
generate_screen_from_textGenerates a new screen within a project from a text prompt. **Instructions for Tool Call:** * This action can take a few minutes to complete. Please be patient. DO NOT RETRY. * If the tool fails with a timeout, don't retry. Instead, try to get the screen with `get_screen` method every 30 seconds for up to 10 times before giving up. * If the tool call fails due to connection error, the generation process may still succeed. Please try to get the screen with `get_screen` method later. **Output:** * **`output_components`**: If `output_components` contains text, return it to the user. If `output_components` contains suggestions (e.g. "Yes, make them all"), present these suggestions to the user. If the user accepts one of the suggestions, call `generate_screen_from_text` again with `prompt` set to the accepted suggestion.
ParameterTypeDescription
designSystemstringOptional. The design system id to use for generating the new screen, should always be configured for design consistency, via `get_project` or `list_assets` methods. If not provided, a default design system will be used. Example: `assets/15996705518239280238`.
deviceTypestringThe type of device that captured the screenshot, e.g., mobile or desktop.
modelIdstringOptional. The model to use for generation.
projectId *stringRequired. The project ID to generate the screen for, example: '4044680601076201931', without the `projects/` prefix.
prompt *stringRequired. The input text to generate the screen from.
generate_variantsGenerates variants of existing screens within a project using a text prompt. **Instructions for Tool Call:** * If the tool fails with a timeout, don't retry. Instead, try to get the screen with `get_screen` method every 30 seconds for up to 10 times before giving up.
ParameterTypeDescription
deviceTypestringOptional. The type of device that captured the screenshot, e.g., mobile or desktop.
modelIdstringOptional. The model to use for generation.
projectId *stringRequired. The project ID of screens to generate variants for, example: '4044680601076201931', without the `projects/` prefix.
prompt *stringRequired. The input text used to generate the variants.
selectedScreenIds *arrayRequired. The screen ids of screen to generate variants for, example: ['98b50e2ddc9943efb387052637738f61', '98b50e2ddc9943efb387052637738f62'], without the `screens/` prefix.
variantOptions *anyRequired. The variant options for generation, including the number of variants, creative range, and aspects to focus on.
get_projectRetrieves the details of a specific Stitch project using its project name.
ParameterTypeDescription
name *stringRequired. Identifier. The resource name of the project to retrieve. Format: `projects/{project}` Example: `projects/4044680601076201931`
get_screenRetrieves the details of a specific screen within a project.
ParameterTypeDescription
name *stringRequired. Identifier. The resource name of the screen to retrieve. Format: `projects/{project}/screens/{screen}` Example: `projects/4044680601076201931/screens/98b50e2ddc9943efb387052637738f61`
list_design_systemsLists all design systems for a given project.
ParameterTypeDescription
projectIdstringOptional. The project ID to list design systems for, example: '4044680601076201931', without the `projects/` prefix. If empty, lists all global design systems.
list_projectsLists all Stitch projects accessible to the user. By default, it lists projects owned by the user.
ParameterTypeDescription
filterstringOptional. A filter to apply to the list of projects, following a subset of AIP-160. This service supports filtering on the `view` field. Supported filters: * `view=owned`: Lists only projects owned by the user. This is the default behavior if no filter is specified. * `view=shared`: Lists only projects shared with the user. Example: `view=owned`
list_screensLists all screens within a given Stitch project.
ParameterTypeDescription
projectId *stringRequired. Identifier. The project ID to list screens for, example: '4044680601076201931', without the `projects/` prefix.
update_design_systemUpdates a design system for a project. Use this tool when the user wants to change the overall visual theme, style, or branding of the application. This includes configuring: - Color Palette: Presets, custom primary colors, and saturation levels. - Typography: Font families (e.g., Inter, Roboto, etc.). - Shape: Corner roundness for UI elements. - Appearance: Light and dark mode background colors. - Design MD: Free-form design instructions in markdown. This tool establishes the foundational design tokens that apply across all screens in the project.
ParameterTypeDescription
designSystem *anyRequired. The design system to update.
name *stringRequired. Identifier. The resource name of the design system to update. Format: `assets/{asset_id}` Example: `assets/15996705518239280238`
projectId *stringRequired. The project ID to update design system for, example: '4044680601076201931', without the `projects/` prefix.
upload_design_mdUploads DESIGN.md to a Stitch project. Use this tool when the user wants to create a design system from a DESIGN.md file. **Instructions for Tool Call:** * Call `create_design_system_from_design_md` tool immediately after this tool to create the design system from the uploaded DESIGN.md, and display the design system in the UI.
ParameterTypeDescription
designMdBase64 *stringRequired. The base64-encoded DESIGN.md content. The decoded content must be valid UTF-8; uploads with invalid UTF-8 bytes will be rejected. Run `base64 -w 0 ` to get the base64-encoded string.
projectId *stringRequired. The project ID to upload the DESIGN.md to, example: '4044680601076201931', without the `projects/` prefix.

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.9K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by bun.lock.
  • ✓No dynamic code executionScanned 39 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
None found in the source
Starts other programs
No calls that start other programs
Outbound network calls
5 callspackages/sdk/src/client.ts:492, packages/sdk/src/content-handler.ts:40, packages/sdk/src/download-handler.ts:203
Writes or deletes files
7 callspackages/sdk/src/download-handler.ts:55, packages/sdk/src/download-handler.ts:59, packages/sdk/src/download-handler.ts:60
Lockfile
bun.lock

Pattern matches on the source text of 39 files: places to read, not proof of what the code does at run time.

Releases

v0.1.1v0.1.1 · 27 Apr 2026Release Notes: v0.1.1 We are thrilled to announce the release of `@google/stitch-sdk` v0.1.1! This milestone update brings robust Application Development Kit (ADK) TypeScript support, advanced Design System tools, enhanced authentication…
v0.0.3v0.0.3 · 12 Mar 2026What's Changed Fix `generate-variants` example — Corrected `numVariants` → `variantCount` to match the API's `VariantOptions` schema Add example contract tests — New `examples.test.ts` statically verifies example files use correct API…
v0.0.2v0.0.2 · 12 Mar 2026What's New `stitch.createProject(title?)` — Create projects directly from the domain layer Build-time version injection — SDK version sourced from `package.json` at build time Publish readiness fixes — Removed stale `dist/package.json`…
v0.0.1v0.0.1 — Initial Release · 10 Mar 2026What's Changed feat: init library by @davideast in https://github.com/google-labs-code/stitch-sdk/pull/2 feat: identity map pattern by @davideast in https://github.com/google-labs-code/stitch-sdk/pull/3 refactor: move core/ to…

README

The repository's README runs to about 1.9K words, fetched 5 days ago. The original in the repository is authoritative.

Read full README
Questions

About Stitch SDK

How do I install Stitch SDK?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Stitch SDK safe to use with an AI agent?

Its trust score is 79 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 39 source files found that it makes outbound network calls (5 calls) and writes or deletes files (7 calls). Its dependencies are pinned by bun.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Stitch SDK still maintained?

Yes — the last commit was 28 days ago. The repository has 1.9K stars and 142 forks and 18 open issues.

What tools does Stitch SDK provide?

Conduid read 16 tools from the source: apply_design_system, create_design_system, create_design_system_from_design_md, create_project, delete_project, download_assets, edit_screens, generate_screen_from_text and 8 more. 16 of them publish their parameters, listed under Tools above.

What license is Stitch SDK released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v0.1.1, as well.