Stitch setup

From eltmon/overdeck · View interactive version

Stitch setup is an AI agent skill from the GitHub repository eltmon/overdeck. Set up Google Stitch MCP server for AI-powered UI design generation

How to use this skill

Skill file

Stitch MCP Server Setup

This skill helps you set up the Google Stitch MCP server, which enables AI agents to generate UI designs.

What is Stitch?

Google Stitch is a free AI-powered UI design tool that generates production-ready HTML/CSS from natural language descriptions. The Stitch MCP server connects Claude Code and other AI agents to the Stitch API.

Prerequisites

Quick Setup

Run the initialization command:

npx @_davideast/stitch-mcp init

This automates the entire setup process:

  1. Installs Google Cloud CLI if needed
  2. Guides you through Google authentication
  3. Sets up application credentials
  4. Lets you select a GCP project
  5. Configures required IAM permissions
  6. Enables the Stitch API
  7. Generates MCP configuration

Manual Configuration

After running init, add the Stitch MCP server to your Claude Code settings:

For Claude Code (~/.claude/settings.json):

{
  "mcpServers": {
    "stitch": {
      "command": "npx",
      "args": ["@_davideast/stitch-mcp", "proxy"],
      "env": {
        "STITCH_PROJECT_ID": "your-project-id"
      }
    }
  }
}

Verify Setup

Run the doctor command to verify your setup:

npx @_davideast/stitch-mcp doctor

Using Stitch

Once configured, you can use Stitch in Claude Code with commands like:

Related Skills

Troubleshooting

Authentication Issues

If you already have gcloud configured, set the environment variable:

export STITCH_USE_SYSTEM_GCLOUD=1

Environment Detection

The MCP server automatically detects WSL, SSH, Docker, and Cloud Shell environments.

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.