Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/mcp/resources/guides/init_backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const init_backend = resource(
1. Determine based on what you already know about the user's project or by asking them which of the following services is appropriate.
2. Use the Firebase \`read_resources\` tool to load the guide to setup the product you choose.

The user will likely need to setup Firestore, Authentication, and Hosting. Read the following guides in order. Do not run the app until you have completed all 3 guides.
The user will likely need to setup Firestore, Authentication, and Hosting. Read the following guides in order:
1. [Firestore](firebase://guides/init/firestore): read this to setup Firestore database
2. [Authentication](firebase://guides/init/auth): read this to setup Firebase Authentication to support multi-user apps
3. [Firestore Rules](firebase://guides/init/firestore_rules): read this to setup the \`firestore.rules\` file for securing your database
Expand Down
6 changes: 5 additions & 1 deletion src/mcp/resources/guides/init_firestore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@
**Verification & Testing:**
- Only proceed with verification after successfully running \`firebase deploy --only firestore\`
- Guide the user to visit \`https://console.firebase.google.com/u/0/project/{PROJECT_ID}/firestore\` where \`{PROJECT_ID}\` is the project they're currently using (or use \`_\` if project id is unknown).
- Have developers test their application functionality and verify test data appears in the console
- Have developers test their application functionality and verify test data appears in the console. Using the shell, run a local version of their app for them so they can test it. To figure out how to run their app, investigate their environment.
- For web apps you can check their \`package.json\` for a "start" or "dev" script
- For Flutter apps, they can use \`flutter run\`
- For Android apps, ask the user to run the app from Android Studio
- For iOS / Apple apps, you can check their Package.swift, or read their Xcode project for the right target and use xcrun
- Only proceed to the next step after confirming successful database setup and data visibility

**Security Configuration:**
Expand Down Expand Up @@ -69,7 +73,7 @@
},
);

function getTomorrowDate() {

Check warning on line 76 in src/mcp/resources/guides/init_firestore.ts

View workflow job for this annotation

GitHub Actions / lint (20)

Missing return type on function
const tomorrow = new Date();
tomorrow.setDate(tomorrow.getDate() + 1);
// Month is 0-indexed, so add 1
Expand Down
Loading