Firebase MCP Server

Firebase MCP Server

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

云平台
数据库
云存储
TypeScript
访问服务器

Tools

firestore_add_document

Add a document to a Firestore collection

firestore_list_collections

List collections in Firestore. If documentPath is provided, returns subcollections under that document; otherwise returns root collections.

firestore_list_documents

List documents from a Firestore collection with optional filtering

firestore_get_document

Get a document from a Firestore collection

firestore_update_document

Update a document in a Firestore collection

firestore_delete_document

Delete a document from a Firestore collection

auth_get_user

Get a user by ID or email from Firebase Authentication

storage_list_files

List files in a given path in Firebase Storage

storage_get_file_info

Get file information including metadata and download URL

README

Firebase MCP 服务器

概述

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

设置

  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

  • 添加/更新/删除文档
  • 列出集合/文档

Storage

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

许可证

  • MIT 许可证

推荐服务器

Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Playwright MCP Server

Playwright MCP Server

提供一个利用模型上下文协议的服务器,以实现类人浏览器的自动化,该服务器使用 Playwright,允许控制浏览器行为,例如导航、元素交互和滚动。

精选
本地
TypeScript
Apple MCP Server

Apple MCP Server

通过 MCP 协议与 Apple 应用(如“信息”、“备忘录”和“通讯录”)进行交互,从而使用自然语言发送消息、搜索和打开应用内容。

精选
本地
TypeScript
contentful-mcp

contentful-mcp

在你的 Contentful Space 中更新、创建、删除内容、内容模型和资源。

精选
TypeScript
Supabase MCP Server

Supabase MCP Server

一个模型上下文协议(MCP)服务器,它提供对 Supabase 管理 API 的编程访问。该服务器允许 AI 模型和其他客户端通过标准化的接口来管理 Supabase 项目和组织。

精选
JavaScript
serper-search-scrape-mcp-server

serper-search-scrape-mcp-server

这个 Serper MCP 服务器支持搜索和网页抓取,并且支持 Serper API 引入的所有最新参数,例如位置信息。

精选
TypeScript
The Verge News MCP Server

The Verge News MCP Server

提供从The Verge的RSS feed获取和搜索新闻的工具,允许用户获取今日新闻、检索过去一周的随机文章,以及在最近的Verge内容中搜索特定关键词。

精选
TypeScript
MCP Server Trello

MCP Server Trello

通过 Trello API 促进与 Trello 看板的交互,提供速率限制、类型安全、输入验证和错误处理等功能,以实现对卡片、列表和看板活动的无缝管理。

精选
TypeScript
MCP DuckDB Knowledge Graph Memory Server

MCP DuckDB Knowledge Graph Memory Server

一个为 Claude 设计的记忆服务器,它使用 DuckDB 存储和检索知识图谱数据,从而增强了对话的性能和查询能力,并能持久保存用户信息。

精选
TypeScript