Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
11 changes: 5 additions & 6 deletions kiro/POWER.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,16 @@ Before using the Firebase MCP server, ensure Node.js and the Firebase CLI are in
- Install if needed: Download from [nodejs.org](https://nodejs.org/) (LTS version recommended)

- **Firebase CLI**: Required for managing Firebase projects and services
- Check installation: `firebase --version`
- Install if needed: `npm install -g firebase-tools`
- Check installation: `npx -y firebase-tools@latest --version`
- **CRITICAL**: If the Firebase CLI is not installed, DO NOT proceed with Firebase setup.

- **Authentication**: Sign in to Firebase
- Check current user: `firebase login:list`
- If not signed in, run: `firebase login` (this will open a browser for Google Account authentication)
- Check current user: `npx -y firebase-tools@latest login:list`
- If not signed in, run: `npx -y firebase-tools@latest login` (this will open a browser for Google Account authentication)

- **Check Projects**: Verify project access and connectivity
- Run `firebase projects:list` to check for available Firebase projects
- Use this to verify that the CLI is correctly authenticated and can reach the Firebase API; if this fails, try to reconnect using `firebase login`
- Run `npx -y firebase-tools@latest projects:list` to check for available Firebase projects
- Use this to verify that the CLI is correctly authenticated and can reach the Firebase API; if this fails, try to reconnect using `npx -y firebase-tools@latest login`

- **Verify MCP Connection**: Ensure the MCP server is connected after authentication
- Use the `firebase_get_environment` tool to check connection status
Expand Down
2 changes: 1 addition & 1 deletion skills/firebase-auth-basics/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: firebase-auth-basics
description: Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.
compatibility: This skill is best used with the Firebase CLI, but does not require it. Install it by running `npm install -g firebase-tools`.
compatibility: This skill is best used with the Firebase CLI, but does not require it. Firebase CLI can be accessed through `npx -y firebase-tools@latest`.
---

## Prerequisites
Expand Down
2 changes: 1 addition & 1 deletion skills/firebase-firestore-enterprise-native-mode/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: firebase-firestore-enterprise-native-mode
description: Comprehensive guide for Firestore enterprise native including provisioning, data model, security rules, and SDK usage. Use this skill when the user needs help setting up Firestore Enterprise with the Native mode, writing security rules, or using the Firestore SDK in their application.
compatibility: This skill is best used with the Firebase CLI, but does not require it. Install it by running `npm install -g firebase-tools`.
compatibility: This skill is best used with the Firebase CLI, but does not require it. Firebase CLI can be accessed through `npx -y firebase-tools@latest`.
---

# Firestore Enterprise Native Mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Manual Initialization

Initialize the following firebase configuration files manually. Do not use `firebase init`, as it expects interactive inputs.
Initialize the following firebase configuration files manually. Do not use `npx -y firebase-tools@latest init`, as it expects interactive inputs.

1. **Create a Firestore Enterprise Database**: Create a Firestore Enterprise database using the Firebase CLI.
2. **Create `firebase.json`**: This file contains database configuration for the Firebase CLI.
Expand Down Expand Up @@ -34,7 +34,7 @@ firebase firestore:databases:create my-database-id \

### 2. Create `firebase.json`

Run `firebase init firestore` to create `firebase.json` with firestore configuration you defined in step 1.
Run `npx -y firebase-tools@latest init firestore` to create `firebase.json` with firestore configuration you defined in step 1.

Create a file named `firebase.json` in your project root with the following content. If this file already exists, instead append to the existing JSON:

Expand Down
2 changes: 1 addition & 1 deletion skills/firebase-firestore-standard/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: firebase-firestore-standard
description: Comprehensive guide for Firestore Standard Edition, including provisioning, security rules, and SDK usage. Use this skill when the user needs help setting up Firestore, writing security rules, or using the Firestore SDK in their application.
compatibility: This skill is best used with the Firebase CLI, but does not require it. Install it by running `npm install -g firebase-tools`.
compatibility: This skill is best used with the Firebase CLI, but does not require it. Firebase CLI can be accessed through `npx -y firebase-tools@latest`.
---

# Firestore Standard Edition
Expand Down
Loading