diff --git a/kiro/POWER.md b/kiro/POWER.md index 44332ce..cd32ad5 100644 --- a/kiro/POWER.md +++ b/kiro/POWER.md @@ -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 diff --git a/skills/firebase-auth-basics/SKILL.md b/skills/firebase-auth-basics/SKILL.md index 6a73957..bac12ad 100644 --- a/skills/firebase-auth-basics/SKILL.md +++ b/skills/firebase-auth-basics/SKILL.md @@ -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 diff --git a/skills/firebase-firestore-enterprise-native-mode/SKILL.md b/skills/firebase-firestore-enterprise-native-mode/SKILL.md index 19410f4..1eeb40f 100644 --- a/skills/firebase-firestore-enterprise-native-mode/SKILL.md +++ b/skills/firebase-firestore-enterprise-native-mode/SKILL.md @@ -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 diff --git a/skills/firebase-firestore-enterprise-native-mode/references/provisioning.md b/skills/firebase-firestore-enterprise-native-mode/references/provisioning.md index 0152335..02a97e3 100644 --- a/skills/firebase-firestore-enterprise-native-mode/references/provisioning.md +++ b/skills/firebase-firestore-enterprise-native-mode/references/provisioning.md @@ -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. @@ -34,8 +34,6 @@ 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. - 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: ```json diff --git a/skills/firebase-firestore-standard/SKILL.md b/skills/firebase-firestore-standard/SKILL.md index 55742d3..0eb6c2e 100644 --- a/skills/firebase-firestore-standard/SKILL.md +++ b/skills/firebase-firestore-standard/SKILL.md @@ -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