CLOUD AND APPLICATION DEVELOPMENT / Firebase
Firebase MCP
A local Firebase CLI connection for project inspection and authorized changes to Firebase services and application configuration.
“local Model Context Protocol (MCP) server that runs in your development environment”
01 / THE REASONING
Why this made the selection.
- Uses the official Firebase CLI’s project and authentication context instead of a separate third-party dashboard scraper.
- Connects project configuration, rules and service tools to the application workspace, making environment selection visible before a change.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- Official MCP setup and capability guide
- src/commands/mcp.ts
- src/mcp/index.ts and tool registry
- Relevant package metadata and licence
- src/mcp/README.md: setup blocks, feature list and server capabilities table.
Our findings
- The MCP initialization, authentication context and tool filtering were inspected.
- The registration path exposes mutating capabilities; this was not a full security audit of every Firebase tool.
- The configuration example is the Cursor mcpServers block in src/mcp/README.md: command npx with args -y firebase-tools@latest mcp. The same file’s Windsurf block is identical in content.
- src/mcp/README.md says the server works over stdio and its tool calls use the same user credentials that authorize the Firebase CLI. firebase_login and firebase_logout sign that CLI in and out.
- The capabilities table lists mutating tools including auth_update_user, auth_set_sms_region_policy, firebase_create_project, firebase_create_app, firebase_init, firestore_delete_document, realtimedatabase_set_data, dataconnect_execute, messaging_send_message, remoteconfig_update_template and crashlytics_update_issue.
- The repository README at this commit says only that the repository is home to the Firebase MCP Server and links to src/mcp. The earlier README source therefore supports repository identity, not the capability claims.
Not established by this review
- No MCP server or upstream package was installed or run.
- No authenticated account, API request, client handshake or write operation was tested.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Connect a server deliberately.
DOCUMENTED COMMAND
npx -y firebase-tools@latest mcp Copying does not execute this command. It may retrieve a newer version than the reviewed source.
- Use the publisher’s client-specific configuration for the local Firebase CLI MCP process.
- Authenticate through the supported Firebase CLI/ADC path and explicitly select the intended project/workspace.
- Inspect the available tools and narrow feature/tool selection as documented before granting the assistant operational access.
Before you start
- Node.js/npm supported by the current Firebase CLI
- A Firebase/Google account with the required project permissions
- Project configuration and credentials appropriate to the intended environment
Documented configuration example
Use the client and authentication context described in the setup guidance. Configuration formats vary between hosts.
{
"mcpServers": {
"firebase": {
"command": "npx",
"args": [
"-y",
"firebase-tools@latest",
"mcp"
]
}
}
} 04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
https://github.com/firebase/firebase-tools/blob/a7afb34332b415360a6829b69ec719d57d3de2ef/README.md
Supports: Repository is home to the Firebase MCP Server
https://github.com/firebase/firebase-tools/blob/a7afb34332b415360a6829b69ec719d57d3de2ef/src/mcp/README.md
Supports: summary, configExample, install, compatibility, transports, access, limitations, Tool capabilities table, CLI credentials are used for tool calls
- Source licence ↗Checked
https://github.com/firebase/firebase-tools/blob/a7afb34332b415360a6829b69ec719d57d3de2ef/LICENSE
Supports: license, access.cost
https://github.com/firebase/firebase-tools/blob/a7afb34332b415360a6829b69ec719d57d3de2ef/src/commands/mcp.ts
Supports: review, limitations, access, transports
https://github.com/firebase/firebase-tools/blob/a7afb34332b415360a6829b69ec719d57d3de2ef/src/mcp/index.ts
Supports: review, limitations, access, transports
https://github.com/firebase/firebase-tools/blob/a7afb34332b415360a6829b69ec719d57d3de2ef/src/mcp/tools/index.ts
Supports: review, limitations, access, transports
https://firebase.google.com/docs/ai-assistance/mcp-server
Supports: upstreamDescription, summary, install, compatibility, access, limitations, transports, whySelected, bestFor, --only and --dir options