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
Server Terkait
Todoist MCP
Interact with your Todoist tasks and projects using your LLM.
Vivid MCP
Open a business account right from your AI chat
AnkiConnect
AnkiConnect MCP server for interacting with Anki via AnkiConnect.
Claudesidian MCP
Integrates Model Context Protocol (MCP) with Obsidian, allowing AI assistants to interact with your notes and vault.
HiveFlow
Connect AI assistants directly to the HiveFlow automation platform.
TikTok Ads MCP Server
A Model Context Protocol (MCP) server for TikTok Ads API integration. This server enables AI assistants like Claude to interact with TikTok advertising campaigns, providing comprehensive campaign management, analytics, and optimization capabilities. Part of the AdsMCP project - MCP servers for advertising platforms.
Google Calendar
Integrates with Google Calendar to manage events and generate calendar insights.
Bear MCP Server
Access and manage your Bear Notes from a local SQLite database.
Feishu/Lark OpenAPI
Connects AI agents to the Feishu/Lark platform for automating tasks like document processing, conversation management, and calendar scheduling.
Shortcut
Interact with the Shortcut project management tool, formerly known as Clubhouse.