Firebase MCP Server

Command-Line Interface for Firebase

Local serverstdio

What is the Firebase MCP server?

Command-Line Interface for Firebase. Exposed over MCP by the firebase mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

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.

Its toolset

Everything the assistant can do here goes through one of these:

  • login — Authenticate to your Firebase account. Requires access to a web browser
  • logout — Sign out of the Firebase CLI
  • 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
  • ext — Display information on how to use ext commands and extensions installed to your project
  • General — The Firebase CLI can use one of four authentication methods listed in descending priority:

Adding it to your client

firebase-tools on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration

You will need one environment variable: FIREBASE_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

When to reach for it

Plenty of browser automation servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Firebase's toolset — login, logout, use and 5 more — is a fair guide to whether it matches your workflow. It is maintained by google-wombot; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the firebase mcp server does with a few real requests.

Available tools

ToolWhat it does
loginAuthenticate to your Firebase account. Requires access to a web browser.
logoutSign out of the Firebase CLI.
useSet active Firebase project, manage project aliases.
openQuickly open a browser to relevant project resources.
initSetup a new Firebase project in the current directory. This command will create a firebase.json configuration file in your current directory.
helpDisplay help information about the CLI or specific commands.
extDisplay information on how to use ext commands and extensions installed to your project.
GeneralThe Firebase CLI can use one of four authentication methods listed in descending priority:

How to install the Firebase MCP server

{
  "mcpServers": {
    "tools-1": {
      "command": "npx",
      "args": ["-y", "firebase-tools"],
      "env": {
        "FIREBASE_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
FIREBASE_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Firebase to login.
  • Use Firebase to logout.
  • Use Firebase to use.

Frequently asked questions

It connects Firebase to MCP-compatible AI assistants such as Claude and Cursor, exposing 8 tools (login, logout, use, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Firebase directly.