
Firebase MCP Server: Setup for Claude Code, Cursor and Other Apps
Lets your coding assistant manage Firebase projects, query Firestore, look up Auth users and debug Crashlytics crashes.
This is the Firebase MCP server from Google, built into the Firebase command line tool. It runs on your computer and uses the same Firebase login as the CLI, so there is no separate key to create. It can read and also change real project data, such as Firestore documents, Auth users and Remote Config, so point it at a test project first.
Good for
- App developers who want Claude or Cursor to set up Firebase services in their code
- Mobile teams debugging Crashlytics crashes with an assistant
- Anyone who checks Firestore data or security rules during development
Works in
12 should work
Tap an app to see how to set it up and any known problems.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Client does not support this transport.
Client does not support this transport.
Install firebase-tools MCP
Claude Code
- 1
Copy this prompt.
Add the firebase-tools MCP server to Claude Code. Run this command: claude mcp add firebase -- npx -y firebase-tools@latest mcp Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
Read-only mode: There is no read-only mode. Sign in with a Firebase account that has only the roles you want.
The command must end with mcp. Without it, npx firebase-tools runs the normal Firebase CLI instead of the server. Sign in with npx firebase-tools login first, or ask the assistant to sign you in. Claude Code users can also install the Firebase plugin, which the README recommends.
From the project README. Source.
Tools
Lists the Firebase projects your login can reach
Shows every Firebase project the signed-in account can access.
Try: “Which Firebase projects do I have access to?”
Network ·
firebase_list_projectsShows details for the active Firebase project
Returns metadata and configuration for the project the server is currently using.
Try: “Show me the details of my active Firebase project.”
Network ·
firebase_get_projectCreates a Firebase project
Creates a new Firebase project, or turns Firebase on for an existing Google Cloud project.
Try: “Create a new Firebase project called my-test-app.”
Write ·
firebase_create_projectLists the apps registered in the project
Shows the iOS, Android and web apps registered in the active project.
Try: “List the apps registered in this Firebase project.”
Network ·
firebase_list_appsRegisters a new iOS, Android or web app
Creates a new app of the type you pick in the active Firebase project.
Try: “Register a new web app in this Firebase project.”
Write ·
firebase_create_appAdds an Android signing hash to an app
Adds a SHA-1 or SHA-256 certificate hash to an Android app in the active project.
Try: “Add this SHA-256 hash to my Android app.”
Write ·
firebase_create_android_shaGets the SDK config for an app
Returns the SDK settings or config file contents for a registered Firebase app.
Try: “Get the SDK config for my web app.”
Network ·
firebase_get_sdk_configSets up Firebase services in your local project
Initializes and configures Firebase services in your local project folder.
Try: “Set up Firestore and Hosting in this project.”
Write ·
firebase_initShows the active project and signed-in user
Returns the current CLI and server settings, the active project and the signed-in user.
Try: “Which Firebase project and account are you using right now?”
Read ·
firebase_get_environmentSwitches the active project, folder or account
Changes the project directory, the active project or the active user account.
Try: “Switch to my staging Firebase project.”
Write ·
firebase_update_environmentSigns in to Firebase or checks sign-in status
Signs you in to the Firebase CLI and server, or reports whether you are signed in.
Try: “Am I signed in to Firebase?”
Network ·
firebase_loginSigns out of Firebase
Signs you out of the Firebase CLI and server.
Try: “Sign me out of Firebase.”
Write ·
firebase_logoutReads the live security rules
Returns the active rules for Firestore, Storage or Realtime Database.
Try: “Show me my current Firestore security rules.”
Network ·
firebase_get_security_rulesChecks security rules for errors
Validates the syntax of rules for Firestore, Storage or Realtime Database.
Try: “Check these Firestore rules for errors.”
Network ·
firebase_validate_security_rulesReads built-in Firebase guides
Reads the firebase:// documentation files the server ships, or lists them.
Try: “List the Firebase guides you can read.”
Read ·
firebase_read_resourcesLists the collections in Firestore
Returns the collections in a Firestore database in the current project.
Try: “What collections are in my Firestore database?”
Network ·
firestore_list_collectionsReads Firestore documents by path
Fetches one or more documents when you know their exact paths.
Try: “Get the document at users/abc123.”
Network ·
firestore_get_documentsSearches a Firestore collection
Queries a collection with optional filters and ordering.
Try: “Find orders from the last week with status "failed".”
Network ·
firestore_query_collectionDeletes Firestore documents
Deletes documents at the exact paths you give.
Try: “Delete the test document at users/test-user.”
Delete ·
firestore_delete_documentLooks up Auth users
Finds Firebase Auth users by ID, email or phone number, or lists them all.
Try: “Find the user with email jane@example.com.”
Network ·
auth_get_usersDisables a user or sets custom claims
Turns an Auth account on or off, or sets custom claims on it.
Try: “Disable the account for jane@example.com.”
Write ·
auth_update_userAllows or blocks SMS sign-in by country
Sets which country codes can use SMS in Firebase Authentication.
Try: “Only allow SMS sign-in from the US and Canada.”
Write ·
auth_set_sms_region_policyShows one Crashlytics issue
Returns details and metadata for a specific crash issue.
Try: “Show me details for this Crashlytics issue.”
Network ·
crashlytics_get_issueLists recent crash events for an issue
Lists crash and exception events that match the filters you set.
Try: “List the latest crash events for this issue.”
Network ·
crashlytics_list_eventsGets sample crash events for debugging
Retrieves sample crash events by resource name.
Try: “Fetch these sample crash events so we can debug them.”
Network ·
crashlytics_batch_get_eventsBuilds a Crashlytics numbers report
Generates aggregated reports for crash issues and events.
Try: “Give me a report of the top crashes this week.”
Network ·
crashlytics_get_reportLists notes on a crash issue
Shows every note attached to a Crashlytics issue.
Try: “What notes are on this crash issue?”
Network ·
crashlytics_list_notesAdds a note to a crash issue
Adds a note to a Crashlytics issue for an Android or iOS app.
Try: “Add a note that this crash is fixed in the next release.”
Write ·
crashlytics_create_noteDeletes a note from a crash issue
Removes a note from a Crashlytics issue.
Try: “Delete the second note on this crash issue.”
Delete ·
crashlytics_delete_noteOpens or closes a crash issue
Sets the state of a Crashlytics issue to open or closed.
Try: “Close this crash issue.”
Write ·
crashlytics_update_issueReads data from Realtime Database
Reads the data at a path in the Realtime Database.
Try: “Read the data at /settings/theme.”
Network ·
realtimedatabase_get_dataWrites data to Realtime Database
Writes JSON data to a path in the Realtime Database.
Try: “Set /settings/theme to "dark".”
Write ·
realtimedatabase_set_dataLists SQL Connect services
Lists local and deployed Firebase SQL Connect services, schemas and connectors.
Try: “List my SQL Connect services.”
Network ·
dataconnect_list_servicesChecks SQL Connect schemas and queries
Compiles schemas, operations and connectors to check syntax and types.
Try: “Build my SQL Connect project and show any errors.”
Files ·
dataconnect_buildRuns a query against SQL Connect
Runs a GraphQL query or mutation against a SQL Connect service or the emulator.
Try: “Run this query against the emulator.”
Write ·
dataconnect_executeLists deployed Cloud Functions
Shows every Cloud Function deployed in the project.
Try: “Which Cloud Functions are deployed?”
Network ·
functions_list_functionsReads Cloud Functions logs
Retrieves and filters log entries from Google Cloud Logging.
Try: “Show errors from my functions in the last hour.”
Network ·
functions_get_logsLists App Hosting backends
Lists backends with their traffic settings and custom domains.
Try: “List my App Hosting backends.”
Network ·
apphosting_list_backendsReads App Hosting logs
Fetches recent service or build logs for a backend.
Try: “Show the latest build logs for my backend.”
Network ·
apphosting_fetch_logsSends a push notification
Sends a Firebase Cloud Messaging notification to a device token or topic.
Try: “Send a test notification to the "test" topic.”
Write ·
messaging_send_messageReads the Remote Config template
Returns the active or a chosen version of the Remote Config template.
Try: “Show my current Remote Config template.”
Network ·
remoteconfig_get_templatePublishes or rolls back Remote Config
Publishes a new Remote Config template or rolls back to an earlier version.
Try: “Roll back Remote Config to the previous version.”
Write ·
remoteconfig_update_templateGets a download link for a stored file
Returns the download URL for an object in a Cloud Storage bucket.
Try: “Get a download link for images/logo.png.”
Network ·
storage_get_object_download_url
Read from the source code
Permissions
high risk · 4 things to watch · 1 advisory
High risk
It can change and delete live project data, including Firestore documents, Auth users and Remote Config, and send push notifications. Sign in with an account that only reaches a test project, and review each write before approving it.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It can delete Firestore documents and Crashlytics notes
The delete tools act on whichever project is active. Check the active project before you ask for deletions.
It can send push notifications to real devices
The messaging tool sends to any device token or topic you name. Use a test topic while you build.
It acts with your full Firebase CLI login
There is no read-only setting. Sign in with an account that has only the roles you want the assistant to use.
Some tools ask Gemini and can be wrong
The README warns that Gemini in Firebase can give plausible but incorrect output. Check generated schemas and code before you deploy.
Technical details
| Talks to | Firebase and Google Cloud APIs. Gemini in Firebase (for the tools that ask Gemini) |
|---|---|
| Scopes |
|
Questions
Is the Firebase MCP server official?
Yes. It is part of the Firebase CLI repository from Firebase.
Which apps does it work with?
The README names Firebase Studio, Gemini CLI, Claude Code, Cline, Cursor, VS Code Copilot and Windsurf. It works with any app that can start a local server over standard input and output.
Does it need an API key?
No. It uses the account you signed in with in the Firebase CLI, so it can do whatever that account can do.
Can I run it read-only?
No read-only setting is documented. Limit what it can do by signing in with an account that has only the roles you want.
Does it run on my computer or in the cloud?
It runs on your computer. Some tools send requests to Firebase and Google Cloud, and a few ask Gemini in Firebase.
Can it delete my data?
Yes. It can delete Firestore documents and Crashlytics notes, and it can overwrite Realtime Database data and Remote Config. Use a test project while you try it.
Information
updated Nov 2, 2026
- Publisher
- Official
- Package
firebase-tools- Registry
- npm
- Transport
- stdio
- Version
- 0.3.0
- License
- MIT
- Last commit
- Oct 31, 2026
- Open issues
- 494
- Listed in
- Official MCP registry
Sources
Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.
Show all 1Hide
- Firebase MCP server README · github.com