MCP server for Firebase β Firestore, Storage, Auth, and Cloud Logging, with schema validation.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
General-purpose Model Context Protocol (MCP) server for Firebase (Firestore, Storage, Auth, Functions Logging) with schema-driven validation and context-efficient tools.
@firebase:firestore://users/user-123firestore.rules conventionfirestore.indexes.jsonAdd it to your MCP client (e.g. Claude Code) β runs via npx, no global install needed:
start takes an optional schema config path (default ./firestore-schemas.json) and an optional indexes path (default ./firestore.indexes.json) β see Schema Format. Firebase auth uses Application Default Credentials.
Or install the CLI globally:
Reference Firestore documents directly in Claude Code:
When you type @firebase in Claude Code:
Shows schema-based collections (with validation):
Plus auto-discovered collections (no schema):
Auto-discovery cost: ~$0.0003/day (negligible)
The server ships 33 tools in four groups. Every tool declares MCP annotations
(readOnlyHint, destructiveHint, idempotentHint, openWorldHint) so a client
can auto-approve reads and ask before writes.
All 33 tool definitions cost roughly 12k tokens of context on every session. If you only need part of the surface, narrow it:
Or set it in your MCP client config:
The --tools flag wins over the environment variable. Leaving both unset loads
everything, so upgrading never hides a tool you were already using. Calling a
tool from a group you switched off returns an error naming the group to add.
| Group | Tools | ~Tokens |
|---|---|---|
firestore | 12 | 4,341 |
storage | 14 | 4,152 |
auth | 6 | 2,075 |
logs | 1 | 1,817 |
| all (default) | 33 | 12,387 |
--tools firestorefirestore_show_collections β Show collections (read)firestore_read β Read document (read)firestore_export β Export collection (read)firestore_validate β Validate against schema (read)firestore_query_select β Query documents (read)firestore_query_collection_group β Query collection group (read)firestore_count β Count documents (read)firestore_sum β Sum a field (read)firestore_stats β Collection statistics (read)firestore_import β Import document (write, destructive)firestore_update β Update documents (write, destructive)firestore_delete β Delete documents (write, destructive)--tools authfirebase_auth_list_users β List users (read)firebase_auth_get_user β Get user (read)firebase_auth_create_user β Create user (write)firebase_auth_update_user β Update user (write, destructive)firebase_auth_delete_user β Delete user (write, destructive)firebase_auth_revoke_sessions β Revoke sessions (write, destructive)--tools storagefirebase_storage_list_buckets β List buckets (read)firebase_storage_ls β List files (read)firebase_storage_stat β File metadata (read)firebase_storage_find β Find files (read)firebase_storage_get_url β Get file URL (read)firebase_storage_get_access β Get file access (read)firebase_storage_read β Download file to a local temp path (write)firebase_storage_upload β Upload file (write, destructive)firebase_storage_rm β Delete file (write, destructive)firebase_storage_cp β Copy file (write, destructive)firebase_storage_mv β Move file (write, destructive)firebase_storage_sync β Sync bucket to local (write, destructive)firebase_storage_push β Push local to bucket (write, destructive)firebase_storage_set_access β Set file access (write, destructive)--tools logsfirebase_functions_logs β Query Cloud Functions logs with SQL-like syntax (write)firebase_storage_read and firebase_functions_logs are not marked read-only
because they write: the first downloads to a local temp file, the second updates
its auto-discovered logging schema on disk.
Reading function logs needs an extra IAM role. The Firebase Admin SDK service account has no Cloud Logging access by default, so
firebase_functions_logsfails withPERMISSION_DENIED: Permission denied for all log viewseven when every other tool works. Grant the role and allow a few minutes for it to take effect:
roles/logging.vieweralone may not be enough β the error names log views, and thelogging.views.accesspermission is inviewAccessor.
Example queries:
Schemas follow Firebase's path-based convention:
@firebase:firestore:// referencesMIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/firebase-mcp-server)<a href="https://allmcps.com/mcp/firebase-mcp-server"><img src="https://allmcps.com/api/badge/firebase-mcp-server?style=directory" alt="Firebase MCP Server on AllMCPs" /></a>