OpenClaw ยท Skill

N2 Stitch MCP

Never lose a screen generation again. The only Stitch MCP proxy with TCP drop recovery .

AI & LLMs
v1.0.0
VirusTotal: Suspicious

Install

Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.

Primary command

clawhub install choihyunsus/n2-stitch-mcp

ClawHub installer

npx clawhub@latest install choihyunsus/n2-stitch-mcp

OpenClaw CLI

openclaw skills install choihyunsus/n2-stitch-mcp

Direct OpenClaw install

openclaw install choihyunsus/n2-stitch-mcp

What this skill does

Never lose a screen generation again. The only Stitch MCP proxy with TCP drop recovery .

Why it matters

Unlike other Stitch MCP servers that fail silently when TCP drops during generation, this proxy polls for completion and returns the result regardless of connection interruptions.

Typical use cases

  • Generating UI screens from text without losing long-running Stitch jobs
  • Checking screen generation progress during a 2-10 minute Stitch call
  • Managing Stitch projects and screens through Claude
  • Editing existing Stitch screens and generating design variants
  • Running Stitch API calls that would normally fail at the 60-second TCP limit

Source instructions

๐Ÿ›ก๏ธ N2 Stitch MCP โ€” Resilient Proxy Skill

Never lose a screen generation again. The only Stitch MCP proxy with TCP drop recovery.

The Problem

Google Stitch's generate_screen_from_text takes 2โ€“10 minutes, but the API drops TCP after ~60 seconds.

Other MCP servers:  Request โ†’ 60s โ†’ TCP drop โ†’ โŒ LOST!
N2 Stitch MCP:      Request โ†’ 60s โ†’ TCP drop โ†’ ๐Ÿ›ก๏ธ Auto-recovery โ†’ โœ… Delivered!

Why This One?

FeatureOthersN2 Stitch MCP
TCP Drop RecoveryโŒโœ… Auto-polling
Generation TrackingโŒโœ… generation_status
Exponential BackoffโŒโœ… 3x retry + jitter
Auto Token Refreshโš ๏ธโœ… Background refresh
Test SuiteโŒโœ… 35 tests

Quick Setup

1. Authenticate (one-time)

# Option A: gcloud (recommended)
gcloud auth application-default login

# Option B: API Key
export STITCH_API_KEY="your-key"

2. Add to MCP Config

{
  "mcpServers": {
    "n2-stitch": {
      "command": "npx",
      "args": ["-y", "n2-stitch-mcp"]
    }
  }
}

Available Tools

Stitch API (auto-discovered)

  • create_project โ€” Create a Stitch project
  • list_projects โ€” List all projects
  • get_project โ€” Get project details
  • list_screens โ€” List screens in a project
  • get_screen โ€” Get screen HTML/CSS
  • generate_screen_from_text โ€” โœจ Generate UI from text (Resilient!)
  • edit_screens โ€” Edit existing screens
  • generate_variants โ€” Generate design variants

Virtual Tools (N2 Exclusive)

  • generation_status โ€” Check generation progress in real-time
  • list_generations โ€” List all tracked generations

Links


Part of the N2 AI Body series โ€” Building the Body for AI

Related OpenClaw skills

Browse all โ†’
Featured slot

Your product here

Reserve this slot to reach operators and coding-agent buyers.

Shown where builders are actively comparing tools and deployment options.

Advertise