MCP server · Audited from source
@google/stitch-sdk MCP server
by google-labs-code/stitch-sdkApache-2.0 licenceAudited 12 Oct 2026 · source 43755ebf57a6
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.
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | PASS 10 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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-sdkat 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
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
LOWCode injectioncode.eval_exec · scripts/test/generate-sdk.test.ts:754
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
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
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
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
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
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
import { type StitchToolClientSpec } from "../../src/spec/client.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@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
@google/stitch-sdk
- Why
- 1 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · packages/sdk/package.json
@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
| `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
| `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
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.
| Tool | Risk | What it does |
|---|---|---|
delete_project | destructive | Deletes 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_system | write | Applies 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_system | write | Defines DesignTheme and ColorPalette in $defs |
create_design_system_from_design_md | write | Creates 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_project | write | Creates a new Stitch project. A project is a container for UI designs and frontend code.\n |
edit_screens | write | Edits 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_system | write | References DesignTheme without defining it or ColorPalette |
upload_design_md | write | Uploads 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_assets | read | Download screens and assets to a local directory |
generate_screen_from_text | read | Generates 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_variants | read | Generates 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_project | read | Retrieves the details of a specific Stitch project using its project name.\n |
get_screen | read | Retrieves the details of a specific screen within a project.\n |
list_design_systems | read | Lists all design systems for a given project.\n |
list_projects | read | Lists all Stitch projects accessible to the user. By default, it lists projects owned by the user.\n |
list_screens | read | Lists all screens within a given Stitch project.\n |
remote_tool | read | Remote |
simple_tool | read | No schema |
stitch-tool-client | read | Authenticated 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]{
"mcpServers": {
"stitch-sdk": {
"command": "npx",
"args": [
"-y",
"@google/[email protected]"
],
"env": {
"GEMINI_API_KEY": "${GEMINI_API_KEY}",
"GOOGLE_GENERATIVE_AI_API_KEY": "${GOOGLE_GENERATIVE_AI_API_KEY}",
"STITCH_ACCESS_TOKEN": "${STITCH_ACCESS_TOKEN}",
"STITCH_API_KEY": "${STITCH_API_KEY}"
}
}
}
}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
- ✓SAFE B 89 / 100
First audit ·
43755ebf57a6
README badge
For maintainers · updates on every re-audit
[](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?
What tools does @google/stitch-sdk expose?
Is @google/stitch-sdk safe to connect to an agent?
What credentials does @google/stitch-sdk need?
How does @google/stitch-sdk run?
How current is this page?
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.
- What is the @google/stitch-sdk MCP server?
- What tools does @google/stitch-sdk expose?
- Is @google/stitch-sdk safe to connect to an agent?