stitch
Installation
SKILL.md
Stitch
scripts/run.sh is a runner over the official @google/stitch-sdk (pinned to 0.4.0). scripts/run.sh --help lists the commands and scripts/run.sh <command> --help its flags. references/mcp-sdk.md holds the shared options, enums, SDK object model, 0.3.x to 0.4.0 differences and error codes.
Configure
Every setting resolves as CLI flag, then environment variable, then config file, then default.
- Config file:
--config, elseSTITCH_SKILL_CONFIG, else.stitch.jsonorstitch.jsonin the working directory. Schema, saving and runtime fields: references/config.md. - Auth:
STITCH_API_KEY, or OAuth withSTITCH_ACCESS_TOKENandGOOGLE_CLOUD_PROJECTtogether.STITCH_BASE_URL(aliasSTITCH_HOST) overrides the endpoint. - Done when
scripts/run.sh list-projects --jsonsucceeds (show-configonly proves a credential is set). - The first SDK command installs the SDK into a per-version folder under
~/.cache/itamaker-skills/stitch-sdk;install-sdkdoes it up front. If the network is blocked, tell the user or request approval.--sdk-package @google/stitch-sdk@0.3.5runs the previous release from its own folder and leaves other versions alone.
Choose a path
- The runner covers operations: projects, screens, generate, edit, variants, design systems, downloads, raw tool calls (
list-tools,call-tool). - Handwritten SDK code covers a deliverable that is code, in a project with a Node or Bun runtime: a committed script, an app integration,
stitchTools()for the Vercel AI SDK,stitchAdkTools()for Google ADK, orStitchProxyas your own MCP server. Snippets: references/mcp-sdk.md.