You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/mcp/prompts/core/init.ts
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -53,11 +53,11 @@ Follow the steps below taking note of any user instructions provided above.
53
53
2. Firebase AI Logic: Add AI features such as chat experiences, multimodal prompts, image generation and editing (via nano banana), etc.
54
54
- UNAVAILABLE SERVICES: Analytics, Remote Config (feature flagging), A/B testing, Crashlytics (crash reporting), and Cloud Messaging (push notifications) are not yet available for setup via this command.
55
55
2.2 Start by listing out the existing init options that are available to the user. Ask the user which set of services they would like to add to their app. Always enumerate them and list the options out explicitly for the user.
56
-
1. Backend Services: Backend services for the user such as user authentication, database, or cloud file hosting.
57
-
- IMPORTANT: The backend setup guide is for web apps only. If the user requests backend setup for a mobile app (iOS, Android, or Flutter), inform them that this is not supported and do not use the backend setup guide. You can still assist with other requests.
56
+
1. Backend Services: Backend services for the user such as user authentication, database, or hosting.
57
+
- IMPORTANT: The backend setup guide is for web apps only. If the user requests backend setup for a mobile app (iOS, Android, or Flutter), inform them that this is not supported and do not use the backend setup guide. You can still assist with other requests.
58
58
2. Firebase AI Logic: Add AI features such as chat experiences, multimodal prompts, image generation and editing (via nano banana), etc.
59
59
- IMPORTANT: The Firebase AI Logic setup guide is for web, flutter, and android apps only. If the user requests firebase setup for unsupported platforms (iOS, Unity, or anything else), inform them that this is not supported and direct the user to Firebase Docs to learn how to set up AI Logic for their application (share this link with the user https://firebase.google.com/docs/ai-logic/get-started?api=dev). You can still assist with other requests.
60
-
3. After the user chooses an init option, create a plan based on the remaining steps in this guide, share it with the user, and give them an opportunity to accept or adjust it.
60
+
3. After the user chooses an init option, create a plan based on the remaining steps in this guide, share it with the user, and give them an opportunity to accept or adjust it.
61
61
4. If there is no active Firebase project, ask the user if they would like to create a project, or use an existing one, and ask them for the project ID
62
62
- If they would like to create a project, use the firebase_create_project with the project ID
63
63
- If they would like to use an existing project, use the firebase_update_environment tool with the active_project argument.
@@ -67,11 +67,11 @@ Follow the steps below taking note of any user instructions provided above.
67
67
- Run the \`firebase_list_apps\` tool to list their apps, and find an app that matches their "Workspace platform"
68
68
- If there is no app that matches that criteria, use the \`firebase_create_app\` tool to create the app with the appropriate platform
69
69
- Do the following only for Flutter apps
70
-
- Install the Flutterfire CLI
71
-
- Use the Flutterfire CLI tool to connect to the project
70
+
- Install the Flutterfire CLI
71
+
- Use the Flutterfire CLI tool to connect to the project
72
72
- Use the Flutterfire CLI to register the appropriate applications based on the user's input
73
73
- Let the developer know that you currently only support configuring web, ios, and android targets together in a bundle. Each of those targets will have appropriate apps registered in the project using the flutterfire CLI
74
-
- Execute flutterfire config using the following pattern: flutterfire config --yes --project=<aliasOrProjectId> --platforms=<platforms>
74
+
- Execute flutterfire config using the following pattern: flutterfire config --yes --project=<aliasOrProjectId> --platforms=<platforms>
75
75
6. Now that we have a working environment, print out 1) Active user 2) Firebase Project and 3) Firebase App & platform they are using for this process.
76
76
- Ask the user to confirm this is correct before continuing
77
77
7. Set up the web Firebase SDK. Skip straight to #8 for Flutter and Android apps
0 commit comments