Firebase MCP Server

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Provides a unified interface to interact with various Firebase services including Authentication, Firestore, and Storage, allowing users to get user information, manage Firestore documents and collections, and handle Storage files

Firebase MCP 服务器

概述

这是一个 Firebase MCP(模型上下文协议)服务器,它提供统一的接口来与各种 Firebase 服务(包括身份验证、Firestore 和存储)进行交互。

设置

  1. 克隆并构建项目:
    git clone https://github.com/gemini-dk/mcp-server-firebase cd mcp-server-firebase npm install npm run build
  2. 获取 Firebase 服务帐户密钥:
    • 转到 Firebase 控制台 > 项目设置 > 服务帐户
    • 点击“生成新私钥”
    • 将 JSON 文件保存到您的项目目录
  3. 配置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" } } }
    /path/to/mcp-server-firebase替换为您克隆代码库的实际路径。将/path/to/serviceAccountKey.json替换为您的服务帐号密钥文件的路径。

可用的 API

验证

  • 通过 ID 或电子邮件获取用户

Firestore

  • 添加/更新/删除文档
  • 列出收藏/文档

贮存

  • 列出目录中的文件
  • 获取文件元数据和下载 URL

执照

  • MIT 许可证

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

提供统一接口与 Firebase 服务交互的服务器,包括身份验证、Firestore 和存储。

  1. Overview
    1. Setup
      1. Available APIs
        1. Authentication
        2. Firestore
        3. Storage
      2. License
        ID: dlr8h5ouc9