Firebase MCP Server
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.
Ads
Overview
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 n
Installation
claude mcp add firebase npx -- -y firebase-tools@latest mcp
Configuration
{
"mcpServers": {
"firebase": {
"command": "npx",
"args": ["-y", "firebase-tools@latest", "mcp"]
}
}Capabilities
- Create and manage Firebase projects
Ask the assistant to initialize a new project with `firebase_create_project` or list existing projects and apps.
- Manage Authentication users
Retrieve user details with `auth_get_users`, update custom claims, or disable accounts via `auth_update_user`.
- Query and update Firestore or Realtime Database
Read, write, and manage documents using `firebase_read_resources` and database-related tools.
- Debug crashes with Crashlytics
Fetch issue details, list recent crash events, and add notes using `crashlytics_get_issue` and `crashlytics_list_events`.
- Validate and retrieve security rules
Check Firestore, Storage, or Realtime Database rules for errors with `firebase_validate_security_rules`.
- Monitor App Hosting backends
List backends via `apphosting_list_backends` and fetch recent build or runtime logs with `apphosting_fetch_logs`.
Tags
- development
Related MCP servers
Context7 MCP
OfficialOfficial Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.
Chrome DevTools MCP
OfficialOfficial Chrome DevTools MCP server for controlling and inspecting a live Chrome browser from coding agents such as Gemini, Claude, Cursor, and Copilot.
Mastra/mcp
OfficialClient implementation for Mastra, providing seamless integration with MCP-compatible AI models and tools.
GitHub MCP Server
OfficialConnect your AI assistant to GitHub repositories, issues, pull requests, and search.