Skip to main content
skill CX Codex

stitch-mcp-cli — Claude Code skill: what it does, how to install

stitch-mcp-cli brings Google Stitch UI designs into local dev workflows. Runs dev server previews, builds Astro sites, and feeds screens to coding agents via MCP.

no license 205 installs ★ 9 updated 2026-10-09

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/mcp-skills --skill stitch-mcp-cli -a claude-code
Open on GitHub

What stitch-mcp-cli does

This skill connects Google Stitch interface designs with local codebases. Powered by the @_davideast/stitch-mcp CLI, it pulls HTML and CSS directly from project endpoints. Developers can inspect screen layouts in the terminal, spin up a local Vite server at http://localhost:5173, or scaffold a route-mapped Astro application.

For agent workflows, the package runs an MCP proxy with automated token refreshes. Agents receive high-level actions such as build_site, get_screen_code, and get_screen_image. Access requires valid credentials: you can complete the OAuth setup wizard with init, pass an existing STITCH_API_KEY, or plug in a system gcloud CLI. Without an active Google Cloud setup or API key, all screen requests will fail.

What it helps with

  • spin up a local Vite preview server for Google Stitch screens
  • generate a deployable Astro site by mapping screen IDs to routes
  • provide screen HTML and screenshots to coding agents via an MCP proxy
  • inspect Stitch project screens and metadata in the terminal

Example prompts for the agent

  • Build an Astro site from Stitch project 123456 and map screen abc123 to the index route
  • Start a local preview server for Stitch project 123456 on port 5173
  • Retrieve the HTML code for screen abc123 from Stitch project 123456 using get_screen_code

How to install stitch-mcp-cli

1Skills CLI (Vercel)

npx skills add reason-machines/mcp-skills --skill stitch-mcp-cli -a claude-code

2Manually: put the files in place

~/.claude/skills/stitch-mcp-cli/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/stitch-mcp-cli/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about stitch-mcp-cli

How do I install stitch-mcp-cli in Claude Code?

Run npx skills add reason-machines/mcp-skills --skill stitch-mcp-cli -a claude-code in your terminal. This saves the skill configuration under ~/.claude/skills/stitch-mcp-cli/SKILL.md.

What does stitch-mcp-cli do?

It bridges Google Stitch design output with local code. It exports HTML/CSS, generates Astro sites, runs local preview servers, and provides MCP tools for coding agents.

How do you authenticate stitch-mcp-cli with Stitch?

Run npx @_davideast/stitch-mcp init to start the interactive OAuth wizard. You can also provide a STITCH_API_KEY environment variable or rely on an existing system gcloud configuration.

Similar skills

All skills for Frontend and UI →

From the same set98

The whole set →
idea-reality-mcp-validation The idea-reality-mcp-validation skill checks an idea for similar projects through an MCP tool, then returns competitors and trend signals. Use it before you start building. CX Codex +1 207installs homeassistant-mcp-server homeassistant-mcp-server connects AI coding assistants to Home Assistant via MCP. Lets you monitor sensors, adjust climate, and manage smart appliances from the workspace. CX Codex +1 207installs kagi-session2api-mcp-server The kagi-session2api-mcp-server skill guides setup of a Kagi MCP server for web searches and URL summaries. Use it when you want an agent to find online sources or condense an article. CX Codex +1 207installs datagouv-mcp-server The datagouv-mcp-server skill lets an agent search and inspect French open-data datasets through the data.gouv.fr MCP server. Use it for dataset, organization, and resource questions. CX Codex +1 206installs universal-db-mcp-connector The universal-db-mcp-connector skill stands up an MCP server against your database, so the assistant writes and runs queries itself. It covers 17 database types, among them MySQL, PostgreSQL and MongoDB. CX Codex +1 203installs pi-mcp-adapter pi-mcp-adapter is a skill for the Pi agent that connects MCP servers through one proxy tool instead of loading hundreds of definitions into context. Servers connect on demand. CX Codex +1 202installs cheatengine-mcp-bridge cheatengine-mcp-bridge connects an AI agent to Cheat Engine over MCP for memory reads, pointer scans, code analysis, and debugging. Useful for automating reverse-engineering tasks. CX Codex +1 201installs matlab-mcp-core-server The matlab-mcp-core-server skill gives your coding assistant a MATLAB connection through MathWorks' MCP server: run scripts, check .m files statically, list toolboxes, attach to an open session. CX Codex +1 201installs

Project sponsors

Companies that keep this analytics open