
Firebase
OfficialConnects AI assistants to Firebase services for database operations, file storage, and user authentication management. Works with Claude Desktop, VS Code, and other MCP clients.
Give AI-powered development tools the ability to work with your Firebase projects
What it does
- Query and modify Firestore documents
- Upload and manage files in Firebase Storage
- Create and authenticate Firebase users
- List Firestore collections and subcollections
- Download files from Firebase Storage
- Manage user verification and passwords
Best for
About Firebase
Firebase is an official MCP server published by firebase that provides AI assistants with tools and capabilities via the Model Context Protocol. Enhance your Firebase projects with AI-powered development tools from Firebase Inc. for smarter, faster app solutions. It is categorized under cloud infrastructure, developer tools.
How to install
You can install Firebase in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
License
Firebase is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Firebase CLI and MCP Server [![Actions Status][gh-actions-badge]][gh-actions] [![Node Version][node-badge]][npm] [![NPM version][npm-badge]][npm] 
The Firebase Command Line Interface (CLI) Tools can be used to test, manage, and deploy your Firebase project from the command line. This repository is also the home of the official Firebase MCP Server. For more information, please see the Firebase MCP Server documentation.
- Deploy code and assets to your Firebase projects
- Run a local web server for your Firebase Hosting site
- Interact with data in your Firebase database
- Import/Export users into/from Firebase Auth
To get started with the Firebase CLI, read the full list of commands below or check out the documentation.
Installation
Node Package
You can install the Firebase CLI using npm (the Node Package Manager). Note that you will need to install Node.js and npm. Installing Node.js should install npm as well.
To download and install the Firebase CLI run the following command:
npm install -g firebase-tools
This will provide you with the globally accessible firebase command.
Standalone Binary
The standalone binary distribution of the Firebase CLI allows you to download a firebase executable
without any dependencies.
To download and install the CLI run the following command:
curl -sL firebase.tools | bash
Commands
The command firebase --help lists the available commands and firebase <command> --help shows more details for an individual command.
If a command is project-specific, you must either be inside a project directory with an
active project alias or specify the Firebase project id with the -P <project_id> flag.
Below is a brief list of the available commands and their function:
Configuration Commands
| Command | Description |
|---|---|
| login | Authenticate to your Firebase account. Requires access to a web browser. |
| logout | Sign out of the Firebase CLI. |
| login:ci | Generate an authentication token for use in non-interactive environments. |
| login:add | Authorize the CLI for an additional account. |
| login:list | List authorized CLI accounts. |
| login:use | Set the default account to use for this project |
| use | Set active Firebase project, manage project aliases. |
| open | Quickly open a browser to relevant project resources. |
| init | Setup a new Firebase project in the current directory. This command will create a firebase.json configuration file in your current directory. |
| help | Display help information about the CLI or specific commands. |
Append --no-localhost to login (i.e., firebase login --no-localhost) to copy and paste code instead of starting a local server for authentication. A use case might be if you SSH into an instance somewhere and you need to authenticate to Firebase on that machine.
Project Management Commands
| Command | Description |
|---|---|
| apps:create | Create a new Firebase app in a project. |
| apps:list | List the registered apps of a Firebase project. |
| apps:sdkconfig | Print the configuration of a Firebase app. |
| projects:addfirebase | Add Firebase resources to a Google Cloud Platform project. |
| projects:create | Create a new Firebase project. |
| projects:list | Print a list of all of your Firebase projects. |
Deployment and Local Emulation
These commands let you deploy and interact with your Firebase services.
| Command | Description |
|---|---|
| emulators:exec | Start the local Firebase emulators, run a test script, then shut down the emulators. |
| emulators:start | Start the local Firebase emulators. |
| deploy | Deploys your Firebase project. Relies on firebase.json configuration and your local project folder. |
| serve | Start a local server with your Firebase Hosting configuration and HTTPS-triggered Cloud Functions. Relies on firebase.json. |
| setup:emulators:database | Downloads the database emulator. |
| setup:emulators:firestore | Downloads the firestore emulator. |
App Distribution Commands
| Command | Description |
|---|---|
| appdistribution:distribute | Upload a release binary and optionally distribute it to testers and run automated tests. |
| appdistribution:testers:list | List testers in project. |
| appdistribution:testers:add | Add testers to project (and group, if specified via flag). |
| appdistribution:testers:remove | Remove testers from a project (or group, if specified via flag). |
| appdistribution:groups:list | List groups (of testers). |
| appdistribution:groups:create | Create a group (of testers). |
| appdistribution:groups:delete | Delete a group (of testers). |
| appdistribution:testcases:export | Export test cases as a YAML file. |
| appdistribution:testcases:import | Import test cases from YAML file. |
Auth Commands
| Command | Description |
|---|---|
| auth:import | Batch importing accounts into Firebase from data file. |
| auth:export | Batch exporting accounts from Firebase into data file. |
Detailed doc is here.
Realtime Database Commands
| Command | Description |
|---|---|
| database:get | Fetch data from the current project's database and display it as JSON. Supports querying on indexed data. |
| database:set | Replace all data at a specified location in the current project's database. Takes input from file, STDIN, or command-line argument. |
| database:push | Push new data to a list at a specified location in the current project's database. Takes input from file, STDIN, or command-line argument. |
| database:remove | Delete all data at a specified location in the current project's database. |
| database:update | Perform a partial update at a specified location in the current project's database. Takes input from file, STDIN, or command-line argument. |
| database:profile | Profile database usage and generate a report. |
| database:instances:create | Create a realtime database instance. |
README truncated. View full README on GitHub.
Alternatives
Related Skills
Browse all skillsBuild comprehensive ML pipelines, experiment tracking, and model registries with MLflow, Kubeflow, and modern MLOps tools. Implements automated training, deployment, and monitoring across cloud platforms. Use PROACTIVELY for ML infrastructure, experiment management, or pipeline automation.
Expert Kubernetes architect specializing in cloud-native infrastructure, advanced GitOps workflows (ArgoCD/Flux), and enterprise container orchestration. Masters EKS/AKS/GKE, service mesh (Istio/Linkerd), progressive delivery, multi-tenancy, and platform engineering. Handles security, observability, cost optimization, and developer experience. Use PROACTIVELY for K8s architecture, GitOps implementation, or cloud-native platform design.
Execute use when deploying Genkit applications to production with Terraform. Trigger with phrases like "deploy genkit terraform", "provision genkit infrastructure", "firebase functions terraform", "cloud run deployment", or "genkit production infrastructure". Provisions Firebase Functions, Cloud Run services, GKE clusters, monitoring dashboards, and CI/CD for AI workflows.
Expert C# developer specializing in modern .NET development, ASP.NET Core, and cloud-native applications. Masters C# 12 features, Blazor, and cross-platform development with emphasis on performance and clean architecture.
UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.
This skill allows Claude to conduct comprehensive security audits of code, infrastructure, and configurations. It leverages various tools within the security-pro-pack plugin, including vulnerability scanning, compliance checking, cryptography review, and infrastructure security analysis. Use this skill when a user requests a "security audit," "vulnerability assessment," "compliance review," or any task involving identifying and mitigating security risks. It helps to ensure code and systems adhere to security best practices and compliance standards.