Overview
stitch-mcp Documentation
Guide hub for stitch-mcp — move AI-generated UI designs into your development workflow.
stitch-mcp Documentation
stitch-mcp is a CLI for moving AI-generated UI designs from Google’s Stitch platform into your development workflow. It previews designs locally, builds sites from them, and feeds design context to coding agents through an MCP proxy.
Reading paths
Pick the path that matches what you’re trying to do:
Give your coding agent design context
Build agent skills with Stitch data
- Set up authentication
- Connect your agent
- Use Stitch tools in agents
- Understand Agent Skills
- Build an Agent Skill
Preview and build from designs locally
Extend Stitch with custom tools
- Tool Catalog — see what’s built in
- Virtual Tools reference
- Build a Virtual Tool
Guides
| Guide | What it covers |
|---|---|
| Setup | Authentication, environment configuration, and verifying your install |
| Connect your agent | MCP config for Claude Code, VS Code, Cursor, Gemini CLI, Codex, OpenCode, and Antigravity |
| Connection Modes | Proxy vs direct architecture, comparison, and when to use each |
| Use Stitch tools in agents | Prompting patterns and debugging workflows |
| Agent Skills | What Agent Skills are, why they pair with Stitch, and existing skills |
| Build an Agent Skill | SKILL.md format, directory structure, and creating your own |
| Tool Catalog | Schemas, return types, and parameters for all Stitch tools |
| Virtual Tools | Interface reference, client API, and conventions for building virtual tools |
| Build a Virtual Tool | Creating, registering, and testing custom virtual tools |
| Preview designs | Local dev server, terminal browser, and resource viewer |
| Build a site | Astro site generation from screen-to-route mappings |
| Troubleshooting | Common errors, diagnosis with doctor, and environment workarounds |
| Command reference | All commands, flags, and environment variables |
Prerequisites
- Node.js 18+
- A Google Cloud project with billing enabled
- A Stitch account with at least one project
Quick start
TERMINAL
npx @_davideast/stitch-mcp initSee the README for a condensed overview.