Firebase Official MCP Server

Official

Inspect and work with Firebase projects through the official CLI server.

Local serverstdio

What is the Firebase Official MCP Server?

Firebase's official MCP server runs locally through the Firebase CLI and gives a compatible assistant tools for Firebase projects and the application codebase.

Use the official CLI entry point

The documented command is npx -y firebase-tools@latest mcp. It uses stdio and the credentials available to the Firebase CLI, including a logged-in user or Application Default Credentials. A local process can still call cloud services; local transport does not mean the project data stays entirely offline.

Set the project context

Launch from the intended application or use the documented directory option. Confirm the selected Firebase project before asking for a change. A development project and a production project can have similar names, so check the identifier explicitly.

The --only option limits enabled feature groups, while core tools remain available. Choose the groups needed for the work instead of assuming the server always exposes the same tool list.

A useful first task

Ask the assistant to inspect the current project and explain a failing development workflow using the existing code. For a data operation, start with a small read and check the result against the console or application. For authentication changes, inspect the affected account and project before proceeding.

Client configuration

Firebase documents setup for Claude Code, Cursor, VS Code and other stdio clients. Use the client-specific configuration shape; VS Code's servers object and a desktop client's mcpServers object are not interchangeable. The existing directory URL is preserved for this Firebase repository so earlier links continue to work.

Publisher documentation

Source 1

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

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.

How to install the Firebase Official MCP Server

{
  "mcpServers": {
    "firebase": {
      "command": "npx",
      "args": [
        "-y",
        "firebase-tools@latest",
        "mcp"
      ]
    }
  }
}

Authenticate the Firebase CLI first and confirm the intended project directory and project ID.

Configuration

Node.js/npm, Firebase CLI credentials, an intended project directory and a compatible stdio MCP client.

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

Command-Line Interface for Firebase Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.