diff --git a/src/mcp/prompts/core/deploy.ts b/src/mcp/prompts/core/deploy.ts index 1ea151b3d3a..ea909fa0ae6 100644 --- a/src/mcp/prompts/core/deploy.ts +++ b/src/mcp/prompts/core/deploy.ts @@ -83,7 +83,7 @@ Follow the steps below taking note of any user instructions provided above. Create \`firebase.json\ with an "apphosting" configuration, setting backendId to the app's name in package.json: \`{"apphosting": {"backendId": ""}}\ 4b. If the app does NOT require SSR, configure Firebase Hosting: Create \`firebase.json\ with a "hosting" configuration. Add a \`{"hosting": {"predeploy": ""}}\` config to build before deploying. -5. Check if there is an active Firebase project for this environment (the \`firebase_get_environment\` tool may be helpful). If there is, proceed using that project. If there is not an active project, give the user two options: Use an existing Firebase project or Create a new one. Wait for their response before proceeding. +5. Check if there is an active Firebase project for this environment (the \`firebase_get_environment\` tool may be helpful). If there is, provide the active project ID to the user and ask them if they want to proceed using that project. If there is not an active project, give the user two options: Provide an existing project ID or create a new project. Only use the list_projects tool on user request. Wait for their response before proceeding. 5a. If the user chooses to use an existing Firebase project, the \`firebase_list_projects\` tool may be helpful. Set the selected project as the active project (the \`firebase_update_environment\` tool may be helpful). 5b. If the user chooses to create a new project, use the \`firebase_create_project \` tool. Then set the new project as the active project (the \`firebase_update_environment\` tool may be helpful). 6. If firebase.json contains an "apphosting" configuration, check if a backend exists matching the provided backendId (the \`apphosting_list_backends\` tool may be helpful).