Google Stitch MCP
Universal MCP Server for Google Stitch. Connect AI agents to your UI designs.
Stitch MCP
Build amazing UI/UX designs instantly with AI. Works seamlessly with Cursor, Claude, Antigravity, and any MCP-compatible editor.
Created by Aakash Kargathara.
đ How It Works
⨠Why this is cool
- Zero Config: Just login once and it works everywhere.
- Universal: Works on Windows, Mac, and Linux.
- Free: Google Stitch API is free to use.
īŋŊī¸ Quick Setup (2 Minutes)
1. Prerequisite: Google Cloud
You need a Google Cloud project with the Stitch API enabled.
# Login to your Google Cloud
gcloud auth login
# Set your project (replace with your actual project ID)
gcloud config set project YOUR_PROJECT_ID
gcloud auth application-default set-quota-project YOUR_PROJECT_ID
# Enable the magic
gcloud beta services mcp enable stitch.googleapis.com
2. Install the Credentials
This gives stitch-mcp permission to talk to Google on your behalf.
gcloud auth application-default login
3. Add to Your AI Editor
Copy and paste this into your MCP config file:
For Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json
For Cursor: Settings > MCP > Add New Server
{
"mcpServers": {
"stitch": {
"command": "npx",
"args": ["-y", "stitch-mcp"],
"env": {
"GOOGLE_CLOUD_PROJECT": "YOUR_PROJECT_ID"
}
}
}
}
đ ī¸ Available Tools
| Tool Name | What it does |
|---|---|
extract_design_context | đ§ Scans a screen to extract "Design DNA" (Fonts, Colors, Layouts). Use this to keep style consistent. |
fetch_screen_code | đž Downloads the raw HTML/Frontend code of a screen. |
fetch_screen_image | đŧī¸ Downloads the high-res screenshot of a screen. |
generate_screen_from_text | ⨠Generates a NEW screen based on your prompt (and context). |
create_project | đ Creates a new workspace/project folder. |
list_projects | đ Lists all your available Stitch projects. |
list_screens | đą Lists all screens within a specific project. |
get_project | đ Retrieves details of a specific project. |
get_screen | âšī¸ Gets metadata for a specific screen. |
đĄ Pro Tip: The "Designer Flow"
To generate consistent UI, use this 2-step flow:
- Extract: "Get design context from the Home Screen..."
- Generate: "Using that context, generate a Chat Screen..."
This ensures your new screen matches your existing design system perfectly.
đ License
Apache 2.0 - Open source and free to use.
Star History
Built with â¤ī¸ by Aakash Kargathara
Related Servers
Jira MCP
The most robust Jira MCP safe for internal corporate use.
OneNote by CData
A read-only MCP server for querying live data from Microsoft OneNote using the CData JDBC Driver.
KonQuest Meta Ads MCP
Supervised Meta Ads operating system for Claude Code - 57 tools for campaign management, multi-asset ads, targeting, pixel diagnostics, catalogs, and safety gates
timemap-mcp
Chinese metaphysics calculations for AI agents â BaZi Four Pillars, Tong Shu almanac, Feng Shui Life Gua, hexagram lookup, and more. 740+ tests verified against Joey Yap reference data.
OmniTaskAgent
A multi-model agent for managing tasks across various platforms, requiring API keys for different AI models.
Overleaf
Access and analyze Overleaf projects and LaTeX files through Git integration.
Skolverket-MCP
MCP server for Swedish National Agency for Education (Skolverket) open data.
ReaperMCP
AI-powered music production in REAPER via the Model Context Protocol â 150 tools for composition, mixing, mastering, and audio analysis.
Zephyr Scale
Manage Zephyr Scale test cases through the Atlassian REST API.
ServiceTitan MCP Server
An MCP server for integrating with the ServiceTitan platform.