Stitch MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host HTTP (solo mcp:http). | localhost |
| MCP_PORT | No | Puerto HTTP (solo mcp:http). | 3100 |
| NODE_ENV | No | Entorno (development/production). | production |
| LOG_LEVEL | No | Nivel de log. | info |
| STITCH_API_KEY | Yes | API key de Stitch. | |
| STITCH_RATE_LIMIT | No | Límite de requests por minuto. | 60 |
| STITCH_TEMPLATE_DIR | No | Directorio de templates personalizados. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| stitch_list_projectsB | List all Google Stitch projects accessible with the configured credentials. Supports filtering by search term and offline mode. |
| stitch_create_projectB | Create a new Google Stitch project. A project is a container for UI designs and frontend code. |
| stitch_generate_screenA | Generate a new UI screen in Google Stitch from a text prompt. Uses the specified project or falls back to the first available project. Supports model selection (GEMINI_3_PRO, GEMINI_3_FLASH, GEMINI_3_1_PRO). |
| stitch_upload_imageA | Upload a design file (PNG, JPG, WEBP, HTML) to a Stitch project. Creates new screen canvases from the file contents. |
| stitch_sync_screenA | Synchronize a screen from Google Stitch to local HTML files. If no screenId is provided, syncs all screens from the project. |
| stitch_export_frameworkB | Export a Stitch project to a specific UI framework (React, Vue, Svelte, Next.js, Nuxt, Solid, Angular, or Vanilla HTML). Transforms HTML into framework-specific components. |
| stitch_create_design_systemB | Create a new design system for a Stitch project. Defines visual theme, style guidelines, and design tokens for consistent branding. |
| stitch_list_design_systemsB | List all design systems for a given Stitch project. |
| stitch_update_design_systemC | Update an existing design system's theme, tokens, or style guidelines. |
| stitch_apply_design_systemB | Apply a design system to one or more screens, updating their visual style to match the design system's theme and tokens. |
| stitch_cache_statusA | Get the current status of the local SQLite cache including project count, screen count, and cache size. |
| stitch_cache_clearA | Clear all cached projects and screens from the local SQLite database. |
| stitch_cache_syncA | Download and cache all screens from a Stitch project for offline access. |
| stitch_to_storybookB | Export a Stitch project to Storybook stories for a given framework (react, nextjs, vue, nuxt, svelte, sveltekit). Writes one component file + one story file per screen, plus a minimal .storybook/ configuration. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 14 tools
Most tools target clearly distinct resources and actions (list/create project, generate/sync screen, create/update/apply design system). The main overlaps are between stitch_sync_screen (pull screens into local HTML), stitch_cache_sync (cache screens in SQLite), and the two exporters stitch_export_framework vs stitch_to_storybook, though the descriptions do clarify the differences.
Every tool follows a strict stitch_<verb>_<noun> snake_case pattern (stitch_list_projects, stitch_create_design_system, stitch_cache_clear), with no mixed conventions or stray prefixes.
Fourteen tools is well inside the ideal range for a design-to-code pipeline server, and each tool maps to a concrete workflow step (project, screen, design system, cache, export) rather than padding the surface.
Project lifecycle is only partly covered (list/create but no update or delete), design systems lack a delete, and there is no direct screen listing or per-screen delete/update, only generate/upload/sync. Agents can accomplish main flows (generate -> design system -> export) but will hit dead ends for cleanup and individual screen inspection.