Firebase MCP Server
Published · Updated
At a glance
- Category
- Cloud & DevOps
- GitHub repository
- firebase/firebase-tools
- Watch out for
- It acts with your Firebase CLI credentials across your projects.
Firebase's MCP server is built into the Firebase CLI, so its home is the firebase/firebase-tools repository, which now describes itself as both the Firebase CLI and MCP server. There is no separate package to install: you run firebase-tools with the mcp command, and it uses the same credentials as the CLI.
It covers most of Firebase. Tools are grouped by feature: core, which is always on, plus apphosting, auth, crashlytics, dataconnect, developerknowledge, firestore, functions, messaging, realtimedatabase, remoteconfig and storage. Examples include auth_get_users and auth_update_user, firestore_query_collection and firestore_get_documents, storage_get_object_download_url, messaging_send_message, dataconnect_execute, firebase_create_project and firebase_deploy. Crashlytics tools are especially handy for an agent fixing a crash, since it can read the issue and then look at your code.
Two options keep it focused. --dir points it at the directory containing your firebase.json, so it knows which project it is working on. --only activates just the feature groups you need, such as auth,firestore,storage, which keeps the tool list short. Firebase's docs note that some tools, including certain Cloud Firestore tools, proxy requests to remote MCP servers rather than running entirely locally.
How it connects
Your AI app
An assistant or agent that supports MCP
Firebase MCP Server
Runs as
- npx (Node.js)
Gives the agent
- Project and deploys
- Firestore and Realtime Database
- Auth
- Crashlytics, Remote Config and Messaging
- Feature filtering
Firebase
The data or system the tools act on
What it can do
- Project and deploys
- Core tools such as firebase_create_project, firebase_deploy and firebase_login manage projects and deployments.
- Firestore and Realtime Database
- firestore_query_collection, firestore_get_documents, firestore_delete_document and Realtime Database tools read and change data.
- Auth
- auth_get_users and auth_update_user look up and change users.
- Crashlytics, Remote Config and Messaging
- Read crash issues, manage Remote Config and send messages with messaging_send_message.
- Feature filtering
- --only enables specific feature groups; core tools are always available.
Setting it up
You need Node.js and npm. In Claude Code, Firebase recommends its plugin (claude plugin marketplace add firebase/firebase-tools, then claude plugin install firebase@firebase), or add it manually with claude mcp add firebase npx -- -y firebase-tools@latest mcp. In other clients, use npx with the arguments -y firebase-tools@latest mcp. Add --dir /absolute/path/to/your/project so it uses the right firebase.json, and --only auth,firestore,storage (or whichever groups you need). It authenticates with your Firebase CLI login or Application Default Credentials; the firebase_login tool can sign you in or report your status. Use a development project while you experiment, since deploy and write tools act on real resources.
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Investigating a Crashlytics issue and fixing the code that causes it
- Querying Firestore collections while debugging a feature
- Looking up or updating a user in Firebase Auth
- Deploying functions or hosting after a change
Limitations and things to watch
- It acts with your Firebase CLI credentials across your projects.
- Write tools such as firestore_delete_document, auth_update_user and firebase_deploy change real data and services.
- Some tools proxy to remote MCP servers rather than running locally.
- Loading every feature group creates a long tool list; use --only.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /firebase/firebase-tools
- firebase.google.com /docs/ai-assistance/mcp-server
- github.com /firebase/firebase-tools/tree/main/src/mcp
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.