An MCP App server that integrates with Google Stitch for AI-powered UI design. Provides 6 tools for managing projects, browsing screens, generating new designs, and extracting design tokens — all rendered in an interactive React UI.
| Tool | Description |
|---|---|
list-projects |
List all Stitch design projects |
list-screens |
List screens within a project |
design-viewer |
View a screen with image preview, code, and design tokens |
generate-design |
Generate a new screen from a text prompt |
extract-design-context |
Extract colors, fonts, spacing, and layout tokens |
create-project |
Create a new Stitch project |
- A Google Cloud project with the Stitch API enabled
- Application Default Credentials (ADC) configured:
gcloud auth application-default login
- Set
GOOGLE_CLOUD_PROJECTenvironment variable to your GCP project ID
{
"mcpServers": {
"stitch-design": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-stitch", "--stdio"]
}
}
}npm install
npm run build
npm start # HTTP mode on port 3001
npm start -- --stdio # stdio modebun test server.test.ts