Firebase Live MCP Server
Enables querying and management of live Firebase projects, providing access to Firestore collections and documents. It also allows users to retrieve and filter Cloud Function logs directly through the Model Context Protocol.
README
Firebase Live MCP Server
MCP server for querying live Firebase projects - Firestore and Cloud Function logs.
Setup
npm install
npm run build
Authentication
Uses Application Default Credentials. Run:
gcloud auth application-default login
Project Detection
The server auto-detects the Firebase project from .firebaserc in the current working directory.
Override with env var:
FIREBASE_PROJECT_ID=my-project
Usage with Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"firebase-live": {
"command": "node",
"args": ["/Users/nigelthorne/code/firebase_live_mcp_server/dist/index.js"],
"cwd": "/path/to/your/firebase/project",
"env": {
"FIREBASE_PROJECT_ID": "optional-override"
}
}
}
}
The cwd should point to a directory with .firebaserc for auto-detection.
Tools
| Tool | Description |
|---|---|
list_collections |
List top-level Firestore collections |
list_subcollections |
List subcollections of a document |
list_documents |
List documents in a collection |
get_document |
Get a single document by path |
query_collection |
Query with filters, ordering, limit |
get_function_logs |
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.