Firebase MCP server official setup and authentication for teams

How the official Firebase MCP server is installed and authenticated for teams, how it differs from community servers, and what to settle before rollout.

On this page

Does the Firebase MCP server support team sign-in with our identity provider?

The official Firebase MCP server is a local stdio server from the firebase-tools package, and it authenticates with each developer's own Firebase CLI credentials. The sources supplied for this page do not describe a company-level SSO, identity provider integration or RBAC layer for it, and no edition or plan is stated to include one. Its code sits in the firebase/firebase-tools repository under the MIT license, so your security team can read exactly what runs on each machine. Confirm any identity provider option with Google before you write it into a policy, because it is not established here.

Since sign-in is personal, the decision moves to what each developer's credentials can reach. Settle who holds the Firebase accounts and IAM roles that the CLI session inherits, and whether developers use shared or personal projects. Then decide which tool groups are exposed: the README lists apphosting, auth, core, crashlytics and functions, and the server's --only option narrows that set. Ask your team to confirm which of those groups the approved configuration will load, and to confirm where the firebase_login and firebase_logout tools are permitted for use.

Your last decision is the endpoint itself. Because the server runs on each developer machine, you have no central place to revoke it, log it or switch it off without reaching the laptop. Plan a standard for how the command npx -y firebase-tools@latest mcp is installed, pinned or approved on managed devices, and how a user who leaves the company loses access to the CLI session. The official Firebase MCP server documentation is the natural next read for confirming the current behavior with your own setup before approval.

Firebase MCP server capabilities for team rollout

This table compares what the official Firebase MCP server provides on its own with what a team must obtain from another component or confirm with Google. Read the status column first: rows marked as needing an outside component or not supplied in the sources are the ones to settle before developers connect their tools.

CapabilityStatusNotes
Local stdio transportBuilt inThe server runs on each developer machine over standard I/O, not as a hosted endpoint, so every install is a separate local process.
Firebase CLI credential reuseBuilt inThe server uses the same user credentials that authorize the Firebase CLI on that machine, not a separate server-side token.
firebase_login and firebase_logout toolsBuilt inThe login tool signs the user into the CLI and server or checks status; the logout tool ends that session. Both act with the developer's own identity.
Tool groups (apphosting, auth, core, crashlytics, functions)Built inThe README lists these groups, so admins can review which groups a team enables before rollout.
Prompts and documentation resourcesBuilt inThe README lists prompts and documentation resources alongside the tools for AI-assisted work.
MIT licenseBuilt inThe firebase-tools repository containing the server is MIT licensed, so license review is straightforward for most organizations.
Hosted endpointNot supplied in sourcesThe official docs describe a local server only. Confirm with Google before assuming any hosted option exists.
Company SSONeeds outside componentThe server does not provide SSO itself. Sign-in relies on the Firebase CLI credential, so confirm identity controls with Google and your identity provider.
Server-side RBAC and central admin policyNot supplied in sourcesNo server-side role model or central policy is described in the sources. Ask Google what controls, if any, exist for teams.
Audit loggingNot supplied in sourcesThe sources do not describe logs of MCP tool calls. Confirm with Google what is recorded and where it is stored.
Self-hosted or air-gapped deploymentNeeds outside componentThe server runs locally from the npm package, but air-gapped use depends on package mirroring and the Firebase backend the tools call. Confirm with Google.

How the server reuses developer CLI credentials

The most important design fact about the official Firebase MCP server is that it has no identity of its own. It is a local stdio server that runs from the firebase-tools package on each developer's machine, and it uses the same user credentials that authorize the Firebase CLI in that environment. The README describes this as a deliberate choice over a separate server-side token. Because the server runs on every developer machine rather than as a hosted endpoint, there is no central service account for IT to create, rotate or revoke. Each connection inherits whoever is signed in locally.

The consequence is that the server's reach is whatever the signed-in developer's Google account already holds on the Firebase projects, billing accounts and related Google Cloud resources. A developer with owner rights on a production project gets the same power through the MCP server as through the CLI. Decide before rollout whether developers should use personal accounts, shared team accounts (which the README does not recommend in any form we can verify) or dedicated accounts with least-privilege IAM roles on non-production projects. Confirm with your Google Cloud administrators how project roles are granted and reviewed, since the MCP server does not add a separate permission layer.

The firebase_login tool signs the user into the CLI and MCP server or reports the current authentication status, and firebase_logout ends that sign-in. Treat these as the operational controls you can actually document: who may sign in on managed devices, how sessions end when someone leaves or changes roles, and whether an agent may call firebase_login on its own. Ask your security team to confirm how the agent client you approve handles tool calls to these two functions, and review the firebase-tools MCP server README for the current behavior before you write the policy.

Decisions a team must make before rollout

The Firebase MCP server acts with the credentials of whoever runs it, so most of the rollout decisions sit with identity, IAM and the client install rather than the server itself. Settle these six points in writing before any developer connects an AI coding tool to a Firebase project.

Developer Google account identity

The server uses the same user credentials that authorize the Firebase CLI on that machine, so each developer's Google account determines what the agent can reach. Decide whether developers sign in with company-managed Google accounts or personal ones, and who provisions those accounts. Confirm that offboarding removes project access, because a stale sign-in on a laptop keeps working until the credentials are revoked.

Firebase MCP docs

Least-privilege IAM before sign-in

Whatever roles a developer holds in the Firebase project are the ceiling for anything the agent does through their session. Review project IAM roles before anyone signs in, and remove broad owner or editor grants that were added for convenience. Give developers only the roles their work needs, and separate production projects from development projects so the agent cannot reach production by default.

Allowed tool groups

The README lists tool groups including apphosting, auth, core, crashlytics and functions. Decide which groups the team permits, and check whether your version supports the --only option to start the server with a narrower set. Groups that manage authentication or hosting can change live configuration, so approve them only for named use cases, and record the decision in your AI tool policy.

Pinned firebase-tools version

The documented command, npx -y firebase-tools@latest mcp, fetches the newest published release each time it runs, so the tool behavior can change without a review. Pin an exact version of firebase-tools in your approved configuration and set a process to test upgrades before rolling them out. Ask the vendor how release notes describe changes to tool behavior.

MCP server README

Approved client and install location

Because the server is a local stdio process, it runs on each developer machine, so the firebase-tools package and the AI client that launches it are part of your endpoint estate. Decide which MCP clients are approved, who installs firebase-tools, and whether installs come from a managed package source. Check that the Node.js runtime and npm access on developer machines match your software supply chain controls.

Community servers kept off the list

Community MCP servers for Firebase may exist alongside the official one, and they run with the same local access. Put only the official firebase-tools server on the approved list, and block other Firebase or Firestore MCP packages in your client configuration and package policy. Check each server's publisher, license and repository before any exception, because the firebase-tools repository is MIT licensed and its source is the reference for what the official server does.

firebase-tools repository

How the answer changes by team size and data sensitivity

A small team working on one Firebase project usually has the simplest path. Each developer runs the server locally through the Firebase CLI, and the server uses the same user credentials that authorize the CLI on that machine. Credential handling is therefore a per-person question: each developer signs in, and the tool acts with that person's access to the project. Project separation is mostly a matter of making sure the project the agent sees is the intended one, since the server works against whichever project the CLI is configured to use.

  • Credential source: Each developer's own Firebase CLI sign-in is reused, so there is no shared service token to rotate.
  • Project selection: Confirm which project is active in the CLI before an agent session starts, because the agent works against that selection.
  • Access level: The account behind the sign-in decides what the agent can change, so check the developer's IAM roles on the project.
  • Review: A lead can review the setup once, since the install is a local command rather than a hosted service.

Confirm with your own environment which Firebase CLI version each developer runs and whether a shared machine is ever used for this work.

Order of work before developers connect the server

This sequence settles identity, project access, the package version, tool scope and data exposure in a fixed order, so that developers connect the Firebase MCP server only after each control is confirmed. Each step produces a record that the next step depends on.

  1. Confirm the Google identity model for developers

    Start by deciding which Google accounts developers will sign in with to the Firebase CLI, since the MCP server uses the same user credentials that authorize the CLI on each machine. Ask whether staff use corporate Google Workspace accounts, personal accounts, or both, and whether your organization can require one identity type. Confirm this with your identity team and your Google administrator. The step is done when you have a written statement of which accounts are permitted and which are blocked.

  2. Set least-privilege Firebase project roles

    Because the server acts with the developer's own permissions, the Firebase and Google Cloud roles granted to each developer define what the AI client can reach. Review existing project IAM bindings, remove broad owner or editor grants that are not needed, and assign narrower roles per project and per environment. Verify the result by listing effective permissions for a sample developer account on each project. The step is done when every production project has a documented role owner and no developer holds access they do not need.

  3. Choose and pin the firebase-tools version

    The server ships inside the firebase-tools package, and the documented launch command uses the @latest tag, which changes over time. Review the firebase/firebase-tools repository, its MCP server README and its MIT license, then choose a specific release that your security team has reviewed. Write that version into your approved configuration so each machine runs the same code. The step is done when the pinned version, the review date and the reviewer are recorded and a developer can confirm the installed version matches.

  4. Define the allowed tool groups

    The README lists tool groups including apphosting, auth, core, crashlytics and functions, along with prompts and documentation resources. Decide which groups developers may use, starting from the smallest set that supports their work, and flag any group that can change deployed resources or user accounts for separate approval. Confirm with the Firebase CLI documentation how the --only option narrows exposed groups in your pinned version. The step is done when you hold a written list of permitted groups and a tested launch configuration that enforces it.

  5. Document approved MCP clients

    The server is a local stdio server, so it works with any MCP client that supports that transport, and the README shows Claude Code as one example setup. List each AI client your organization approves, the exact configuration each one uses, and who may add new clients. Ask the client vendors which data they send to their own services and which admin controls they offer. The step is done when an approved-client list exists, each entry names its configuration file, and unlisted clients are explicitly prohibited.

  6. Test sign-in and sign-out on a non-production project

    Use a non-production Firebase project to test the login flow the README describes, including the firebase_login tool, the authentication status check and the firebase_logout tool. Confirm that signing out removes access from the AI client, that the status check reflects the true state, and that a developer without the right role receives a denial rather than broader access. Record the results with the pinned version. The step is done when every test case passes and the team has written steps for revoking a departing developer's session.

  7. Review what leaves the device

    The server runs on each developer machine, but the AI client it feeds may send tool results, file contents and project metadata to its own provider. Map which Firebase data a tool call can return, such as project configuration, function details or crash reports, and which of those values reach the AI client. Ask each client vendor for its data retention and training terms in writing. The step is done when you hold a data flow note approved by security, and any sensitive fields have a documented restriction or are excluded from the approved groups.

Evidence a security reviewer asks to see

This table lists the artifacts a reviewer can request to confirm how the official Firebase MCP server authenticates, where its code comes from, and how access is controlled. Each row names what the item proves and where the reviewer can find it in the tool or the organization. The main takeaway is that the server runs locally under each developer's own Firebase CLI credentials, so most of the control evidence sits in IAM assignments, the client list and pinned versions rather than in server-side logs.

Evidence itemWhat it provesWhere it comes from
Authentication modelThe server runs as a local stdio process and reuses the developer's Firebase CLI sign-inFirebase MCP server docs and the firebase-tools MCP README
Credential sourceAccess comes from the user's own CLI credentials, not a separate server-side tokenOutput of firebase_login status check on a sample developer machine
License and source repositoryThe code is MIT licensed and maintained in the firebase/firebase-tools repositoryLICENSE file and repository on GitHub
Pinned client versionThe team runs a known firebase-tools release instead of floating @latestTeam MCP client configuration file and npx command in use
Firebase IAM role assignmentsEach developer's project access is limited to the roles they needGoogle Cloud IAM policy export for each Firebase project
Approved client listOnly named AI clients are permitted to start the MCP serverWritten allowlist maintained by IT or security
Tool group configurationThe exposed tool groups match the scope the team approvedThe --only option in the MCP client command and its configuration record
Sign-out procedureDevelopers can end the session and remove the server's access when they leave or change rolesfirebase_logout tool result and the team offboarding checklist

Questions buyers ask before approving the Firebase MCP server

Does the Firebase MCP server support SSO for my team?

The sources supplied for this page do not describe an SSO integration for the Firebase MCP server, so do not assume one exists. The server runs locally and reuses the Firebase CLI sign-in in each developer's environment, through the firebase_login tool, rather than a central identity provider flow. Confirm with Google whether your Google Workspace or Cloud Identity tenant can enforce sign-in policies on the accounts developers use with the CLI, and document how those accounts are provisioned and removed. Ask which Google account types are supported for Firebase projects before writing the rollout policy.

How is the official server different from a community server?

The official Firebase MCP server ships inside the firebase-tools package, which Google maintains in the firebase/firebase-tools GitHub repository. Community servers are separate projects with their own code, maintainers and release cycles, so they need their own review. Because the official server is started with npx -y firebase-tools@latest mcp, it uses the same CLI package and user credentials as your developers already use, and the @latest tag means each start can pull a newer version. Pin a reviewed version in your approved tooling, and confirm with each community server's maintainer how it authenticates and which tools it exposes.

What does the Firebase MCP server cost to run?

The firebase-tools package is published under the MIT license, so the server code itself carries no license fee. Google's own Firebase pricing is not covered in the sources for this page, so confirm which Firebase and Google Cloud services your projects use and what they bill, since the tools act on those projects. Your main cost drivers are internal: review time, the policy you write for developer machines, and the monitoring you set up for the Google Cloud and Firebase projects the server can reach. Ask your procurement team to confirm the current Firebase pricing for your project types.

Can our own engineers run the rollout without an outside partner?

Yes, a team with CLI, Firebase project administration and security review skills can handle a basic rollout, because the server is a local stdio process started from a standard package. The work that tends to need the most care is deciding which projects developers may connect, which tool groups they may use, and how departures are handled. Those decisions are the same whether an internal team or an outside firm does the work. DeployOpen can run a security review of an AI agent rollout, including tool and file permissions, credential handling and admin settings, and delivers a findings report with fixes and a retest, under a written fixed scope.

What makes an internal review of the Firebase MCP server take longer?

The review effort rises with the number of projects a developer can reach, the number of tool groups enabled, and how many machines run the server. Each tool group the README lists, such as apphosting, auth, core, crashlytics and functions, can change different parts of a project, so each one needs its own risk decision. Review also grows when your team has no written standard for the firebase-tools version, when developers use personal Google accounts, or when you need evidence for an audit. Start by listing the projects in scope and the tool groups you will allow, which narrows the rest of the work.

Can the Firebase MCP server run in an air-gapped network?

The sources describe the server as local and stdio based, so it runs on each developer machine rather than as a hosted endpoint. It starts from the npm package, so an air-gapped setup needs a controlled way to obtain and store that package in your environment. The server still calls Firebase and Google Cloud services to act on projects, so an air-gapped machine cannot use it against those projects. Confirm with Google whether any Firebase features you depend on work without internet access, and do not assume an offline mode exists.

What happens to Firebase access when a developer leaves the team?

Because the server reuses the Firebase CLI credentials on each machine, access follows the developer's Google account and any CLI session on their laptop, not a separate server token. Removing the person from the Google account or project IAM is the main control, and the firebase_logout tool can clear a local session, but only if the machine is still under your control. Your offboarding checklist should cover revoking project access, signing out the CLI on returned devices, and removing the MCP server entry from the developer's AI client configuration. Confirm how Google records CLI sessions for your projects before you rely on those steps.

How DeployOpen helps teams settle Firebase MCP access before rollout

DeployOpen approaches Firebase MCP server setup as a scoped review of how the local server authenticates, which Firebase CLI credentials it inherits, and which tool groups developers may use. The work is fixed-scope and agreed in writing before it starts, so the security and engineering leads approve the same rollout they reviewed.

How we scope

  • Confirm which developer machines, Firebase projects and tool groups the rollout will cover before any testing begins
  • Record which Firebase CLI accounts developers sign in with and whether shared or personal identities are used
  • Agree in writing which MCP clients, such as Claude Code, are in scope and which community servers are excluded

How we build

  • Install the server from the firebase-tools package in a controlled test environment that matches the approved developer setup
  • Test write-capable tools and the effect of the --only option on exposed tool groups against a non-production Firebase project
  • Document the approved install command, sign-in steps and logout procedure so developers follow the same path

How we hand over

  • Deliver a written configuration record covering authentication, tool exposure, machine requirements and known limits
  • Provide findings from the review with fixes and a retest so the approving team can check closure
  • Give the security and compliance team evidence they can file, without DeployOpen issuing any audit report or certification

How we support

  • Offer ongoing support and upgrade review as a retainer when firebase-tools releases change tool groups or sign-in behavior
  • Retest the rollout configuration after material changes to the Firebase project, CLI version or approved client list
  • Confirm with your own identity and Firebase administrators which sign-in and project controls apply in your environment

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.