Skip to main content
Glama
NigelThorne

Firebase MCP Server

by NigelThorne

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FIREBASE_PROJECT_IDYesThe Firebase project ID
FIREBASE_EMULATOR_HUBYesThe host and port for the Firebase emulator hub (e.g., localhost:4000)localhost:4000
FIRESTORE_EMULATOR_HOSTYesThe host and port for the Firestore emulator (e.g., localhost:8080)localhost:8080

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_environmentB

Get information about the current Firebase environment

list_collectionsB

List top-level collections in Firestore

list_subcollectionsC

List subcollections of a document

list_documentsC

List documents in a collection with optional limit

get_documentC

Get a single document by path

query_collectionC

Query a collection with filters

list_functionsB

List all Cloud Functions registered in the emulator

get_auth_tokenA

Get an ID token for a user in the Auth emulator. Lists users if no uid provided.

get_function_logsA

Get Firebase function logs. Returns 20 lines by default - use filters (pattern, level, functionName) to narrow results before increasing limit.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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

If you have feedback or need assistance with the MCP directory API, please join our Discord server