---
title: Firebase MCP Server for Claude Code
canonical: https://skillselion.com/mcp/tool/io.github.firebase/firebase-mcp
content_type: text/markdown
description: Firebase MCP is a MCP server that exposes Firebase project expertise to coding agents via npx firebase-tools mcp over stdio.
---

# Firebase MCP Server

Title: Firebase MCP Server for Claude Code

> Firebase MCP is a MCP server that exposes Firebase project expertise to coding agents via npx firebase-tools mcp over stdio.

Canonical: https://skillselion.com/mcp/tool/io.github.firebase/firebase-mcp

Firebase MCP is Google's official MCP server for Firebase, shipped inside the firebase-tools npm package and started with its mcp subcommand over stdio. It gives Claude Code or Cursor Firebase project context in the session where you are already wiring Auth, Firestore and Hosting, which saves the trip to the console. The registry lists package version 14.27.0 against server schema 0.3.0, and the server acts with whatever credentials the Firebase CLI is logged in with, which is worth knowing before you point it at a production project.

Firebase MCP is a MCP server that exposes Firebase project expertise to coding agents via npx firebase-tools mcp over stdio.

## Key facts

- Installs: 0
- GitHub stars: 4,488
- Author: firebase
- Repository: firebase/firebase-tools
- Install command: `claude mcp add firebase-tools -- npx -y firebase-tools`
- Last updated: November 17, 2026

## What Firebase MCP does

Give your agent first-class Firebase project context so you can configure Auth, Firestore, Hosting, and related services while building your app backend.

Solo builders waste cycles jumping between Firebase console, docs, and terminal when the agent cannot see Firebase-native operations.

After you add the firebase-tools MCP entry, agents can apply Firebase-specific workflows while you implement auth, data, and hosting in the same repo session.

Best for: Best when you use Claude Code or Cursor on Firebase-backed web or mobile apps and want official tooling wired into the agent.

Not for: Skip if you're on non-Firebase stacks only, or production changes you are not willing to run through authenticated Firebase CLI credentials.

- Official Firebase MCP surfaced via firebase-tools npm package
- Run with npx firebase-tools plus mcp positional runtime argument
- stdio transport aligned with standard local MCP registration
- Firebase-specific capabilities for AI development tools per registry
- Repository subfolder src/mcp in firebase/firebase-tools (package 14.27.0)

## README

## Firebase CLI and MCP Server [![Actions Status][gh-actions-badge]][gh-actions] [![Node Version][node-badge]][npm] [![NPM version][npm-badge]][npm] [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=firebase&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImZpcmViYXNlLXRvb2xzIiwibWNwIiwiLS1kaXIiLCIuIl19)

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](./src/mcp).

- 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](https://firebase.google.com/docs/cli).

### Installation

#### Node Package

You can install the Firebase CLI using npm (the Node Package Manager). Note that you will need to install
[Node.js](http://nodejs.org/) and [npm](https://npmjs.org/). Installing Node.js should install npm as well.

To download and install the Firebase CLI run the following command:

```bash
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:

```bash
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](https://firebase.google.com/docs/cli/auth).

#### 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.                                                                                                        |
| **database:instances:list**   | List realtime database instances.                                                                                                           |
| **database:settings:get**     | Read the realtime database setting at path                                                                                                  |
| **database:settings:set**     | Set the realtime database setting at path.                                                                                                  |

#### Extensions Commands

| Command             | Description                                                                                 |
| ------------------- | ------------------------------------------------------------------------------------------- |
| **ext**             | Display information on how to use ext commands and extensions installed to your project.    |
| **ext:configure**   | Configure an existing extension instance.                                                   |
| **ext:info**        | Display information about an extension by name (extensionName@x.y.z for a specific version) |
| **ext:install**     | Install an extension.                                                                       |
| **ext:sdk:install** | Install and SDK for an extension so you can define the extension in a functions codebase.   |
| **ext:list**        | List all the extensions that are installed in your Firebase project.                        |
| **ext:uninstall**   | Uninstall an extension that is installed in your Firebase project by Instance ID.           |
| **ext:update**      | Update an existing extension instance to the latest version.                                |

#### Cloud Firestore Commands

| Command               | Description                                                                                                         |
| --------------------- | ------------------------------------------------------------------------------------------------------------------- |
| **firestore:delete**  | Delete documents or collections from the current project's database. Supports recursive deletion of subcollections. |
| **firestore:indexes** | List all deployed indexes from the current project.                                                                 |

#### Cloud Functions Commands

| Command                       | Description                                                                                                  |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------ |
| **functions:log**             | Read logs from deployed Cloud Functions.                                                                     |
| **functions:list**            | List all deployed functions in your Firebase project.                                                        |
| **functions:config:set**      | Store runtime configuration values for the current project's Cloud Functions.                                |
| **functions:config:get**      | Retrieve existing configuration values for the current project's Cloud Functions.                            |
| **functions:config:unset**    | Remove values from the current project's runtime configuration.                                              |
| **functions:config:clone**    | Copy runtime configuration from one project environment to another.                                          |
| **functions:secrets:set**     | Create or update a secret for use in Cloud Functions for Firebase.                                           |
| **functions:secrets:get**     | Get metadata for secret and its versions.                                                                    |
| **functions:secrets:access**  | Access secret value given secret and its version. Defaults to accessing the latest version.                  |
| **functions:secrets:prune**   | Destroys unused secrets.                                                                                     |
| **functions:secrets:destroy** | Destroy a secret. Defaults to destroying the latest version.                                                 |
| **functions:delete**          | Delete one or more Cloud Functions by name or group name.                                                    |
| **functions:shell**           | Locally emulate functions and start Node.js shell where these local functions can be invoked with test data. |

#### Hosting Commands

| Command             | Description                                                                                                                                                          |
| ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **hosting:disable** | Stop serving Firebase Hosting traffic for the active project. A "Site Not Found" message will be displayed at your project's Hosting URL after running this command. |

#### Remote Config Commands

| Command                             | Description                                                                                                |
| ----------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| **remoteconfig:get**                | Get a Firebase project's Remote Config template.                                                           |
| **remoteconfig:versions:list**      | Get a list of the most recent Firebase Remote Config template versions that have been published.           |
| **remoteconfig:rollback**           | Roll back a project's published Remote Config template to the version provided by `--version_number` flag. |

Excerpt. The rest of the file is on the canonical page and in the source repository.

## Firebase MCP FAQ

### Who is Firebase MCP for?

Developers on Firebase who use Claude Code, Cursor, or Codex and want official Firebase operations available as MCP tools during implementation.

### When should I use Firebase MCP?

Use it in Build backend work while configuring Auth, Firestore, Hosting, or related Firebase services and iterating in your application codebase.

### How do I add Firebase MCP to my agent?

Add a stdio MCP server that runs npx firebase-tools with the mcp argument per registry runtimeArguments, ensure Firebase CLI login or CI credentials, then restart the agent.

### How do I install Firebase MCP Server?

claude mcp add firebase-tools -- npx -y firebase-tools

## Machine access

- [Sitemap](https://skillselion.com/sitemap.xml)
- [llms.txt](https://skillselion.com/llms.txt)
- [llms-full.txt](https://skillselion.com/llms-full.txt)
- [Developer resources](https://skillselion.com/developers)
- [OpenAPI spec](https://skillselion.com/openapi.json)
- [MCP handshake](https://skillselion.com/.well-known/mcp)
- [API catalog](https://skillselion.com/.well-known/api-catalog)
- [AI catalog](https://skillselion.com/.well-known/ai-catalog.json)
- [Pricing](https://skillselion.com/pricing.md)
- [Auth](https://skillselion.com/auth.md)
- [AGENTS.md](https://skillselion.com/AGENTS.md)
- [Contact](https://skillselion.com/contact)
- [Home](https://skillselion.com/)
