Firebase MCP Server

Popular
Firebase
Google Cloud
Backend
Firestore
Authentication
Cloud Storage
Official
TypeScript

Firebase MCP Server

Official Firebase Model Context Protocol (MCP) server integrated into Firebase CLI. Provides AI assistants access to powerful tools for configuring and working with Firebase projects. Over 30 tools automatically activated based on project configuration.

Overview

The Firebase MCP Server is the official implementation from Google/Firebase, offering seamless integration with the entire Firebase ecosystem. It's built directly into Firebase CLI, requiring no separate installation, and provides comprehensive access to Firebase services including Firestore, Authentication, Cloud Storage, Cloud Messaging, Remote Config, and Crashlytics.

Key Features

Project Management

  • Initialize project directory
  • Create projects and apps
  • Download SDK configuration

Authentication Management

  • Manage users in your app
  • Add custom claims
  • Look up users by email
  • List users

Firestore Database

  • Read and write documents
  • List collections
  • Query database
  • Execute operations

Data Connect

  • Execute GraphQL queries

Security Rules

  • Read and validate security rules for Firestore
  • Read and validate security rules for Cloud Storage

Cloud Messaging

  • Send messages to topics
  • Send messages to devices

Remote Config

  • Deploy Remote Config templates
  • Roll back templates

Crashlytics

  • Understand top crashes impacting production applications

Cloud Storage

  • Generate download URLs

Installation

The Firebase MCP Server is integrated into Firebase CLI - no separate installation needed.

npx -y firebase-tools@latest login

Configuration

Basic Configuration

Add to your MCP client configuration (e.g., Claude Desktop, Gemini CLI):

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

Optional Flags

  • --dir <directory>: Specify folder with firebase.json
  • --only <feature1,feature2>: Limit which tool categories are activated (e.g., "firestore,auth")

Authentication

Uses same credentials as Firebase CLI:

  • Logged-in user credentials
  • Application Default Credentials (depending on environment)

Compatible Clients

  • Antigravity
  • Gemini CLI
  • Gemini Code Assist
  • Firebase Studio
  • Claude Desktop
  • Claude Code
  • Cline
  • Cursor
  • VS Code Copilot
  • Windsurf

Usage Examples

Once configured, you can interact with Firebase through natural language:

Initialize a new Firebase project:

"Initialize a new Firebase project in the current directory"

Query Firestore:

"Get all documents from the 'users' collection in Firestore"

Manage Authentication:

"List all users in my Firebase Authentication"

Send Cloud Messaging:

"Send a notification to the 'announcements' topic"

Check Crashlytics:

"Show me the top crashes in my production app"

Unique Features

  • Official Google/Firebase implementation - Maintained by the Firebase team
  • Integrated into Firebase CLI - No separate package needed
  • Auto-detection - Automatically detects firebase.json and activates relevant tools
  • 30+ tools - Comprehensive coverage of the Firebase ecosystem
  • Automatic tool activation - Tools are enabled based on your project configuration
  • Always up-to-date - Using npx ensures you always get the latest version
  • GA Status - General Availability since October 2025

Roadmap

Future updates planned:

  • More tools covering full Firebase product suite
  • Documentation integration
  • Deployment and provisioning assistance
  • Enhanced Firebase Studio integration

Resources

Support

  • Status: GA (General Availability)
  • License: MIT
  • Version: v15.5.1 (latest)
  • Stars: 4.3k
  • Active Development: Yes

Technical Details

  • Platform: Node.js (integrated with Firebase CLI)
  • Language: TypeScript
  • Type: Local MCP Server
  • Authentication: Firebase CLI credentials
  • Project Detection: Automatic via firebase.json
Repository

Clone the repository:

git clone https://github.com/firebase/firebase-tools
GitHub Stats
4393
Stars
1182
Forks
935
Issues
Tool Details
Category
Cloud Platforms
PlatformCross-platform
Downloads0
Last Updated4/21/2026