what is Firebase MCP Server?
Firebase MCP Server is a server that provides a unified interface to interact with various Firebase services including Authentication, Firestore, and Storage.
how to use Firebase MCP Server?
To use the Firebase MCP Server, clone the repository, install the necessary dependencies, and configure the service account key in the mcp_settings.json
file.
key features of Firebase MCP Server?
- Unified API for Firebase services
- Support for Authentication, Firestore, and Storage
- Easy setup and configuration
use cases of Firebase MCP Server?
- Managing user authentication in applications.
- Interacting with Firestore for data storage and retrieval.
- Handling file uploads and downloads using Firebase Storage.
FAQ from Firebase MCP Server?
- What services does Firebase MCP Server support?
It supports Authentication, Firestore, and Storage services from Firebase.
- Is there a license for using Firebase MCP Server?
Yes, it is licensed under the MIT License.
- How do I set up Firebase MCP Server?
Follow the setup instructions in the documentation to clone the repository and configure the service account.
Firebase MCP Server
Overview
This is a Firebase MCP (Model Context Protocol) server that provides a unified interface to interact with various Firebase services including Authentication, Firestore, and Storage.
Setup
-
Clone and build the project:
git clone https://github.com/gemini-dk/mcp-server-firebase cd mcp-server-firebase npm install npm run build
-
Get Firebase service account key:
- Go to Firebase Console > Project Settings > Service accounts
- Click "Generate new private key"
- Save the JSON file to your project directory
-
Configure
mcp_settings.json
:{ "firebase-mcp": { "command": "node", "args": [ "/path/to/mcp-server-firebase/dist/index.js" ], "env": { "SERVICE_ACCOUNT_KEY_PATH": "/path/to/serviceAccountKey.json" } } }
Replace
/path/to/mcp-server-firebase
with the actual path where you cloned the repository. Replace/path/to/serviceAccountKey.json
with the path to your service account key file.
Available APIs
Authentication
- Get user by ID or email
Firestore
- Add/update/delete documents
- List collections/documents
Storage
- List files in a directory
- Get File metadata and Download URL
License
- MIT License