Firebase Live MCP Server
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
npm install
npm run buildRelated MCP server: FireMCP
Authentication
Uses Application Default Credentials. Run:
gcloud auth application-default loginProject Detection
The server auto-detects the Firebase project from .firebaserc in the current working directory.
Override with env var:
FIREBASE_PROJECT_ID=my-projectUsage 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 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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Interact with your Google Cloud Firestore resources using natural language commands.
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
- OneLoreOAuthai.onelore
Shared project context for AI agents and teams: docs, tasks, and messages that stay current.
Manage Appwrite projects, databases, auth, storage, functions, and messaging; search Appwrite docs
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables large language models like Claude to perform comprehensive interactions with Firebase Firestore databases, supporting full CRUD operations, complex queries, and advanced features like transactions and TTL management.214MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents and LLMs to securely interact with Firestore databases through complete CRUD operations (get, set, add, delete, query) while respecting Firestore Security Rules via the Firebase Client SDK.1MIT
- FlicenseBqualityDmaintenanceEnables inspection and querying of Firestore data and Cloud Function logs within the Firebase Emulator environment. It provides tools to navigate collections, retrieve documents, and filter function logs using regex and other criteria.9-
- AlicenseAqualityDmaintenanceA Model Context Protocol server that exposes Firebase Firestore and Authentication to AI agents, supporting multi-project configurations and read operations.549MIT
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/NigelThorne/firebase_live_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server