The Firebase MCP Server provides a unified interface to interact with multiple Firebase services:
- Authentication: Retrieve user information by ID or email.
- Firestore:
- Add, update, delete, and get documents by ID.
- List collections and documents with optional filtering and pagination.
- List root collections or subcollections under a document.
- Storage:
- List files in specified directories.
- Retrieve file metadata and download URLs.
Provides a unified interface to interact with various Firebase services including Authentication, Firestore, and Storage, allowing users to get user information, manage Firestore documents and collections, and handle Storage files
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:
- 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
: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
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
A server providing a unified interface to interact with Firebase services, including Authentication, Firestore, and Storage.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityThe Firebase MCP server provides a standardized interface to interact with Firebase services, including Firebase Authentication, Firestore, and Firebase Storage.Last updated -9355147TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that allows creation and management of multiple Fireproof JSON databases with CRUD operations, querying capabilities, and cloud synchronization for sharing databases with others.Last updated -92JavaScript
- -securityAlicense-qualityIntegration server that enables interaction with Google services including Gmail and Calendar, allowing users to manage emails, draft responses, and schedule events across multiple Google accounts.Last updated -PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables large language models like Claude to perform comprehensive interactions with Firebase Firestore databases, supporting full CRUD operations, complex queries, and advanced features like transactions and TTL management.Last updated -482JavaScriptMIT License