Firebase MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FIREBASE_PROJECT_ID | Yes | The Firebase project ID | |
| FIREBASE_EMULATOR_HUB | Yes | The host and port for the Firebase emulator hub (e.g., localhost:4000) | localhost:4000 |
| FIRESTORE_EMULATOR_HOST | Yes | The host and port for the Firestore emulator (e.g., localhost:8080) | localhost:8080 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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