Overview
What is Firebase MCP Server?
Firebase MCP Server is a Model Context Protocol server that provides a unified interface to interact with Firebase services including Authentication, Firestore, and Storage. It is designed for AI agents or developers using the MCP framework to manage Firebase resources.
How to use Firebase MCP Server?
Clone and build the repository, then obtain a Firebase service account key and configure the SERVICE_ACCOUNT_KEY_PATH environment variable in mcp_settings.json. Run the server using Node with the built dist/index.js entry point.
Key features of Firebase MCP Server
- Retrieve Firebase users by ID or email
- Add, update, and delete Firestore documents
- List and manage Firestore collections and documents
- List files in a Storage directory
- Get file metadata and download URLs from Storage
Use cases of Firebase MCP Server
- Manage user accounts and authentication data
- Perform CRUD operations on Firestore databases
- Browse and retrieve files from Firebase Storage buckets
- Integrate Firebase operations into MCP-compatible AI workflows
FAQ from Firebase MCP Server
How do I authenticate the server with Firebase?
Generate a private key from the Firebase Console (Project Settings > Service accounts) and save the JSON file. Set the SERVICE_ACCOUNT_KEY_PATH environment variable to the file’s path.
What Firebase services are supported?
Authentication (get user by ID or email), Firestore (CRUD, list collections/documents), and Storage (list files, get metadata and download URL).
What are the runtime requirements?
Node.js is required. The server runs as a subprocess via MCP and communicates over stdio. No browser or HTTP server is needed.