Firebase MCP Server

by firebase

Not rated
GitHub

About

You can use the Firebase MCP server to give AI-powered development tools the ability to work with your Firebase projects and your app's codebase.

Details

Author
firebase
Categories
Developer Tools

Setup

Install Firebase MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/firebase/firebase-tools

Follow the installation instructions in the repository README, then restart your MCP client.

You can use the Firebase MCP server to give AI-powered development tools the ability to work with your Firebase projects and your app's codebase.

- Create and manage Firebase projects— Ask the assistant to initialize a new project withfirebase_create_projector list existing projects and apps.
- Manage Authentication users— Retrieve user details withauth_get_users, update custom claims, or disable accounts viaauth_update_user.
- Query and update Firestore or Realtime Database— Read, write, and manage documents usingfirebase_read_resourcesand database-related tools.
- Debug crashes with Crashlytics— Fetch issue details, list recent crash events, and add notes usingcrashlytics_get_issueandcrashlytics_list_events.
- Validate and retrieve security rules— Check Firestore, Storage, or Realtime Database rules for errors withfirebase_validate_security_rules.
- Monitor App Hosting backends— List backends viaapphosting_list_backendsand fetch recent build or runtime logs withapphosting_fetch_logs.

The Firebase Model Context Protocol (MCP) Server gives AI-powered development tools the ability to work with your Firebase projects and your app's codebase. The Firebase MCP server works with any tool that can act as an MCP client, including:Firebase Studio,Gemini CLI,Claude Code,Cline,Cursor, VS Code Copilot,Windsurf, and more!

An editor configured to use the Firebase MCP server can use its AI capabilities to help you:

- Create and manage Firebase projects- Initialize new projects, list existing ones, and manage Firebase apps
- Manage Firebase Authentication users- Retrieve, update, and manage user accounts
- Work with Cloud Firestore and Firebase SQL Connect- Query, read, write, and manage database documents
- Retrieve Firebase SQL Connect schemas- Generate schemas and operations with AI assistance
- Understand security rules- Validate and retrieve security rules for Firestore, Cloud Storage, and Realtime Database
- Send messages with Firebase Cloud Messaging- Send push notifications to devices and topics
- Access Crashlytics data- Debug issues, view crash reports, and manage crash analytics
- Deploy to App Hosting- Monitor backends and retrieve logs
- Work with Realtime Database- Read and write data in real-time
- Query Cloud Functions logs- Retrieve and analyze function execution logs
- Manage Remote Config- Get and update remote configuration templates

Some tools useGemini in Firebaseto help you:

- Generate Firebase SQL Connect schema and operations
- Consult Gemini about Firebase products

Important:Gemini in Firebase can generate output that seems plausible but is factually incorrect. It may respond with inaccurate information that doesn't represent Google's views. Validate all output from Gemini before you use it and don't use untested generated code in production. Don't enter personally-identifiable information (PII) or user data into the chat.
Learn more about
Gemini in Firebase and how it uses your data.

Make sure you have a working installation ofNode.jsandnpm.

The Firebase MCP server can work with any MCP client that supports standard I/O (stdio) as the transport medium. When the Firebase MCP server makes tool calls, it uses the same user credentials that authorize the Firebase CLI in the environment where it's running.

Here are configuration instructions for popular AI-assistive tools:

Install theFirebase extension for Gemini CLI:

gemini extensions install https://github.com/firebase/agent-skills

The easiest way to set up the Firebase MCP server in Claude Code is to install the official Firebase plugin:
-

Add the Firebase marketplace for Claude plugins:

claude plugin marketplace add firebase/firebase-tools

Alternatively, you can manually configure the Firebase MCP server by running:

claude mcp add firebase npx -- -y firebase-tools@latest mcp

You can verify the installation by running:

firebase: npx -y firebase-tools@latest mcp - ✓ Connected

Add to.cursorrulesin your project directory or configure in Cursor settings:

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

Add to~/.codeium/windsurf/mcp_config.json:

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

To configure Firebase Studio to use the Firebase MCP server, edit or create the configuration file:.idx/mcp.json

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

Once configured, the MCP server will automatically provide Firebase capabilities to your AI assistant. You can:

- Ask the AI to help set up Firebase services
- Query your Firestore database
- Manage authentication users
- Deploy to Firebase Hosting
- Debug Crashlytics issues
- And much more!

For a complete list of available tools and resources, see theServer Capabilitiessection below.

For more information, visit theofficial Firebase MCP server documentation.

The Firebase MCP server provides three types of capabilities:Tools(functions that perform actions),Prompts(reusable command templates), andResources(documentation files for AI models).

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Create crafted UI components inspired by the best 21st.dev design engineers.

Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server

An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .

MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent

ALAPI MCP Tools,Call hundreds of API interfaces via MCP

AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform

MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.

APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.

One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.

Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.