|
| 1 | +--- |
| 2 | +name: "firebase" |
| 3 | +displayName: "Build with Firebase" |
| 4 | +description: "Build full-stack applications with Firebase's suite of backend services including Authentication, Firestore, App Hosting, Cloud Functions, Storage, Crashlytics, and Cloud Messaging" |
| 5 | +keywords: ["firebase", "firestore", "auth", "authentication", "database", "realtime", "cloud functions", "storage", "hosting", "backend", "cloud messaging", "fcm", "nosql", "serverless", "baas", "crashlytics"] |
| 6 | +mcpServers: ["firebase"] |
| 7 | +--- |
| 8 | + |
| 9 | +# Onboarding |
| 10 | + |
| 11 | +## Validate Firebase CLI Installation |
| 12 | + |
| 13 | +Before using the Firebase MCP server, ensure Node.js and the Firebase CLI are installed and you're authenticated: |
| 14 | + |
| 15 | +- **Node.js**: Required to run the Firebase CLI |
| 16 | + - Check installation: `node --version` |
| 17 | + - Install if needed: Download from [nodejs.org](https://nodejs.org/) (LTS version recommended) |
| 18 | + |
| 19 | +- **Firebase CLI**: Required for managing Firebase projects and services |
| 20 | + - Check installation: `firebase --version` |
| 21 | + - Install if needed: `npm install -g firebase-tools` |
| 22 | + - **CRITICAL**: If the Firebase CLI is not installed, DO NOT proceed with Firebase setup. |
| 23 | + |
| 24 | +- **Authentication**: Sign in to Firebase |
| 25 | + - Check current user: `firebase login:list` |
| 26 | + - If not signed in, run: `firebase login` (this will open a browser for Google Account authentication) |
| 27 | + |
| 28 | +- **Check Projects**: Verify project access and connectivity |
| 29 | + - Run `firebase projects:list` to check for available Firebase projects |
| 30 | + - 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` |
| 31 | + |
| 32 | +- **Verify MCP Connection**: Ensure the MCP server is connected after authentication |
| 33 | + - Use the `firebase_get_environment` tool to check connection status |
| 34 | + - Verify it returns the correct current user and project information |
| 35 | + - **If connection fails**: The MCP server may need manual setup or restart: |
| 36 | + 1. Open Kiro settings and navigate to "MCP Servers" |
| 37 | + 2. Find the Firebase MCP server in the list |
| 38 | + 3. Click the "Retry" or "Reconnect" button |
| 39 | + 4. Wait for the server status to show as "Connected" |
| 40 | + 5. Test the connection again with `firebase_get_environment` |
| 41 | + |
| 42 | + |
| 43 | +## Usage and Features |
| 44 | + |
| 45 | +Once configured, the MCP server will automatically provide Firebase capabilities to your AI assistant. You can: |
| 46 | + |
| 47 | +- Ask the AI to help set up Firebase services |
| 48 | +- Query your Firestore database |
| 49 | +- Manage authentication users |
| 50 | +- Deploy to Firebase Hosting |
| 51 | +- And much more! |
| 52 | + |
| 53 | +## Firebase Services Overview |
| 54 | + |
| 55 | +### Core Services Available via MCP |
| 56 | +- **Authentication**: User management, sign-in methods, custom claims |
| 57 | +- **Firestore**: NoSQL document database with real-time sync |
| 58 | +- **App Hosting**: Full-stack app deployment with SSR |
| 59 | +- **Storage**: File storage and serving |
| 60 | +- **Cloud Functions**: Serverless backend code |
| 61 | +- **Hosting**: Web app deployment to global CDN |
| 62 | +- **Cloud Messaging**: Push notifications |
| 63 | +- **Remote Config**: Dynamic app configuration |
| 64 | +- **Crashlytics**: Crash reporting and analysis |
| 65 | + |
| 66 | + |
| 67 | +### Using Firebase MCP Tools |
| 68 | +The Firebase MCP server provides tools for: |
| 69 | +- Managing Firebase projects and apps |
| 70 | +- Initializing and deploying services |
| 71 | +- Querying and manipulating Firestore data |
| 72 | +- Managing Authentication users |
| 73 | +- Validating Security Rules |
| 74 | +- Sending Cloud Messaging notifications |
| 75 | +- Viewing Cloud Functions logs |
| 76 | +- And more... |
| 77 | + |
| 78 | + |
| 79 | +## Additional Resources |
| 80 | +- Firebase Documentation: https://firebase.google.com/docs |
| 81 | +- Firebase YouTube Channel: https://www.youtube.com/firebase |
| 82 | +- Firebase MCP Server: https://firebase.google.com/docs/ai-assistance/mcp-server |
0 commit comments