stitch-mcp-delete-project
Stitch MCP — Delete Project
Permanently deletes a Stitch project and all its screens, designs, and history. This action is irreversible.
Critical prerequisite
Only use this skill when the user explicitly mentions "Stitch".
This is a destructive action. You MUST ask the user to confirm before calling delete_project. Never auto-delete.
When to use
- User explicitly asks to delete a Stitch project
- Cleaning up test/scratch projects after confirming with the user
- The orchestrator offers project cleanup and the user accepts
Step 1: Confirm the project
Show the user what they're about to delete:
- Call
stitch-mcp-get-projectwithprojects/[ID]to get the project title and screen count - Present: "You're about to permanently delete [title] ([N] screens). This cannot be undone. Proceed?"
- Only continue if the user explicitly confirms
Step 2: Call the MCP tool
{
"name": "delete_project",
"arguments": {
"name": "projects/3780309359108792857"
}
}
name — full path with projects/ prefix
✅ "projects/3780309359108792857"
❌ "3780309359108792857"
This follows the same format as get_project — both use projects/ID.
After deleting
- Confirm: "Project [title] has been deleted."
- Offer: "Want to see your remaining projects?" →
stitch-mcp-list-projects - Do NOT attempt to access the deleted project's screens or data
Anti-patterns
- Never delete without explicit user confirmation — even if the orchestrator suggests cleanup
- Never delete multiple projects in a batch without confirming each one
- Never use numeric ID —
delete_projectrequires the fullprojects/IDpath
More from gabelul/stitch-kit
stitch-mcp-get-screen
Retrieves full details of a specific Stitch screen — HTML download URL, screenshot URL, dimensions. This is the final step in design retrieval before code conversion.
35stitch-setup
Step-by-step installer for the stitch-kit plugin and Stitch MCP server. Use this when setting up the plugin for the first time, diagnosing connection issues, or helping a new user get Stitch running in Claude Code or Codex CLI.
33stitch-react-components
Converts Stitch designs into modular Vite + React components — TypeScript, theme-mapped Tailwind, dark mode via CSS variables, and clean component architecture. Use this for Vite/React apps without App Router. For Next.js 15 App Router, use stitch-nextjs-components instead.
24stitch-ui-prompt-architect
Builds Stitch-ready prompts via two paths — Path A enhances vague ideas into polished prompts, Path B merges a Design Spec JSON + user request into a structured [Context] [Layout] [Components] prompt.
23stitch-ideate
Conversational design ideation agent that researches trends, explores visual directions, and refines ideas through adaptive questioning — then produces a rich PRD document and auto-generates Stitch screens. Your design buddy that thinks deeply before designing.
23stitch-react-native-components
Converts Stitch mobile designs into React Native / Expo components — TypeScript, StyleSheet, Expo Router, dark mode via useColorScheme, and proper touch targets. Cross-platform iOS and Android.
22