Stitch Design Agent
Integrates with Google Cloud's Stitch API to browse projects, view screen designs, extract design tokens, and generate new screens from text prompts.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Stitch Design AgentShow me my Stitch design projects"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Stitch Design Agent - MCP App
An interactive MCP App that brings Google Stitch design tools directly into AI assistants like Claude Code, Claude Desktop, and ChatGPT. Browse projects, view screen designs, extract design tokens, and generate new screens — all within your chat interface.
Built with the MCP Apps (ext-apps) extension, which renders interactive React UI inside MCP host sandboxed iframes.
Screenshots
Browse all your Stitch design projects with thumbnail previews
View all screens within a project with device type badges
Split panel view: screen preview with HTML/CSS code and design tokens
Related MCP server: Stitch MCP Server
Features
Tool | Description |
| Browse all Stitch design projects with thumbnail previews, device types, and theme colors |
| View all screens within a project as a thumbnail grid |
| Split panel showing screen preview alongside HTML/CSS code and extracted design tokens |
| Generate new screen designs from text prompts using AI, with follow-up suggestions |
| Extract design tokens (colors, fonts, spacing, layouts) for brand consistency |
Installation
Prerequisites
Node.js >= 18
A Google Cloud project with the Stitch API enabled
Application Default Credentials configured
# Authenticate with Google Cloud
gcloud auth application-default loginSetup
# Clone the repo
git clone https://github.com/jayeshvpatil/stitch-mcp-app.git
cd stitch-mcp-app
# Install dependencies
npm install
# Build
npm run buildConfigure your MCP client
Add to your MCP client configuration (e.g. ~/.claude/mcp.json for Claude Code):
{
"mcpServers": {
"stitch-design": {
"command": "node",
"args": ["/path/to/stitch-mcp-app/dist/main.js"],
"env": {
"GOOGLE_CLOUD_PROJECT": "your-gcp-project-id"
}
}
}
}Replace /path/to/stitch-mcp-app with the actual path and your-gcp-project-id with your Google Cloud project ID.
Usage
Once configured, you can interact with your Stitch designs through natural language:
"Show me my Stitch design projects"
"List screens in the Sentiment Dashboard project"
"View the Data Explorer screen design"
"Generate a mobile login screen with dark theme"
"Extract design tokens from this screen"The app renders interactive UI cards directly in the chat — click project cards to drill into screens, click screens to view full designs with code.
Architecture
stitch-mcp-app/
├── server.ts # MCP server: 5 tools + 1 shared UI resource
├── main.ts # stdio transport entry point
├── stitch-client.ts # Stitch REST API client (google-auth-library)
├── mcp-app.html # HTML entry for React UI
├── vite.config.ts # Vite + vite-plugin-singlefile
└── src/
├── StitchApp.tsx # Main component: useApp() hook + view routing
├── types.ts # TypeScript interfaces matching Stitch API
├── global.css # Dark mode responsive styles
└── components/
├── ProjectList.tsx # Project card grid
├── ScreenList.tsx # Screen thumbnail grid
├── DesignViewer.tsx # Split panel (image + code/tokens)
├── GenerateDesign.tsx # AI generation + suggestions
└── DesignContext.tsx # Design token displayKey patterns:
Single shared UI resource (
ui://stitch-design/app.html) across all 5 toolsReact UI bundled into a single HTML file via Vite +
vite-plugin-singlefileTools return
{ type, data }JSON — React app routes views viaontoolresultDirect Stitch API calls using
google-auth-library(not proxied)
Development
# Watch mode (rebuilds on changes)
npm run dev
# Build UI only
npm run build:ui
# Build server only
npm run build:server
# Full build
npm run buildLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to read and modify Figma designs programmatically, supporting design analysis, element creation, text replacement, annotations, auto-layout configuration, and prototype visualization through natural language commands.574MIT
- AlicenseAqualityBmaintenanceEnables AI coding assistants to generate, edit, and scaffold HTML UIs from natural language using Google Stitch API.9861MIT
- AlicenseNot gradedqualityBmaintenanceBridges AI assistants with Figma for design system extraction, bidirectional token sync, visual debugging, and design creation.1861MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered UI/UX design generation and management via Google Stitch, handling OAuth authentication automatically for MCP clients like Claude Code and Cursor.232MIT
Related MCP Connectors
UI design from prompts, screenshots, and URLs for AI coding agents and theme tokens.
A design-style library for AI agents: search real styles, fetch a ready-to-apply design spec.
The Figma MCP server brings Figma design context directly into your AI workflow.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jayeshvpatil/stitch-mcp-app'
If you have feedback or need assistance with the MCP directory API, please join our Discord server