Stitch MCP — List Projects
Lists Stitch projects available to the user. Use this when you need to find an existing projectId rather than creating a new project.
Critical prerequisite
Only use this skill when the user explicitly mentions "Stitch".
When to use
- User says "continue working on my Stitch project" without providing an ID
- User says "list my Stitch projects" or "what projects do I have?"
- You need to find an existing projectId before calling
generate_screen_from_text - Checking whether a project already exists before creating a new one
Call the MCP tool
To list owned projects (default):
{
"name": "list_projects",
"arguments": {
"filter": "view=owned"
}
}
To list projects shared with the user:
{
"name": "list_projects",
"arguments": {
"filter": "view=shared"
}
}
To list all accessible projects (owned + shared):
{
"name": "list_projects",
"arguments": {}
}
Output schema
{
"projects": [
{
"name": "projects/3780309359108792857",
"title": "Analytics Dashboard",
"updateTime": "2024-11-15T10:30:00Z"
}
]
}
After listing
- Present the project list to the user with titles and last-updated timestamps
- Ask which project to work in (if multiple)
- Extract the numeric ID from the chosen
namefield:projects/ID→ID - Store both the full name and numeric ID for subsequent calls
ID format reminder
list_screens,get_project→ useprojects/NUMERIC_IDgenerate_screen_from_text,get_screen→ useNUMERIC_IDonly