Feedback

Firebase MCP Server (firebase/firebase-tools) Verified

@firebase Claim

Basic information

Runtime
TypeScript
Version
1.0.0
License
MIT
Transports
stdio
Author
firebase
Submitted by
Community
Quality
85
Stars
4.5K

About Firebase MCP Server

Enhance your Firebase projects with AI-powered development tools from Firebase Inc. for smarter, faster app solutions.

Firebase is a MCP server in the Cloud Infrastructure category listed in the AddMCP.net directory, published by firebase. It exposes 23 tools, including firebase_list_projects, firebase_create_project, firebase_get_sdk_config, firebase_init and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 4,474 GitHub stars. Source code is hosted on github.com. Related topics: cloud-infrastructure, crashlytics, deploy, developer-tools, firebase.

Setup

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

Firebase MCP Server (firebase/firebase-tools) config

Add this server to your MCP-compatible client using the configuration below.

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

Firebase MCP Server (firebase/firebase-tools) tools

  • firebase_list_projects — List Firebase projects accessible by the authenticated user.
  • firebase_create_project — Create a new Firebase project or enable Firebase services on an existing Google Cloud project.
  • firebase_get_sdk_config — Retrieve SDK configuration details or config file contents for a registered Firebase app.
  • firebase_init — Initialize and configure Firebase services in your local project workspace.
  • firebase_deploy — Deploy Firebase services and resources configured in firebase.json to your project.
  • firebase_get_security_rules — Retrieve the active security rules for Firestore, Storage, or Realtime Database.
  • firebase_validate_security_rules — Validate syntax and check for errors in Firestore, Storage, or Realtime Database security rules.
  • firebase_login — Sign the user into the Firebase CLI and MCP server or check current authentication status.
  • auth_get_users — Retrieve Firebase Auth users by UID, email, phone number, or list all users.
  • auth_update_user — Update a user's account by enabling/disabling it or setting custom claims.
  • firestore_get_document — Get a document from a Firestore database.
  • firestore_query_collection — Query Firestore documents from a collection with optional filters and ordering.
  • firestore_run_aggregation_query — Run an aggregation query against a Firestore database.
  • realtimedatabase_get_data — Read data from a specified path in the Firebase Realtime Database.
  • realtimedatabase_set_data — Write JSON data to a specified path in the Firebase Realtime Database.
  • crashlytics_get_issue — Retrieve details and metadata for a specific Crashlytics issue.
  • crashlytics_get_report — Generate aggregated numerical reports for Crashlytics issues and events.
  • dataconnect_execute — Execute a GraphQL query or mutation against a Firebase SQL Connect service or emulator.
  • functions_get_logs — Retrieve and filter Cloud Functions log entries from Google Cloud Logging.
  • messaging_send_message — Send a Firebase Cloud Messaging push notification to a device registration token or topic.
  • remoteconfig_update_template — Publish a new Firebase Remote Config template or rollback to a previous version.
  • apphosting_fetch_logs — Fetch recent service or build logs for an App Hosting backend.
  • storage_get_object_download_url — Retrieve the download URL for an object in a Cloud Storage bucket.

Overview

What is Firebase?

Firebase MCP Server (Official) is Google's own Firebase MCP server, built into the Firebase CLI and started with npx -y firebase-tools@latest mcp. It lets AI coding tools manage Firebase projects, Auth users, Firestore, security rules, Crashlytics and deploys.

It is a local server that talks to clients over stdio. Tool calls run with the same credentials that authorize the Firebase CLI on your machine, either a logged-in user or Application Default Credentials. The source lives in the firebase/firebase-tools repository (MIT), and the full reference is in the official Firebase MCP server docs.

How to use Firebase?

You need a working Node.js and npm install. There is no separate API key. The server uses your Firebase CLI login. If you are not signed in yet, run npx -y firebase-tools@latest login, or let the agent call the firebase_login tool.

Every client launches the same command: npx -y firebase-tools@latest mcp.

Claude Code

The recommended route is the official Firebase plugin, which also brings Firebase agent skills:

claude plugin marketplace add firebase/firebase-tools
claude plugin install firebase@firebase

Or add just the MCP server from your app folder and check it:

claude mcp add firebase npx -- -y firebase-tools@latest mcp
claude mcp list

The list should show firebase: npx -y firebase-tools@latest mcp - ✓ Connected.

Claude Desktop

Open Claude > Settings > Developer > Edit Config and add:

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

Cursor

Install the Firebase plugin from the Cursor Marketplace, or put the same mcpServers block in .cursor/mcp.json (one project) or ~/.cursor/mcp.json (global).

VS Code

For VS Code Copilot, edit .vscode/mcp.json in your workspace:

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

Windsurf

Add the same mcpServers block to ~/.codeium/windsurf/mcp_config.json. Google's docs also cover Antigravity (install from the MCP Store), Cline and the Gemini CLI extension.

Optional flags

--dir sets the absolute path of a folder that contains firebase.json. --only turns on just the feature groups you list. Core tools are always on.

"args": ["-y", "firebase-tools@latest", "mcp", "--dir", "/Users/you/my-project", "--only", "auth,firestore,storage"]

Key features of Firebase

  • Official and maintained by the Firebase team inside firebase-tools (MIT, actively released)
  • Create Firebase projects and apps, get SDK config, and run firebase init and deploys from chat
  • Read and write Cloud Firestore and Realtime Database, and manage Firestore databases, indexes and backups
  • Validate and fetch security rules for Firestore, Cloud Storage and Realtime Database
  • Investigate Crashlytics issues, events and reports, and read Cloud Functions and App Hosting logs
  • Send Firebase Cloud Messaging notifications and update Remote Config templates
  • Ships prompts (/firebase:init, /firebase:deploy) and resources (setup guides, firebase://docs) as well as tools
  • --only feature groups keep the tool list small

Firebase tools

Tools are organized into feature groups. You can list them all with npx firebase-tools@latest mcp --generate-tool-list.

  • core: projects, apps and environment, including firebase_list_projects, firebase_create_project, firebase_get_sdk_config, firebase_init, firebase_deploy, firebase_get_security_rules and firebase_validate_security_rules.
  • firestore: document CRUD and queries (firestore_query_collection, firestore_run_aggregation_query), plus database, index and backup-schedule management.
  • auth: auth_get_users, auth_update_user (disable accounts, set custom claims) and auth_set_sms_region_policy.
  • crashlytics: crashlytics_get_issue, crashlytics_list_events, crashlytics_get_report, notes and crashlytics_update_issue.
  • dataconnect, realtimedatabase, storage, messaging (messaging_send_message), remoteconfig, functions (functions_get_logs) and apphosting (apphosting_fetch_logs).
  • developerknowledge: search and answer questions over Google developer documentation.

Use cases of Firebase

  • Start a new app: "Set up Firebase Auth and Firestore for this web app" (the /firebase:init prompt).
  • Debug data: "Query the orders collection for documents with status COMPLETED and count them."
  • Write rules: "Generate Firestore security rules with unit tests for this schema."
  • Fix crashes: "Show the top Crashlytics issues for my Android app and suggest a fix."
  • Ship: "Deploy hosting and functions, then check the deploy status."
  • Support work: "Find the Auth user with this email and disable the account."

Frequently asked questions

1 Is there an official Firebase MCP server?

Yes. Google ships it inside the Firebase CLI (firebase-tools) and documents it at firebase.google.com/docs/ai-assistance/mcp-server.

2 Is the Firebase MCP server free?

The server is open source under MIT and costs nothing to run. Calls against your project follow normal Firebase pricing and quotas.

3 Do I need an API key or service account?

No. It reuses your Firebase CLI login or Application Default Credentials. Sign in with npx -y firebase-tools@latest login first.

4 How do I add the Firebase MCP server to Claude Code?

Install the plugin with claude plugin install firebase@firebase after adding the firebase/firebase-tools marketplace. Or run claude mcp add firebase npx -- -y firebase-tools@latest mcp.

5 Does it work with Cursor and VS Code?

Yes. Cursor has a Marketplace plugin and also accepts mcp.json. VS Code Copilot uses .vscode/mcp.json with a stdio server running npx -y firebase-tools@latest mcp.

6 Is it a remote or local MCP server?

It runs locally over stdio. Some tools, such as certain Firestore tools, forward requests to a remote MCP server or a backend service.

7 Can I limit what the agent can touch?

Yes. Use --only to expose only certain feature groups. Clients also ask for your approval before tool calls, so review deploys, deletes and writes before you approve them.

8 Which Firebase MCP server should I pick: official or community?

Pick the official server for most projects. Choose the community /servers/firebase-mcp server if you specifically want service-account key auth with a smaller tool set.

Videos

Tutorials, guides, and showcases related to Firebase MCP Server (firebase/firebase-tools). The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬