Firebase Live MCP Server

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.

Category
Visit Server

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 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

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

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.

Official
Featured
Python
graphlit-mcp-server

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.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured