Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

@google/stitch-sdk MCP server

by google-labs-code/stitch-sdkApache-2.0 licenceAudited 12 Oct 2026 · source 43755ebf57a6

npm @google/stitch-sdk 0.4.0stdiostreamable-http★ 1,829
✓SAFEGrade B · 89/100 · 12 Oct 2026 · 43755eb
1,829GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 19 tools: 11 read, 7 write and 1 destructive. The audit recorded 14 findings (0 critical, 0 high, 1 medium, 11 low). Maintainer's description: Generate UI screens from text prompts and extract their HTML and screenshots programmatically.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “@google/stitch-sdk MCP server (google-labs-code/stitch-sdk)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/google-labs-code/stitch-sdk

Trust audit

Audit 0.4.1 · full source read 12 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium11 low2 info

14 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared6 observations
  • NetworkDeclared5 observations
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainPASS 10 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner google-labs-codeOrganizationAccount type recorded when we read the repository.
  • PackagePublished on npm@google/stitch-sdk at version 0.4.0
  • LicenceApache-2.0From the repository, as read at the audited commit.
  • Last push11 days agoActivity of the repository when we read it.
  • Source commit read43755ebf57a6The audit covers exactly this commit, read on 12 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory19 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (14)

Sorted by severity

MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_project
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.eval_exec · scripts/test/generate-sdk.test.ts:754
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const fn = new Function("raw", `return ${js}`);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWInsecure cryptocrypto.weak_hash · packages/sdk/src/download-handler.ts:426
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
const hash = crypto.createHash("md5").update(url).digest("hex");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/sdk/generated/src/designsystem.ts:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { type StitchToolClientSpec } from "../../src/spec/client.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/sdk/generated/src/designsystem.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { StitchError } from "../../src/spec/errors.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/sdk/generated/src/designsystem.ts:10
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { Generation, emptyGenerationError } from "../../src/generation.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/sdk/generated/src/designsystem.ts:46
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { Screen } from "../../src/screen-ext.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/sdk/generated/src/project.ts:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { type StitchToolClientSpec } from "../../src/spec/client.js";
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@types/bun, @types/react, firebase-tools, ink, prettier, react, ts-morph, turbo
Why
10 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · packages/sdk/examples/container-proxy/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@google/stitch-sdk
Why
1 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · packages/sdk/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, cheerio, zod, @a2a-js/sdk, @google-cloud/storage, @google/adk, @google/genai, @mikro-orm/core
Why
18 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOPrompt injectionprompt.credential_read · README.md:328
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
| `STITCH_ACCESS_TOKEN`  | No                 | OAuth access token (alternative to API key) |
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · packages/sdk/README.md:257
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
| `STITCH_ACCESS_TOKEN`  | No                 | OAuth access token (alternative to API key) |
Why
asks the agent to read credentials
Fix
—

Tools it exposes

19 declared in source · 1 destructive

11 read7 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
delete_projectdestructiveDeletes a specific Stitch project using its project name.\n\n**Instructions for Tool Call:**\n\n* This action cannot be undone. Please confirm with
apply_design_systemwriteApplies 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.\nThis tool applies the selected design system
create_design_systemwriteDefines DesignTheme and ColorPalette in $defs
create_design_system_from_design_mdwriteCreates a design system for a project, with user uploaded DESIGN.md file, and displays the design system in the UI.\n\n**Instructions for Tool Call:**\n* Should call
create_projectwriteCreates a new Stitch project. A project is a container for UI designs and frontend code.\n
edit_screenswriteEdits existing screens within a project using a text prompt.\n\n**Instructions for Tool Call:**\n* This action can take a few minutes to complete. Please be patient. DO NOT RETRY.\n* If the tool call fails due to connection error, the process may still succeed.\n
update_design_systemwriteReferences DesignTheme without defining it or ColorPalette
upload_design_mdwriteUploads DESIGN.md to a Stitch project. Use this tool when the user wants to create a design system from a DESIGN.md file.\n\n**Instructions for Tool Call:**\n* Call
download_assetsreadDownload screens and assets to a local directory
generate_screen_from_textreadGenerates a new screen within a project from a text prompt.\n\n**Instructions for Tool Call:**\n* This action can take a few minutes to complete. Please be patient. DO NOT RETRY.\n* If the tool fails with a timeout, don\
generate_variantsreadGenerates variants of existing screens within a project using a text prompt.\n\n**Instructions for Tool Call:**\n* If the tool fails with a timeout, don
get_projectreadRetrieves the details of a specific Stitch project using its project name.\n
get_screenreadRetrieves the details of a specific screen within a project.\n
list_design_systemsreadLists all design systems for a given project.\n
list_projectsreadLists all Stitch projects accessible to the user. By default, it lists projects owned by the user.\n
list_screensreadLists all screens within a given Stitch project.\n
remote_toolreadRemote
simple_toolreadNo schema
stitch-tool-clientreadAuthenticated tool pipe for Stitch MCP Server

Install

Package version 0.4.0 · audited commit 43755eb

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.4.0. The audit covers commit 43755eb only.

claude mcp add stitch-sdk --env GEMINI_API_KEY=${GEMINI_API_KEY} --env GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY} --env STITCH_ACCESS_TOKEN=${STITCH_ACCESS_TOKEN} --env STITCH_API_KEY=${STITCH_API_KEY} -- npx -y @google/[email protected]

The command pins the package version recorded in the source (0.4.0); the audit covers commit 43755ebf57a6. Transport: stdio · streamable-http. Reads these environment variables: GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, STITCH_ACCESS_TOKEN, STITCH_API_KEY. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · 43755ebf57a6

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/google-labs-code/stitch-sdk/badge.svg)](https://modelsatlas.com/mcp/google-labs-code/stitch-sdk/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about @google/stitch-sdk MCP server

What is the @google/stitch-sdk MCP server?
Generate UI screens from text prompts and extract their HTML and screenshots programmatically.
What tools does @google/stitch-sdk expose?
19 in total: 11 read-only, 7 that write, and 1 that can delete or overwrite (delete_project). Every one is listed on this page with its risk.
Is @google/stitch-sdk safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does @google/stitch-sdk need?
It reads GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, STITCH_ACCESS_TOKEN and STITCH_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does @google/stitch-sdk run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @google/stitch-sdk at 0.4.0.
How current is this page?
The grade is for one exact copy of the source (43755ebf57a6), read on 2026-10-12. The repository is watched and re-audited when it changes.

Sources

  • google-labs-code/stitch-sdk on GitHub — the source we read, its licence, stars and activityObserved · 12 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit 43755ebf57a6Observed · 12 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.