Firebase MCP security: permissions, risky tools and how to lock it down

The official Firebase MCP server acts with each developer's own Firebase CLI credentials, so its reach equals that user's access. Narrowing tool groups with --only and reviewing write-capable tools are the main controls an organization can set.

On this page

Does Firebase MCP security meet our control requirements?

The official Firebase MCP server has no separate enterprise identity or admin policy layer in the facts supplied for this page. It runs locally and uses the same user credentials that authorize the Firebase CLI, so its reach equals that developer's access to Firebase and Google Cloud projects. Access control therefore rests on the Google account, the IAM roles and the project settings already in place. The main per-tool control is the optional --only flag, which takes a comma-separated list of feature groups to activate. Before approving rollout, confirm with Google's documentation whether any centrally enforced setting exists for this server, and do not assume one.

Your team needs to decide three things. First, which Firebase projects a developer may reach through the CLI session, since a broad IAM role on one project carries into any MCP session started under that login. Second, which tool groups are exposed, using --only to keep read-oriented groups and leave out write-capable ones. The README lists write-capable tools such as auth_update_user, which can enable or disable accounts or set custom claims, auth_set_sms_region_policy, which changes SMS sign-in country rules, and the crashlytics_create_note and crashlytics_delete_note tools. Third, how developers are told to start the server, because a configuration that does not pass --only exposes everything the CLI session can do.

The gaps sit where the server has no built-in control. Nothing in the supplied facts shows a per-tool approval step, an audit trail specific to MCP calls, or an admin switch that blocks the server on managed devices. Plan these as controls you build or verify: a standard MCP client configuration that fixes the --only value, separate Google accounts or least-privilege IAM roles for developers who use AI tools, a non-production Firebase project for agent experiments, and a review of the Firebase audit logs for the accounts involved. Ask the vendor or your Google Cloud account team which logs record actions taken through this server before you rely on them.

Firebase MCP security controls by capability

This table compares the Firebase MCP server's security controls by capability, showing what ships with the server, what depends on a paid edition or outside component, and what the supplied research does not confirm. Read the columns as a checklist for the security review: anything marked to confirm with Google should be answered in writing before rollout.

CapabilityBuilt inNeeds paid editionNeeds outside component or not supplied
Credential modelRuns locally with the same user credentials that authorize the Firebase CLI, so reach equals that user's accessNot supplied, confirm with GooglePer-user IAM scoping for the developer account, to confirm with Google
TransportStandard I/O (stdio) with any MCP client that supports it, started with npx -y firebase-tools@latest mcpNot applicableNetwork exposure of the local process is not supplied, confirm with Google
Tool-group narrowing with --onlyOptional flag takes a comma-separated list of feature groups to expose fewer toolsNot applicableExact group names and defaults for each release should be checked in the README
Identity and claims writes (auth_update_user, auth_set_sms_region_policy)Can enable or disable user accounts, set custom claims, and allow or deny SMS country codesNot supplied, confirm with GoogleApproval of these calls per tool must come from the client or a policy layer
Project and app writes (firebase_create_project, firebase_create_app, firebase_init)Can create projects and apps and initialize servicesNot supplied, confirm with GoogleBilling and quota effects of created resources, to confirm with Google
Crashlytics writes (crashlytics_create_note, crashlytics_delete_note)Can add and delete notes on Crashlytics issues, so the server changes data as well as reading itNot supplied, confirm with GoogleWhether notes are recoverable after deletion, to confirm with Google
Central admin policyNot supplied in the researchNot supplied, confirm with GoogleManaged settings or allowlists for MCP clients, to confirm with Google and your identity team
Per-tool approvalDepends on the MCP client's approval behavior, not described by the supplied docsNot suppliedClient-side approval settings, to confirm with each tool vendor
Audit logging of MCP callsNot supplied in the researchNot supplied, confirm with GoogleWhether calls appear in Cloud Audit Logs or only locally, to confirm with Google

How the Firebase MCP server inherits a developer's access

The Firebase MCP server is a local process, not a hosted service. It is started from the firebase-tools package with npx -y firebase-tools@latest mcp, runs on the developer's machine, and talks to the AI client over standard I/O. When it makes tool calls, it uses the same user credentials that authorize the Firebase CLI. That means a tool call can do anything that signed-in user can do in the Firebase project, including changes the developer never typed themselves. The reviewer's first question should therefore be which accounts developers use with the CLI, not which settings the MCP server offers.

Enforcement sits in three places. The first is the user's IAM roles in Google Cloud, which decide what the account may change in the project. The second is the CLI login on the workstation, which determines the identity the server borrows and which projects it can reach. The third is the optional --only selection on the local server, which limits which tool groups are exposed to the client at all. Reviewers should confirm, for each role in the organization, what the developer's account can do in the target project, and whether any broad owner or editor grants exist that a coding assistant would inherit.

The server does not add an approval layer of its own, and the documentation does not describe a separate permission model for individual tool calls. Narrowing the exposed groups reduces what the client can see, but any group that remains active runs with the full reach of the borrowed credentials. Teams should ask Google or check the current Firebase docs for any per-tool confirmation or read-only mode, and should not assume one exists. Until that is confirmed, the practical controls are the account's IAM scope, a project layout that keeps production apart from development, and a written rule about which account developers use with the CLI.

Which Firebase MCP tools can change data

The Firebase MCP server runs with the developer's own CLI credentials, so every tool inherits that user's reach. The tools below are the ones that change state rather than only read it, and each one needs a named owner, a review question and a decision on whether it should be exposed at all.

User account changes

The auth_update_user tool can enable or disable a user account and set custom claims. Custom claims often feed authorization decisions in the app, so a changed claim can alter what a user is allowed to do without any code deploy. Ask whether developers should be able to change production users from an AI client at all, and whether claims changes are logged and reviewed. Confirm which Firebase projects a developer's CLI login can reach before connecting the server to them.

MCP server README

SMS sign-in region policy

The auth_set_sms_region_policy tool can allow or deny country codes for SMS sign-in. A permissive change can open phone authentication to regions the business does not serve, which raises verification cost and fraud exposure, while a restrictive change can lock out legitimate customers. Ask who approves region policy changes and whether the team has a documented baseline to compare against after any AI-driven edit.

Project and app creation

The core tools firebase_create_project and firebase_create_app create new Firebase projects and apps under the developer's account. Created resources may carry billing, ownership and naming consequences that persist after the session ends. Ask whether the organization wants developers creating projects from an AI client, which billing account new projects attach to, and how new resources are inventoried so that unused projects are found and closed.

Service initialization

The firebase_init tool initializes Firebase services inside a project, which can add configuration files and enable services in a codebase. Changes land in the repository the developer is working in, so they can reach version control before a reviewer sees them. Ask whether init output is reviewed in pull requests, which services are allowed to be enabled, and whether the repository's secret and configuration files are excluded from what the agent may edit.

Crashlytics note changes

The tools crashlytics_create_note and crashlytics_delete_note write to Crashlytics issue data, so the server can change shared triage records as well as read them. Deleted notes can remove investigation history that on-call and support staff rely on. Ask whether the team treats Crashlytics notes as an audit trail, whether deletion should be limited to a named role, and whether the team knows who edits notes when an agent is connected.

How the answer changes by team and project setup

A small team with one development project has the simplest exposure, but the server still acts with each developer's own credentials. Whatever that developer can do in the Firebase project through the Firebase CLI, the MCP server can attempt through a connected AI tool. The main risk is not a broad fleet of machines but the write-capable tools that a developer may trigger without reading the request closely, so the team should settle which tool groups are needed before anyone connects.

  • Narrow the tool groups: Use the optional --only flag to activate only the feature groups the team actually uses, such as functions or auth, and leave out groups like core if project creation is not part of the workflow.
  • Review auth write tools: Decide whether anyone should be using auth_update_user or auth_set_sms_region_policy from an AI client, since these can change account status and sign-in rules.
  • Keep project creation out of routine use: Treat firebase_create_project, firebase_create_app and firebase_init as tools for deliberate setup, not everyday coding.
  • Limit Crashlytics writes: Decide whether crashlytics_create_note and crashlytics_delete_note belong in the workflow at all.
  • Confirm the account: Check which Google account the developer is signed in with, because that account sets the server's reach.

Check which tool groups the team's written configuration exposes, and confirm the developer's Firebase access matches the single project.

Order of work before approving Firebase MCP for developers

This sequence moves from knowing who holds Firebase access to a tested, documented allowlist of tool groups that developers can use. Each step ends with a check that a reviewer can confirm before the next one starts.

  1. Inventory Firebase projects and developer roles

    The security or platform lead lists every Firebase and Google Cloud project the team uses, along with the people who hold owner, editor, viewer and Firebase-specific roles on each one. This matters because the MCP server runs with the same user credentials that authorize the Firebase CLI, so a developer's reach through the server equals that developer's access. The step is done when each project has a named owner and a role list that matches the directory, and any broad grants that no one can justify are flagged for removal.

  2. Separate production from development projects

    Confirm that production Firebase projects are distinct from development and staging projects, and that developer accounts used for MCP sessions do not hold production roles by default. Where a developer must reach production, record who needs it and why. The output is a short mapping of environment to permitted users. Verify it by checking that a sample of developer accounts cannot list or modify production resources with the CLI credentials they would use with the MCP server.

  3. Choose and document an approved --only set per role

    The official docs describe the --only flag, which takes a comma-separated list of feature groups to activate and so limits which tools the server exposes. Pick the smallest set each role needs, for example a read-oriented set for most developers, and write the exact launch command for each role into the team standard. Confirm the group names against the current firebase-tools README before publishing the list, since the tool groups it documents include apphosting, auth, core, crashlytics and functions. Done means each role has one written command that reviewers can test.

  4. Restrict or block write-capable tool groups

    Remove write-capable groups from the default set for most users. The README lists tools that change state, including auth_update_user, which can enable or disable accounts or set custom claims, auth_set_sms_region_policy, which can allow or deny SMS country codes, firebase_create_project, firebase_create_app, firebase_init, and crashlytics_create_note and crashlytics_delete_note. Decide which of these, if any, a named role needs, and keep auth write tools away from general developers. Verify by starting the server with each role's command and confirming in the client's tool list that the write tools are absent where they should be.

  5. Confirm change logging in Google Cloud

    Before pilot use, have the cloud team confirm which audit logs record administrative changes to the Firebase and Google Cloud projects in scope, and who can read them. Ask Google's current documentation which log types apply to each service the enabled groups touch, and test one harmless write in a development project to see whether it appears in the logs. The step is complete when the team can name the log source for each write-capable group and has tested that a change is recorded and attributed to a user.

  6. Pilot with a small group and retest

    Run the approved configuration with a small group of developers on development projects for a defined trial. Ask participants to report any tool they could reach that the role document does not allow, and check that the client config files they use match the approved command. Repeat the tool-list and permission checks from earlier steps, and confirm that the logging test still holds. The pilot closes when every finding is fixed or accepted in writing and the retest passes, and only then should the configuration be extended to the wider team.

Evidence a security reviewer asks for

This table lists the evidence a reviewer should request before approving the Firebase MCP server, with the source each item comes from. Use it as a checklist: a control counts only when the team can show the artifact, not when a developer says it is in place.

ControlWhat to ask forWhere it comes from
Approved --only configurationThe exact command or client config that starts the server, with the feature groups listed in the --only flag and a note on why each group is includedTeam's MCP client config files and the startup command used on developer machines
IAM role assignments for developer accountsA list of each developer's roles on the Firebase and Google Cloud project, showing any role that allows user or project changesGoogle Cloud IAM policy export for the project, reviewed against the least-privilege roles the team chose
Excluded write-capable toolsA signed list of write-capable tools removed from the approved configuration, such as auth_update_user, auth_set_sms_region_policy, firebase_create_project and crashlytics_delete_note, with the reason for eachFirebase MCP server README tool list, matched against the --only groups the team approved
Google Cloud audit log samplesExported entries showing authentication events and project or user changes made by developer accounts over a recent review window, with a confirmed retention periodGoogle Cloud Audit Logs for the project, confirmed with the team's Google Cloud administrator
Vendor documented credential modelWritten confirmation that the server runs locally under the developer's own Firebase CLI credentials, so its reach equals that user's access, plus the team's sign-out and credential rotation processFirebase MCP server documentation on Google's developer site
Client and transport recordA list of the MCP clients approved for use, confirming that each connects over standard I/O as documentedFirebase MCP server documentation and the team's own client inventory

Questions buyers ask before approving Firebase MCP security

Does the Firebase MCP server support SSO or enterprise admin policy on its own?

Confirm this with Google before approving it, because the supplied documentation describes the server as running locally with the same user credentials that authorize the Firebase CLI. That means the server inherits whatever sign-in the developer already uses for the CLI. It does not add a separate identity layer, a central approval step or an admin console for the MCP server itself. Ask Google whether any Google Cloud or Firebase organization policy applies to CLI sessions in your tenancy, and test how your existing sign-in controls behave when a developer runs the server. Treat the server's reach as equal to that developer's project access until you have evidence otherwise.

Does the --only option remove write-capable tools from the server?

No, the --only option narrows which feature groups are exposed, but it does not turn off write access inside those groups. The official docs describe it as a comma-separated list of feature groups to activate. Groups such as core, auth and crashlytics include tools that create projects or apps, change user accounts or set custom claims, and create or delete Crashlytics notes. So a team that wants fewer risks should list only the groups its developers need, then check the tool list the client actually receives. Confirm the behavior of --only in your CLI version before you rely on it as a control.

Which write-capable tools should a reviewer check first?

Start with the tools that change identity, access and project structure, because they affect people and billing rather than only code. The supplied README lists auth_update_user, which can enable or disable a user account or set custom claims, and auth_set_sms_region_policy, which can allow or deny country codes for SMS sign-in. It also lists firebase_create_project, firebase_create_app and firebase_init, which create projects or apps and initialize services. Crashlytics tools such as crashlytics_create_note and crashlytics_delete_note change issue data. Ask your team to map each tool to the environment it can reach, and decide which groups are allowed for production projects.

What does the Firebase MCP server cost to run?

The supplied facts do not give a price for the MCP server, and the server is run from the open-source firebase-tools package under the MIT license. Your costs come from the Firebase and Google Cloud plans and usage your team already pays for, plus the time your security and platform staff spend on the review, policy decisions and developer training. Those costs grow with the number of projects, environments and developers who connect. Before you approve, confirm with Google which Firebase or Google Cloud charges apply to the services your developers will touch, and budget for review time separately.

How long does a security review of the Firebase MCP server take?

The length depends on scope, meaning how many projects and environments the server can reach, how many feature groups you allow and whether you test the setup in a non-production project first. A review limited to one development project with a narrow group list is simpler than one covering production identity and billing. Your own staff can start with the tool list, the credentials developers use and the project permissions they hold. No duration is supplied for this work, so agree the timeline with whoever performs the review before work begins.

What can our team do itself, and when should we bring in outside help?

Your team can usually do the basic controls alone: decide which feature groups developers may use with --only, confirm which Firebase projects a developer's credentials can reach, remove production access from developer accounts where it is not needed, and write a rule for who may run the server. Bring in outside help when you need evidence for a formal assessment, when you want the setup tested for prompt injection or misuse of write tools, or when you need the configuration documented for auditors. DeployOpen runs security testing of AI agent setups and prepares evidence for compliance reviews, but it does not issue audit reports or certifications.

Does a developer's Firebase access limit what the MCP server can change?

Yes, the server acts with the developer's own credentials, so its reach equals that user's access. A developer with owner rights on a production project can use the server to change that project, while a developer limited to a sandbox project can only affect the sandbox. Review IAM roles for every person who runs the server, remove standing production roles where possible, and use separate projects for experimentation. Recheck these roles after staff changes, because the server does not carry its own narrower permission set.

Official sources to check each claim against

Start with the Firebase documentation page for the MCP server, Firebase MCP server | Develop with AI assistance. It is the vendor's statement of what the server is for: a local Model Context Protocol server that runs in the developer's environment and works with any MCP client that supports standard I/O as the transport. The same page confirms the key authorization point for this topic: tool calls run locally with the same user credentials that authorize the Firebase CLI, so the server's reach equals that user's access. It also describes the optional --only flag that limits which feature groups are activated. Before you approve the tool, confirm that these statements still match the version your developers will install, because the docs and the package both change over time.

The tool-level detail lives in the README of the firebase-tools repository, firebase-tools MCP server README. Use it to build your own list of write-capable tools. It names the tool groups (apphosting, auth, core, crashlytics and functions, plus prompts and documentation resources) and lists specific tools such as auth_update_user, auth_set_sms_region_policy, firebase_create_project, firebase_create_app, firebase_init and the Crashlytics note tools. Treat the README as the inventory to check against, and re-check it after each upgrade, since the @latest tag in the start command means developers pick up new releases automatically unless you pin a version.

The license terms come from the firebase-tools LICENSE file, which places the repository under the MIT license. That answers the licensing question but says nothing about security posture, support commitments or what your own project's access rules will be. Ask your procurement or legal reviewer to record that the code is open source under this license, and ask your security team to decide whether to review or pin the source they actually run. The license does not change who holds the credentials: those remain the developer's own Firebase CLI sign-in.

How DeployOpen helps roll out Firebase MCP safely

DeployOpen approaches Firebase MCP security as a scoped review of what the server can reach with each developer's own Firebase CLI credentials, which write-capable tools are exposed, and how the --only option and organization rules narrow that exposure. The work produces a written configuration and evidence your security and platform teams can review before developers connect AI coding tools.

How we scope

  • Agree in writing which Firebase projects, tool groups and developer populations the review covers before work starts.
  • Map which Firebase CLI accounts and project roles would inherit the server's reach, including auth and Crashlytics write tools.
  • Confirm which features your teams need, so the --only option can be set to the smallest tool set that still works.

How we build

  • Test the proposed configuration for write-capable tools such as auth_update_user, firebase_create_project and crashlytics_delete_note.
  • Check how prompt injection through project data or issue text could steer tool calls under the developer's credentials.
  • Document a standard launch configuration and the developer guidance that goes with it, reviewed against your access policy.

How we hand over

  • Deliver a findings report with severity, the exact fixes and a retest of each fix in your environment.
  • Provide the restricted configuration, a list of tools left enabled and the reasons each one is needed.
  • Leave a short checklist for security reviewers to confirm the setting against their own Firebase projects and CLI versions.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer when new tool groups or CLI versions arrive.
  • Ask for a quote based on your written scope, since DeployOpen does not publish a price list.

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.