firebase-mcp

firebase-mcp

FirebaseMcpModelContextProtocolLlmCloudJavascriptTypescriptAuthenticationFirestoreStoragePythonGoRubyRDatabase

About This Server

Model Context Protocol (MCP) server to interact with Firebase services.

Server Information

šŸ“‹ Overview:

This webpage is the GitHub repository for firebase-mcp, a Model Context Protocol (MCP) server designed to facilitate interaction with Firebase services. It provides a standardized interface to LLM applications for authentication, Firestore, and Storage. The page offers setup instructions, feature details, development guidelines, troubleshooting tips, and related resources.


⭐ Key Points:
  • firebase-mcp is an MCP server for interacting with Firebase services.

  • It supports Authentication, Firestore, and Storage.

  • The server is compatible with LLM clients like Claude, Cursor, Roo Code, and Cline.

  • Installation can be done via npx or manual setup.

  • The project is licensed under MIT.


  • šŸ” Main Findings:
  • The primary purpose of the firebase-mcp server is to bridge LLM applications with Firebase services using a standardized MCP interface.

  • The server structure consists of an entry point (index.ts) and a library with Firebase client modules for Authentication, Firestore, and Storage.

  • Setup involves Firebase configuration and defining environment variables.


  • šŸ“Š Details:
  • Firebase Configuration: Generating a private key JSON file from the Firebase Console.

  • Environment Variables: SERVICEACCOUNTKEYPATH (required) and FIREBASESTORAGE_BUCKET (optional).

  • Installation: Configuration settings for npx or local installation are provided.

  • Testing: Instructions to test the installation are provided.

  • Troubleshooting: Includes solutions for common issues such as "The specified bucket does not exist" and "Firebase is not initialized" errors, and JSON parsing errors.

  • Development: Guides for building, testing, and contributing to the project.


šŸŽÆ Conclusion:
The firebase-mcp repository provides the necessary resources and documentation for developers to set up an MCP server that seamlessly integrates Firebase services with LLM applications. The information covers installation, usage, troubleshooting, and contribution guidelines.

Server Features

auth_get_user

Get user details by ID or email

firestore_add_document

Add a document to a collection

firestore_list_collections

List available collections

firestore_list_documents

List documents with optional filtering

firestore_get_document

Get a specific document

firestore_update_document

Update an existing document

firestore_delete_document

Delete a document

storage_list_files

List files in a directory

storage_get_file_info

Get file metadata and download URL

Provider Information

Gannonh logo

Gannonh

cloud Provider

Visit Provider Website

Quick Actions

Visit Website

MCP Configuration

Supported Models

ClaudeCursorRoo CodeCline

Available Tools

auth_get_userfirestore_add_documentfirestore_list_collectionsfirestore_list_documentsfirestore_get_documentfirestore_update_documentfirestore_delete_documentstorage_list_filesstorage_get_file_info

Available Resources

authenticationfirestorestorage