This skill allows you to design high-quality user interfaces using Google Stitch.
Follow this process to help the user design a UI:
stitch server is configured in mcporter.mcporter config add stitch --command "npx" --args "-y stitch-mcp-auto"gcloud auth).stitch.generate_screen_from_text with the prompt.screenId.stitch.fetch_screen_image(screenId).stitch.generate_screen_from_text again (potentially using stitch.extract_design_context from the previous screen to maintain style) or just refine the prompt.stitch.fetch_screen_code(screenId).Call these using mcporter call stitch.:
prompt (string), projectId (optional, usually auto-detected by stitch-mcp-auto)screenId, name, urlscreenId (string)screenId (string)html (string), css (string), etc.name (string)stitch-mcp-auto tries to manage the project ID automatically. If you get errors about missing project IDs, ask the user to create or select a Google Cloud project first using create_project or by setting the GOOGLE_CLOUD_PROJECT env var.stitch-mcp-auto because it handles the complex Google auth setup more gracefully than the standard package.共 1 个版本