gannonh/firebase-mcp
FreeFirebase 服务,包括 Auth、Firestore 和 Storage。
FreeFree tier
About gannonh/firebase-mcp
Firebase MCP is a Model Context Protocol (MCP) server that enables AI assistants to work directly with Firebase services. It supports Firestore document database operations, Storage file management with robust upload capabilities, and Authentication user management and verification. The server integrates with MCP client applications such as Claude Desktop, Augment Code, VS Code, and Cursor. It can be installed via npx or locally, and supports both stdio and HTTP transports with configurable environment variables. A known issue involves a Zod validation error in client logs that does not affect functionality.
Key Features
Firestore document database operations (create, read, update, delete queries)
Storage file management with robust upload capabilities
Authentication user management and verification
Works with multiple MCP clients: Claude Desktop, Augment Code, VS Code, Cursor
Supports both stdio and HTTP transport modes
Easy installation via npx or local setup
Configurable environment variables for service account and storage bucket
Pros & Cons
Pros
- Direct integration with Firebase Auth, Firestore, and Storage
- Supports a wide range of popular MCP client applications
- Open source and free to use
- Can be easily installed via npx without manual build
- Offers both stdio and HTTP transport for flexibility
Cons
- Known issue: Zod validation error may appear in client logs (does not affect functionality)
- Requires Firebase service account credentials and environment variable setup
Best For
Enabling AI assistants to manage Firebase Firestore data via natural languageAutomating Firebase Storage file uploads and management through AI toolsIntegrating Firebase Authentication workflows with AI-powered applicationsBuilding custom development environments that interact with Firebase using MCP clients
FAQ
How do I install Firebase MCP?
Add the server configuration to your MCP settings file (e.g., Claude Desktop, VS Code, or Cursor). Use npx with the package @gannonh/firebase-mcp (recommended) or install locally and point to the built index.js. Set the SERVICE_ACCOUNT_KEY_PATH and optionally FIREBASE_STORAGE_BUCKET environment variables.
What is the known issue with firestore_list_collections?
The firestore_list_collections tool may show a Zod validation error in client logs. This is a log-level error from the MCP SDK; the query still works correctly and returns proper collection data. Our investigation confirmed no boolean values are present in the response.