Skip to main content
Glama
NigelThorne

Firebase Live MCP Server

by NigelThorne

Firebase Live MCP Server

MCP server for querying live Firebase projects - Firestore and Cloud Function logs.

Setup

npm install
npm run build

Related MCP server: FireHydrant MCP Server

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 messages

  • severity - Minimum level: DEBUG/INFO/NOTICE/WARNING/ERROR/CRITICAL

  • functionName - Filter by function name

  • limit - Max entries (default 50)

  • hoursAgo - Fetch logs from last N hours (default 1)

Required Permissions

Your gcloud account needs:

  • roles/datastore.viewer - Firestore read access

  • roles/logging.viewer - Cloud Logging read access

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    A 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.
    Last updated
    16
    4
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables 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.
    Last updated
    1
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    Enables 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.
    Last updated
    9

View all related MCP servers

Related MCP Connectors

  • Read-only access to Auralogs production logs: search logs, inspect errors, review AI analyses.

  • A Model Context Protocol server for Wix AI tools

  • The agent-native cloud: database, functions, AI, storage, computers. 55 tools, one API key.

View all MCP Connectors

Latest Blog Posts

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