home / mcp / stitch mcp auto server
Provides an automated MCP server for Stitch design and design system workflows with CLI prompts and editor integration.
Configuration
View docs{
"mcpServers": {
"greensheep01201-stitch-mcp-auto": {
"command": "npx",
"args": [
"stitch-mcp-auto"
],
"env": {
"GOOGLE_CLOUD_PROJECT": "YOUR_PROJECT_ID"
}
}
}
}Stitch MCP Auto simplifies creating and managing an MCP server workflow by automating the setup and providing an integrated command surface you can use from your editors. It streamlines Google Cloud authentication, API enabling, and MCP client configuration so you can go straight to generating designs, checking accessibility, and exporting design systems with minimal setup.
You connect with your MCP client to drive design generation and design system workflows. Start by launching the MCP server through your editorβs MCP surface or by running the server command. The server exposes a set of prompts and commands you can invoke from supported CLIs to create, modify, and export designs, check accessibility, and generate design tokens.
Prerequisites you need before installing the MCP server:
Install and verify Node.js and the MCP server runner as follows. First, install the runner with npm or npx and then start the setup or the server.
npx -p stitch-mcp-auto stitch-mcp-auto-setup
# Follow the setup wizard to complete Google login, project selection, and Stitch API enablement.
# After setup completes, you can start the MCP server used by editors with:
npx stitch-mcp-autoThe setup wizard launches a web-based page at http://localhost:51121 to handle Google login and configuration. If you are using a Windows Subsystem for Linux (WSL) environment, you may need to open the URL in a Windows browser manually to complete authentication.
You can start the MCP server directly from editors or CLI by running the standard runtime command shown here.
npx stitch-mcp-autoIf authentication or API activation encounters issues, re-run the setup to re-acquire credentials and reconfigure the project. If the browser does not open automatically in WSL, copy the URL shown in the terminal and open it in your Windows browser, then return to the setup page.
Keep your Google Cloud project and credentials secure. Use the Google Cloud Console to manage API access and OAuth credentials, and store your MCP configuration in a secure location associated with your editor.
Creates a new Stitch project to host UI designs and frontend code.
Fetches details for a specific Stitch project by name.
Lists all Stitch projects accessible to you.
Lists all screens within a given Stitch project.
Retrieves details for a specific screen in a project.
Generates a new screen from a text prompt within a project.
Retrieves the HTML/Code content of a screen.
Retrieves a preview image of a screen.
Extracts design DNA (colors, typography, spacing) from a screen for consistency.
Generates a new screen using a previously extracted design context.
Compares two screens to identify design differences and harmonize styles.
Generates design tokens (CSS variables, Tailwind config, etc.) from a screen.
Creates responsive variants of a screen for different devices.
Generates multiple related screens in one operation with consistent design.
Checks a screen for WCAG 2.1 AA accessibility compliance with actionable recommendations.
Extracts reusable UI component patterns with their styles.
Applies modern UI trends to a screen generation task.
Generates a comprehensive style guide from an existing design.
Exports a complete design system package for developer handoff.