MCP ConfigsMar 29, 2026·3 min read

Google Stitch MCP — AI Design via Model Context Protocol

Connect Claude Code, Cursor, Gemini CLI, or VS Code to Google Stitch for AI-driven UI design. Create projects, generate screens from text, edit designs, manage design systems — all via MCP.

TL;DR
Google Stitch MCP lets AI agents create, edit, and manage UI designs through the Model Context Protocol.
§01

What it is

Google Stitch MCP is a Model Context Protocol server that connects AI coding agents (Claude Code, Cursor, Gemini CLI, VS Code) to Google Stitch, Google's AI-driven UI design platform. Through MCP, agents can create projects, generate screens from text descriptions, edit existing designs, apply design systems, and export assets -- all programmatically.

This integration is for developers and designers who want AI agents to handle UI design tasks directly within their coding workflow.

The project is actively maintained with regular releases and a growing user community. Documentation covers common use cases, and the open-source nature means you can inspect the source code, contribute fixes, and adapt the tool to your specific requirements.

§02

How it saves time or tokens

Design handoff between designers and developers is a major bottleneck. With Stitch MCP, a developer can describe a screen in natural language, and the AI agent generates a complete UI design without switching to Figma or Sketch. Design changes happen in the same terminal session as code changes, keeping the workflow continuous.

§03

How to use

  1. Add the Stitch MCP server to your AI agent's MCP configuration.
  2. Authenticate with your Google API key or OAuth credentials.
  3. Use natural language to create and edit designs through your agent.
§04

Example

{
  "mcpServers": {
    "stitch": {
      "url": "https://stitch.googleapis.com/mcp",
      "headers": {
        "x-goog-api-key": "YOUR_API_KEY"
      }
    }
  }
}
# In Claude Code or Cursor
# 'Create a mobile login screen with email, password, and a Google sign-in button'
# 'Update the dashboard screen to add a revenue chart in the top-right corner'
# 'Apply the Material Design 3 design system to all screens'
§05

Related on TokRepo

§06

Common pitfalls

  • The MCP endpoint requires a valid Google API key with Stitch API access enabled. Missing or invalid credentials produce authentication errors without clear messages.
  • Generated designs are starting points, not pixel-perfect production screens. Review and refine the output before handing off to development.
  • Design system changes applied via MCP affect all screens in the project. Test design system updates on a single screen first before applying globally.

Before adopting this tool, evaluate whether it fits your team's existing workflow. Read the official documentation thoroughly, and start with a small proof-of-concept rather than a full migration. Community forums, GitHub issues, and Stack Overflow are valuable resources when you encounter edge cases not covered in the documentation.

Frequently Asked Questions

Which AI agents support Google Stitch MCP?+

Google Stitch MCP works with any MCP-compatible agent including Claude Code, Cursor, Gemini CLI, and VS Code with MCP extensions. The server uses the standard MCP protocol.

Does Stitch MCP support design systems?+

Yes. You can create, update, and apply design systems through the MCP interface. Design systems define colors, typography, spacing, and component styles that are applied consistently across all screens.

Can I export designs from Stitch MCP?+

Yes. The MCP server supports exporting screens as images, CSS, or design tokens. Export commands are available as MCP tools that your agent can call.

Is Google Stitch free?+

Google Stitch has a free tier with limited usage. Check the current pricing on the Google Stitch website for API rate limits and project quotas.

How does Stitch MCP compare to Figma MCP?+

Both expose design tools via MCP. Stitch MCP focuses on AI-generated design from text descriptions. Figma MCP provides read and edit access to existing Figma designs. They serve different use cases and can be used together.

Citations (3)
🙏

Source & Thanks

Created by Google. Part of Google Stitch — Design with AI. Stitch MCP Docs Terms: Google APIs Terms of Service

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.