# firebase-mcp [Official] [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/firebase/firebase-tools  
**GitHub Stars:** 4490  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/firebase-mcp

## Description
Gives AI development tools Firebase-specific capabilities and expertise.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/firebase/firebase-tools), copied verbatim. Run them in order; they are not an mcpServers config.

1. Install:

```sh
npm install -g firebase-tools
```

2. Install:

```sh
curl -sL firebase.tools | bash
```

## Documentation

## What firebase-mcp does

firebase-mcp connects AI development workflows with Firebase CLI capabilities. The underlying Firebase CLI is used to test, manage, and deploy Firebase projects from a command line. Its supported areas include project and app administration, deployment, local development, Authentication account transfer, Realtime Database operations, Firebase Hosting, and App Distribution.

Project-focused actions can use the active project alias in the local directory or receive a project ID explicitly. Deployment uses the local project files and `firebase.json` configuration. This makes the server most relevant when an assistant needs to operate on an existing Firebase project or help set up one locally.

## How it works

The repository contains the official Firebase MCP Server alongside the Firebase CLI. The MCP process is launched through the Firebase Tools npm package with `npx`, using the MCP command and a directory argument:

```bash
npx -y firebase-tools mcp --dir .
```

The `--dir .` argument points the process at the current project directory. Firebase CLI authentication and project selection remain part of the surrounding CLI setup. The CLI supports browser-based login, a no-localhost login flow for remote environments, multiple authorized accounts, and project aliases.

## Setup and configuration

Install Node.js and npm, then use the `npx` command above to start the MCP process without a separate global installation. The repository also documents two ways to install the Firebase CLI itself:

- `npm install -g firebase-tools`
- `curl -sL firebase.tools | bash`

After installation, authenticate with `firebase login` or use `firebase login --no-localhost` where opening a local browser is impractical. A project can be initialized with `firebase init`, which creates `firebase.json`, or selected with the Firebase project and alias commands. Project-specific CLI operations require either an active project alias in the working directory or an explicit project ID using `-P`.

## Tools and capabilities

The Firebase CLI operations represented by this integration cover:

- Creating, listing, and configuring Firebase projects and registered apps.
- Deploying project code and assets.
- Starting Hosting and HTTPS-triggered Cloud Functions locally with `serve`.
- Starting emulators or running test scripts through `emulators:start` and `emulators:exec`.
- Setting up the Realtime Database and Firestore emulators.
- Importing and exporting Firebase Authentication accounts.
- Reading and modifying Realtime Database data through the Firebase CLI workflow.
- Uploading App Distribution releases, managing testers and groups, and importing or exporting test cases.
- Listing apps, printing app SDK configuration, and adding Firebase resources to Google Cloud projects.

## Limitations and notes

Operations that change Firebase projects, deploy assets, manage users, or distribute builds depend on the authenticated Firebase account and its permissions. Deployment and local serving rely on the project directory and its `firebase.json` configuration. Emulator workflows require the relevant emulator setup commands before use. The CLI's `login` command normally requires browser access, although `--no-localhost` supports code-based authentication on remote machines.

_Full upstream README: https://allmcps.com/mcp/firebase-mcp/readme_

