본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

n2-stitch-mcp

choihyunsus 제작

AI & LLMs
559clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Resilient MCP proxy for Google Stitch — 3-layer safety (auto-retry, token refresh, TCP drop recovery).

설명

이 스킬이 하는 일

Google Stitch's screen generation calls take 2-10 minutes, but the API drops TCP connections after ~60 seconds, causing most MCP proxies to silently lose the result. N2 Stitch MCP recovers by switching to auto-polling after a drop, tracks each generation's state, and delivers results when complete. Token refresh runs in the background and failed requests retry with exponential backoff.

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.

사용 시점

  • 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

예시 워크플로

입력

User asks: Generate a dashboard screen with a sidebar navigation and data charts

에이전트
  1. 1

    Calls generate_screen_from_text with the description

  2. 2

    TCP connection drops after ~60 seconds as expected

  3. 3

    Switches to polling via generation_status tool

  4. 4

    Detects generation completion and fetches the result

  5. 5

    Returns the generated HTML/CSS to the user

출력

Full HTML/CSS for the dashboard screen delivered despite the TCP drop

요구 사항

  • Google Cloud account with Stitch API access (via gcloud auth application-default login), or a Stitch API key set as the STITCH_API_KEY environment variable

설치

clawhub install choihyunsus/n2-stitch-mcp

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크