Skip to main content
Glama
bluedevilcollectibles

stitch-mcp-stdio

stitch-mcp-stdio

Stable stdio MCP server for Google Stitch AI UI design tool.

Drop-in replacement for @_davideast/stitch-mcp that eliminates the proxy layer crash (libuv UV_HANDLE_CLOSING assertion failure on Windows and intermittent connection drops on other platforms).

Why this exists

The official @_davideast/stitch-mcp package runs a proxy subprocess that suffers from a libuv bug causing random crashes, especially on Windows. This package uses the same @google/stitch-sdk under the hood but connects via stdio transport directly -- no proxy process, no crash.

Related MCP server: Stitch MCP

Setup

1. Get a Stitch API key

Go to stitch.withgoogle.com -> Profile -> Settings -> API Key.

2. Configure your MCP client

Point any MCP-compatible client (Claude Code, Claude Desktop, Cursor, Gemini CLI, VS Code) at npx stitch-mcp-stdio:

{
  "mcpServers": {
    "stitch": {
      "command": "npx",
      "args": ["-y", "stitch-mcp-stdio"],
      "env": {
        "STITCH_API_KEY": "your-api-key"
      }
    }
  }
}

npx -y downloads + runs the latest version without a permanent install. To pin a version use stitch-mcp-stdio@1.0.0.

Alternative: local clone (if you'd rather not use npx)

git clone https://github.com/bluedevilcollectibles/stitch-mcp-stdio.git
cd stitch-mcp-stdio
npm install

Then point the client at node /path/to/stitch-mcp-stdio/server.js instead of npx.

Available tools

All 12 tools from the Stitch SDK are exposed:

Tool

Description

create_project

Create a new Stitch project

get_project

Get project details

list_projects

List all projects

list_screens

List screens in a project

get_screen

Get screen details

generate_screen_from_text

Generate a screen from a text prompt

edit_screens

Edit an existing screen

generate_variants

Generate design variants

create_design_system

Create a design system

update_design_system

Update a design system

list_design_systems

List design systems

apply_design_system

Apply a design system to screens

How it works

MCP Client (Claude, Cursor, etc.)
    |
    | stdio (stdin/stdout)
    |
stitch-mcp-stdio (this package)
    |
    | HTTPS (API key auth)
    |
stitch.googleapis.com/mcp

No proxy subprocess. No libuv handle management. Just stdio in, API calls out.

Built by

Blue Devil Collectibles -- makers of LiveSeller Pro, inventory and live selling tools for comic shops, card shops, and collectibles dealers.

We built this MCP server to power our AI design pipeline. If you sell on WhatNot, manage pull lists, or run a brick-and-mortar shop, check out what we're building.

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    An automated MCP server for Google Stitch that enables AI-driven UI design generation, accessibility audits, and design system management. It streamlines workflows for creating responsive screens, extracting design tokens, and maintaining visual consistency across professional web projects.
    58 npm
    31
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A universal MCP server for Google Stitch that enables AI-powered UI/UX design generation by extracting design context and metadata from existing screens. It allows users to fetch screen code and images to create consistent, styled UI components across multiple projects.
    391 npm
    123
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that exposes Google Stitch's AI-powered UI design capabilities as local tools. It enables project management, screen generation/editing, and design system operations by forwarding requests to Google's Stitch API.
    2
    -
  • A
    license
    A
    quality
    D
    maintenance
    An intelligent MCP server for Google Stitch that generates production-ready UI from text prompts, with auto-orchestration of design systems, WCAG accessibility, responsive breakpoints, and framework conversion (React, Vue, Svelte).
    17
    6 npm
    8
    MIT