Firebase Mcp
io.github.firebase/firebase-mcp · 4.4k stars · TypeScript · MIT
MCP server Gives AI development tools Firebase-specific capabilities and expertise.
Install
claude mcp add firebase npx -- -y firebase-tools@latest mcpThese repos do not share one command. When an entry shows a command, it was copied as published. Check the repo's README before you run it.
Published as
- npm
firebase-toolsstdio
From the server's entry in the official MCP Registry.
Files
Firebase MCP Server
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!
Features
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 use Gemini in Firebase to 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.
Installation and Setup
Prerequisites
Make sure you have a working installation of Node.js and npm.
Basic Configuration
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:
#### Gemini CLI
Install the Firebase extension for Gemini CLI:
gemini extensions install https://github.com/firebase/agent-skills
#### Claude Code
##### Option 1: Install via plugin (Recommended)
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
- Install the Claude plugin for Firebase:
claude plugin install firebase@firebase
- Verify the installation:
claude plugin
##### Option 2: Configure MCP server manually
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:
claude mcp list
It should show:
firebase: npx -y firebase-tools@latest mcp - ✓ Connected
#### Cursor
Add to .cursorrules in your project directory or configure in Cursor settings:
{
"mcpServers": {
"firebase": {
"command": "npx",
"args": ["-y", "firebase-tools@latest", "mcp"]
}
}
}
#### Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"firebase": {
"command": "npx",
"args": ["-y", "firebase-tools@latest", "mcp"]
}
}
}
#### Firebase Studio
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"]
}
}
}
Usage
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 the Server Capabilities section below.
Documentation
For more information, visit the official Firebase MCP server documentation.
Server Capabilities
The Firebase MCP server provides three types of capabilities: Tools (functions that perform actions), Prompts (reusable command templates), and Resources (documentation files for AI models).
Facts
- Kind
- MCP server
- Repo
- io.github.firebase/firebase-mcp
- Group
- Uncategorized
- Stars
- 4.4k
- License
- MIT
- Language
- TypeScript
- Last push
- 2026-10-09
- Forks
- 1,263
- MCP Registry
- io.github.firebase/firebase-mcp
- 1Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 2Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k
- 3Gitmodelcontextprotocol/serversA Model Context Protocol server for Git repository interaction and automation. This server provides tools to read, search, and manipulate Git repositories via Large Language Models.85.8k
- 4Memorymodelcontextprotocol/serversA basic implementation of persistent memory using a local knowledge graph. This lets Claude remember information about the user across chats.85.8k
- 5Sequential Thinkingmodelcontextprotocol/serversAn MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.85.8k
- 6Timemodelcontextprotocol/serversA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.85.8k