devlimelabs/firestore-mcp
MCP server for firestore - Part of the master-mcps collection
A Model Context Protocol (MCP) server that provides secure, permission-controlled access to Firebase Firestore. This server allows AI assistants and other MCP clients to interact with Firestore databases through a standardized interface.
npm install mcp-firestore
# or
yarn add mcp-firestore
# or
pnpm add mcp-firestoregit clone https://github.com/yourusername/mcp-firestore.git
cd mcp-firestore
pnpm install
pnpm buildCreate a .env file with your Firestore configuration:
# Required
FIRESTORE_PROJECT_ID=your-project-id
# Optional - for authentication
GOOGLE_APPLICATION_CREDENTIALS=path/to/service-account.jsonCreate a permissions.json file to control access:
{
"collections": [
{
"collectionId": "users",
"operations": ["read", "write", "query"]
},
{
"collectionId": "posts",
"operations": ["read", "query"]
}
],
"defaultAllow": false
}# With default permissions
mcp-firestore
# With cusLoading reviews...