MCP server · Cloud and DevOps
Firebase MCP server
The Firebase MCP server is Google’s official MCP server for Firebase, built into the Firebase CLI. It lets an assistant manage projects and apps, query Firestore, read Crashlytics issues, check security rules and fetch logs. It runs locally with npx firebase-tools@latest mcp and uses your Firebase CLI sign-in.
- Maintainer
- Google (Firebase) (official)
- Licence
- MIT
- Runs
- Locally (npx)
- Sign-in
- OAuth sign-in in the app
- Registry version
- 0.3.0 (updated 2025-12-04)
- Last activity
- 2026-10-14
Overview
What can the Firebase MCP server do?
The Firebase MCP Server is part of the Firebase CLI (firebase-tools) and starts with the mcp command. It runs locally over stdio and uses the same credentials as the Firebase CLI on that machine, so you sign in once with firebase login or with the server’s own firebase_login tool. Claude Code users can also install it through the Firebase plugin, and Gemini CLI users through the Firebase extension.
Tools are grouped by product: core project and app management, Authentication, Firestore, Realtime Database, SQL Connect, Cloud Functions logs, Cloud Messaging, Crashlytics, Remote Config, Storage and App Hosting. It also ships prompts such as firebase:init and firebase:deploy and guide resources for setting up services. The --only flag limits which feature groups load (core tools are always on), and --dir sets the project directory. A few tools call Gemini in Firebase, whose output Firebase says you should check before use.
Tools
Tools it gives the assistant
- Core: create and list projects and apps, get SDK config, init services
- Security rules: get and validate Firestore, Storage and Realtime Database rules
- Firestore and Realtime Database: read, query, write and delete data
- Authentication: look up and update users
- Crashlytics: issues, events, reports and notes
- Cloud Functions logs, App Hosting logs and Remote Config templates
- Cloud Messaging: send push notifications
Install
How do I install Firebase MCP in Claude Code, Cursor or VS Code?
You need:
- Node.js 20 or newer and npm
- A Google account with access to a Firebase project (signed in through the Firebase CLI)
Run in your project. --scope local keeps the servers private to you in this project; use user for every project.
claude mcp add --scope local firebase -- npx -y firebase-tools@latest mcp
claude mcp add --scope local firebase -- cmd /c npx -y 'firebase-tools@latest' mcp
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json (Settings → Developer → Edit Config). Restart Claude after saving.
{
"mcpServers": {
"firebase": {
"command": "npx",
"args": [
"-y",
"firebase-tools@latest",
"mcp"
]
}
}
}
In your project, or ~/.cursor/mcp.json for every project.
{
"mcpServers": {
"firebase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"firebase-tools@latest",
"mcp"
]
}
}
}
In your workspace. VS Code asks for each secret the first time a server starts and stores it securely.
{
"servers": {
"firebase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"firebase-tools@latest",
"mcp"
]
}
}
}
Need another app? Open Firebase MCP Server in the MCP config generator for a shared project .mcp.json, Devin, or several servers at once; it writes one file per app. The snippets follow the setup in the server’s README, checked on 2026-10-14.
Is the Firebase MCP server safe? Check before you install
- Tools act with your Firebase CLI credentials and can write or delete Firestore and Realtime Database data, update Auth users and send push messages.
- Use --only (for example --only auth,firestore) to load just the feature groups you need, and --dir to pin the project directory.
- A local MCP server runs with your user account’s permissions. Install it only from the source linked above. See how to choose a safe server.
FAQ
Firebase MCP questions
Is the Firebase MCP server official?
Yes. Google (Firebase) publishes and maintains it, under the MIT licence. Install it only from the source linked on this page, not from a copy in another directory.
Is Firebase MCP server remote or local?
Local. Your MCP app starts it on your machine with npx, and it runs with your user account’s permissions.
Does Firebase MCP server need an API key or account?
Yes, an account. It uses the sign-in you already made with the vendor’s command-line tool, and acts with that account’s permissions. You also need: Node.js 20 or newer and npm; A Google account with access to a Firebase project (signed in through the Firebase CLI).
Why it’s listed
Why we list it
Google’s own server covers the whole Firebase product line and ships with the CLI developers already use.
Related
Alternatives and related servers: cloud and devops
- Heroku Platform MCP Server
- Cloud Run MCP
- Pulumi MCP Server
- Render MCP Server
- Cloudflare Documentation MCP Server
- Vercel MCP
All MCP serversMCP config generatorGuide: MCP servers in Claude CodeGuide: what is MCP?