Provides tools for querying live Firebase projects, including Firestore database management (listing collections, subcollections, and documents) and accessing Cloud Function logs with filtering capabilities.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Firebase Live MCP Servershow me the last 10 error logs for the 'sendEmail' function"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Firebase Live MCP Server
MCP server for querying live Firebase projects - Firestore and Cloud Function logs.
Setup
Authentication
Uses Application Default Credentials. Run:
Project Detection
The server auto-detects the Firebase project from .firebaserc in the current working directory.
Override with env var:
Usage with Claude Desktop
Add to claude_desktop_config.json:
The cwd should point to a directory with .firebaserc for auto-detection.
Tools
Tool | Description |
| List top-level Firestore collections |
| List subcollections of a document |
| List documents in a collection |
| Get a single document by path |
| Query with filters, ordering, limit |
| Get Cloud Function logs with grep filtering |
get_function_logs options
pattern- Regex to filter log messagesseverity- Minimum level: DEBUG/INFO/NOTICE/WARNING/ERROR/CRITICALfunctionName- Filter by function namelimit- Max entries (default 50)hoursAgo- Fetch logs from last N hours (default 1)
Required Permissions
Your gcloud account needs:
roles/datastore.viewer- Firestore read accessroles/logging.viewer- Cloud Logging read access