MCP ExplorerExplorer

Mcp Server Firebase

@gemini-dkon 9 months ago
10 MIT
FreeCommunity
AI Systems
The mcp-server-firebase is a Firebase MCP server that simplifies interaction with Firebase services like Authentication, Firestore, and Storage. It supports user management, document manipulation, and file handling, making it an efficient tool for developers to integrate Firebase functionalities into their applications.

Overview

What is Mcp Server Firebase

mcp-server-firebase is a Firebase MCP (Model Context Protocol) server that provides a unified interface for interacting with various Firebase services, including Authentication, Firestore, and Storage.

Use cases

Use cases for mcp-server-firebase include building applications that require user authentication, managing data in Firestore, and handling file uploads and downloads in Firebase Storage.

How to use

To use mcp-server-firebase, clone the repository from GitHub, install the necessary dependencies, obtain a Firebase service account key, and configure the ‘mcp_settings.json’ file with the appropriate paths before running the server.

Key features

Key features include user authentication, document management in Firestore (add, update, delete), and file management in Storage (list files, retrieve metadata, and download URLs).

Where to use

undefined

Content

Firebase MCP Server

Overview

This is a Firebase MCP (Model Context Protocol) server that provides a unified interface to interact with various Firebase services including Authentication, Firestore, and Storage.

Setup

  1. Clone and build the project:

    git clone https://github.com/gemini-dk/mcp-server-firebase
    cd mcp-server-firebase
    npm install
    npm run build
    
  2. Get Firebase service account key:

    • Go to Firebase Console > Project Settings > Service accounts
    • Click “Generate new private key”
    • Save the JSON file to your project directory
  3. Configure mcp_settings.json:

    {
      "firebase-mcp": {
        "command": "node",
        "args": [
          "/path/to/mcp-server-firebase/dist/index.js"
        ],
        "env": {
          "SERVICE_ACCOUNT_KEY_PATH": "/path/to/serviceAccountKey.json"
        }
      }
    }

    Replace /path/to/mcp-server-firebase with the actual path where you cloned the repository.
    Replace /path/to/serviceAccountKey.json with the path to your service account key file.

Available APIs

Authentication

  • Get user by ID or email

Firestore

  • Add/update/delete documents
  • List collections/documents

Storage

  • List files in a directory
  • Get File metadata and Download URL

License

  • MIT License

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers