Justin McKelvey

Justin McKelvey

Fractional CTO · 15 years, 50+ products shipped

• AI Design Tools • 8 min read •

Google Stitch MCP: What It Is, the 5-Minute Setup, and Whether It's Worth It (2026)

Quick Answer (Setup + Use)

Google Stitch MCP is the Model Context Protocol server Google hosts at https://stitch.googleapis.com/mcp that lets AI coding tools — Claude Code, Cursor, Windsurf, Cline — call Google Stitch's UI generation directly from your editor. Setup takes about 5 minutes: create a Stitch API key, add the server URL and the key to your MCP config, restart your client. Then you prompt "design and implement a settings page" and your agent generates the UI in Stitch and builds it in your codebase in one pass. It's free (uses your standard 350-gen/month Stitch quota), and yes, it works — I run this workflow daily and it's a 3-5x speedup on UI implementation.

Based on MCP integration setup in Claude Code + Cursor · Updated September 2026 · Author: Justin McKelvey, fractional CTO

Key Stats (June 2026)

  • MCP protocol: Anthropic's open Model Context Protocol (introduced late 2024)
  • Cost: Free — uses standard Stitch generation quota (350/mo on free tier)
  • Supported clients: Claude Code, Cursor (0.45+), Windsurf, Cline, Continue.dev, custom MCP clients
  • Setup time: ~5 minutes (config file edit + auth)
  • Killer use case: Design + implementation in one closed-loop AI workflow
  • Search growth: +515% quarterly — MCP adoption is exploding in AI coding tool ecosystem
  • Official docs: stitch.withgoogle.com/docs/mcp

TL;DR: Google Stitch MCP in 90 Seconds

Google Stitch MCP is the MCP server that connects Google Stitch to AI coding tools — one config entry (the server URL https://stitch.googleapis.com/mcp plus your Stitch API key) and Claude Code, Cursor, or Windsurf can generate, refine, and export Stitch designs without you ever opening the web UI. MCP (Model Context Protocol) is the standardized way AI coding tools call external services, and Stitch ships an official server for it — so design generation happens through your normal prompt interface, no context switching to a separate web app.

For developers using Claude Code or Cursor as their main editor, Stitch MCP is the killer integration. Instead of bouncing between your editor and stitch.withgoogle.com, you prompt your AI agent to "design and implement a new dashboard" — the agent calls Stitch for the design, then implements it in your codebase. Closed loop, no context switching, way faster.

I'm a fractional CTO who runs this workflow daily for client projects. This is the practical setup guide and the workflow patterns that actually save time.

What MCP Is (And Why It Matters)

Model Context Protocol is an open protocol Anthropic introduced in late 2024 for connecting AI assistants to external tools and data sources. The premise: instead of every AI coding tool implementing custom integrations with every external service, services provide standardized MCP servers and clients consume them via the protocol.

By mid-2026, MCP has become the default integration pattern for AI coding tools. Dozens of services (GitHub, Slack, databases, design tools, project management) ship MCP servers. Cursor, Claude Code, Windsurf, Cline, and others consume them. The result: an AI agent in your editor has access to anything that ships an MCP server.

Google Stitch was one of the earlier major design tools to ship MCP support, which is why "google stitch mcp" searches grew +515% in Q1 2026.

What Stitch MCP Actually Does

The Stitch MCP server exposes these capabilities to MCP clients (tool list read from Google's server, September 2026):

  • Generate a screen from a text prompt (generate_screen_from_text)
  • Edit existing screens with a follow-up prompt, or generate variants of them
  • Read a screen and its details (get_screen, list_screens)
  • Manage design systems: create, update, list and apply one, including from a DESIGN.md file
  • List, create, read and delete projects

When an AI client like Claude Code is connected, it sees these as available tools and can invoke them as part of larger tasks. Example: you prompt Claude Code with "I need a settings page for our app with profile, billing, and notification sections." Claude Code decides to call Stitch (via MCP) to generate the design, gets the result back, and implements it in your React codebase — all in one conversation.

Setting Up Stitch MCP in Claude Code

Step-by-step setup, corrected September 2026. An earlier version of this guide pointed at an npm package, @google/stitch-mcp, that does not exist on npm. Stitch's MCP server is hosted by Google, so there is nothing to install:

  1. Create your Stitch API key. In Stitch, click your profile picture (top right) → Stitch settings → API key → Create key. Copy it.
  2. Add the server to Claude Code with one command (it writes the config for you):
    claude mcp add stitch --transport http https://stitch.googleapis.com/mcp --header "X-Goog-Api-Key: YOUR-API-KEY" -s user
  3. Or add it by hand to your MCP config as a remote server:
    {
      "mcpServers": {
        "stitch": {
          "type": "http",
          "url": "https://stitch.googleapis.com/mcp",
          "headers": {
            "X-Goog-Api-Key": "your-api-key-here"
          }
        }
      }
    }
  4. Restart Claude Code.
  5. Verify the connection. In a new Claude Code session, ask "what tools do you have access to?" — Stitch should appear in the list.

The exact configuration format may evolve as Anthropic iterates on Claude Code's MCP support. The official Stitch docs at stitch.withgoogle.com/docs/mcp always have the current version. MCP gives Claude Code the tool; a skill tells it how you want the tool used, and how to use Claude skills covers that half.

Setting Up Stitch MCP in Cursor

Cursor supports MCP through its Composer feature (Cursor 0.45+):

  1. Open Cursor Settings → MCP → Add Server
  2. Choose "Add from URL" and enter https://stitch.googleapis.com/mcp
  3. Add your Stitch API key as an X-Goog-Api-Key header
  4. Restart Cursor
  5. Open Composer and ask a design-related question — Stitch tools appear as available actions

Cursor's MCP UI is friendlier than Claude Code's config file approach but the underlying integration is identical.

The Killer Workflow: Design + Implement in One Pass

The reason Stitch MCP is worth setting up is the closed-loop design-and-implement workflow it enables:

Without MCP:

  1. Decide you need a new UI feature
  2. Open stitch.withgoogle.com in a separate tab
  3. Prompt Stitch, refine, export code
  4. Copy code to your editor
  5. Refine implementation manually or with AI help
  6. Realize the design needs a tweak, go back to step 2

With MCP:

  1. Prompt Claude Code: "Design and implement a settings page with profile/billing/notifications"
  2. Claude Code calls Stitch via MCP for the design
  3. Claude Code implements the design in your codebase
  4. Claude Code reviews the result, decides the design needs adjustment
  5. Claude Code calls Stitch again with refinement, updates the code
  6. Done. Total time: 5-15 minutes for typical features.

The integration eliminates context-switching between design tool and editor, AND lets the AI agent iterate on both design and code in tandem. For developers who already use Claude Code or Cursor as their main editor, this is a 3-5x productivity boost on UI work.

Common Setup Issues

"Server not found" error: Check the URL first. It is https://stitch.googleapis.com/mcp, over HTTP transport, not a local command. If your config still runs npx @google/stitch-mcp, that package does not exist; replace the entry with the URL version above.

"Authentication failed": Double-check your Stitch API token. Tokens expire after 90 days as of June 2026 — regenerate if needed.

Tools not appearing in client: Restart the MCP client fully (not just reload). Some clients cache the tool list aggressively.

Rate limit errors: You're hitting your 350-generation/month free tier limit. Either wait for the next monthly reset or upgrade when Stitch's paid plans launch in Q4 2026.

How Stitch MCP Actually Works: What the Setup Guides Leave Out

Most setup guides, this one included until September 2026, describe Stitch MCP as a package you run on your own machine. It is not. It is a remote server Google runs at https://stitch.googleapis.com/mcp. Your editor sends each tool call over HTTP, and your Stitch API key rides along in an X-Goog-Api-Key header. Nothing is installed, so nothing needs updating, and a leaked key is the whole security story. Keep it out of any config file you commit.

I asked the server what it offers on September 25, 2026. It listed 15 tools: four for projects, two for reading screens, three that generate or edit screens, and six for design systems. What is not on the list matters as much. There is no export-to-React or export-to-Flutter tool. Your agent reads the screen and writes the framework code itself, which is why the result depends on the agent more than on Stitch.

The other thing the guides skip: Google's own tool descriptions warn that the generate and edit calls "can take a few minutes." An agent with a short tool timeout will report a failure on a call that is still running, then try again and burn a second generation. If Stitch seems flaky from Claude Code or Cursor, raise the timeout before you blame the server.

Who Should Set This Up

  • Developers using Claude Code or Cursor as their primary editor
  • Solo founders who want design + code in one workflow
  • Anyone who finds the manual stitch.withgoogle.com workflow disruptive
  • Teams building AI-driven development pipelines

Skip if: you don't use any MCP-compatible AI tool, you prefer the visual design experience in Stitch's web UI, or you don't do much UI work.

The Bottom Line

Google Stitch MCP is one of the highest-leverage AI workflow integrations available in 2026. For developers in the Claude Code or Cursor ecosystem, setting it up takes 5 minutes and produces a 3-5x speedup on UI implementation work.

The broader trend: MCP is becoming the default integration pattern for AI coding tools. Expect every major design, project management, database, and infrastructure tool to ship MCP support over the next 12-18 months. Stitch is ahead of the curve.

Related reading: Google Stitch review, how to use Google Stitch, Google Stitch vs Claude Design, Claude Code vs Cursor.

Want help integrating MCP into your team's workflow? Book a free 15-min strategy call. No pitch.

If you've already shipped an AI-built app and it's stalling in production, read the $15K Vibe Code Rescue case study — the exact triage playbook for getting unstuck. Or jump straight to the offer: see the Vibe Code Rescue service for pricing, process, and the free 20-minute repo audit.

Next step Get the free repo audit →

Free Resource Justin McKelvey

What your AI stack actually costs

Prices changed 3x this year. The always-current cost sheet: sticker price vs what heavy use actually costs for Cursor, Claude, Replit, Lovable, Bolt & more.

Frequently Asked Questions

What is Google Stitch MCP?
Google Stitch MCP is the Model Context Protocol integration that lets AI coding tools (Claude Code, Cursor, Windsurf, and any MCP-compatible client) directly query Google Stitch from the command line. You can prompt Claude Code with "design and ship a settings page" and the MCP integration calls Stitch to generate the design, then implements it in your codebase — all without leaving your editor.
What is MCP (Model Context Protocol)?
MCP is an open protocol introduced by Anthropic in late 2024 for connecting AI assistants to external tools and data sources. As of 2026, dozens of services (Stitch, GitHub, Slack, databases) provide MCP servers that AI coding tools can use. Think of it as a standardized way for AI agents to call external tools — like APIs, but designed specifically for LLM-driven workflows.
How do I set up Google Stitch MCP in Claude Code?
(1) Create a Stitch API key: profile picture → Stitch settings → API key → Create key. (2) Run: claude mcp add stitch --transport http https://stitch.googleapis.com/mcp --header "X-Goog-Api-Key: YOUR-API-KEY" -s user. (3) Restart Claude Code. Stitch's server is hosted by Google, so there is no package to install. The official setup docs are at stitch.withgoogle.com/docs/mcp.
How do I use Stitch MCP in Cursor?
Cursor supports MCP through its Composer feature (Cursor 0.45+). Add the Stitch MCP server to your Cursor MCP config (Settings → MCP → Add Server), authenticate with your Google account, then prompt Composer with design-related requests. The Stitch tools appear in Composer's available actions automatically.
Why use Stitch MCP instead of just visiting stitch.withgoogle.com?
Two reasons: (1) Workflow integration — you don't context-switch between your editor and a separate web tool. The AI agent in your editor can request designs as part of a larger task. (2) Iteration speed — Claude Code can refine designs and immediately implement them in your code, then ask Stitch to update the design based on what worked in practice. The closed loop is significantly faster than manual back-and-forth.
Is Google Stitch MCP free?
Yes, as of June 2026. Stitch MCP usage counts against your standard Stitch generation quota (350/month on free tier). No separate fee for the MCP integration. If/when paid Stitch plans launch in Q4 2026, MCP access will likely be included in all tiers.
What MCP clients support Google Stitch?
As of June 2026: Claude Code (official Anthropic), Cursor (0.45+), Windsurf, Cline, Continue.dev, and any custom MCP client. The protocol is open, so any LLM-driven tool can implement support. Some specialized AI coding tools haven't added MCP yet — check your tool's documentation.
Can I use Stitch MCP without Google Stitch UI?
Yes — that's actually one of the main use cases. Power users prefer to keep their full workflow in their editor and never visit the Stitch web UI directly. MCP gives Claude Code or Cursor full access to Stitch's generation, refinement, and export capabilities through tool calls.
What's the difference between Stitch MCP and Stitch's regular API?
Stitch's standard API (if you build directly against it) requires you to handle authentication, request structure, response parsing, and error handling yourself. MCP wraps all of that into a standardized protocol that AI clients understand natively. For human-written code: use the API directly. For AI-driven workflows (Claude Code, Cursor): use MCP — it just works.
Why is 'google stitch mcp' a trending search?
Because Anthropic's MCP protocol gained massive adoption in late 2025/early 2026, and developers using Claude Code want to integrate every tool they use into the MCP workflow. "google stitch mcp" is a navigational search from devs trying to find the integration docs. Search volume for this query grew +515% in Q1 2026 as MCP became the default integration pattern for AI coding tools.
Is there a @google/stitch-mcp npm package?
No. The npm registry returns not-found for @google/stitch-mcp (checked September 25, 2026), and an earlier version of this page was wrong to name it. Stitch's MCP server is a remote server Google hosts at https://stitch.googleapis.com/mcp, so you connect to it by URL with your API key in an X-Goog-Api-Key header. The npm packages that do exist, such as @_davideast/stitch-mcp, are optional helpers that handle Google sign-in and proxy the same server.
How does Stitch MCP actually work?
Your editor's agent sends tool calls over HTTP to Google's server at stitch.googleapis.com/mcp, authenticated by your Stitch API key. The server exposes 15 tools (project, screen, variant and design-system operations, read from the server on September 25, 2026). The generation and edit tools warn that a call can take a few minutes, so a short agent timeout can fail a call that would have succeeded.
Justin McKelvey, Fractional CTO and AI consultant in Austin, TX

Written by

Justin McKelvey

Fractional CTO & AI consultant in Austin, TX. 15 years building software, 50+ products shipped, $53M+ in client revenue generated. I help $1M–$50M founders ship production software and automate operations with AI — without hiring a full-time executive team.

Work with me

If this was useful, here are two ways I can help: