Firestore Server
π§MCP Serverdevlimelabs/firestore-mcp
MCP server for Firebase Firestore with granular permission controls, full CRUD operations, advanced queries, subcollection support, batch operations, and transactional data consistency.
Overview
Firestore Server is an MCP server that provides secure, permission-controlled access to Firebase Firestore databases. It allows AI assistants to perform full CRUD operations, advanced queries, batch operations, and transactions through a standardized MCP interface with granular collection-level access controls.
Key Features
- Granular permission system β Collection-level access control with operation-specific permissions (read, write, delete, query) and default-deny security model
- Full CRUD and advanced queries β Create, read, update, and delete documents with support for filtering, ordering, limiting results, and subcollection navigation
- Batch operations and transactions β Execute multiple operations atomically and ensure data consistency with transactional support
- Atomic field operations β Supports atomic increments, array operations (union/remove), and server timestamps for safe concurrent updates
- Flexible deployment β Install via npm, configure with environment variables and permissions.json, with options for full-access dev mode or read-only access to specific collections
Who is this for?
Developers building on Firebase who want their AI assistant to safely interact with Firestore data. Useful for managing application data, running queries, and performing database operations during development β with the security of collection-level access controls ensuring the AI only touches what it should.
Installation
{
"collections": [
{
"collectionId": "users",
"operations": ["...