Token导航 LogoToken导航TokenDH.com
Firestore MCP Server logo
开发工具stdio官方级别未说明来源级核验

Firestore MCP Server

MCP Server

MCP Server to interact with Google Cloud Firestore

工具数

6

提示词数

0

GitHub Stars

1

资源数

0
数据库操作JavaScriptClaude文档处理Claude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

gitskyflux

提供方

gitskyflux

最后核验

2026/5/18 02:53

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

Firestore MCP服务器

用于直接与Google Firestore交互的MCP(模型上下文协议)服务器。此服务器提供了一个干净的界面,用于通过Claude Desktop创建、读取、更新和删除Firestore文档。

特性

  • 在Firestore集合中创建文档
  • 从Firestore收藏中读取文档
  • 更新现有文档
  • 删除文档
  • 查询具有过滤、排序和限制的文档
  • 列出可用收藏

设置

  1. 安装依赖项:
   npm install
  1. 构建项目:
   npm run build
  1. 配置Claude桌面:

将以下内容添加到您的 claude_desktop_config.json:

   "firestore-mcp": {
     "command": "node",
     "args": [
       "/path/to/firestore-mcp/build/index.js"
     ],
     "env": {
       "GOOGLE_CLOUD_PROJECTS": "project-id"
     }
   }

将args中的路径替换为index.js的实际路径。

在GOOGLE_CLOUD_PROJECTS中定义一个逗号分隔的项目ID列表。 例子: google-project-id1,google-project-id2 第一个列出的项目是默认项目。

应用程序希望在每个项目的keys文件夹中找到.json凭据文件。 示例:keys/google-project-id1.json,keys/googel-project-id2.json 确保云服务帐户具有与cloud Firestore交互的适当权限,例如。 Cloud Datastore Owner 或较低的权限。

可用工具

  • getDocument:从集合中按ID获取文档
  • 创建文档:在集合中创建新文档
  • 更新文档:更新现有文档
  • 删除文档:删除文档
  • query文档:使用筛选器、排序和限制查询文档
  • list收藏:列出所有可用收藏

Claude Desktop中的示例用法

以下是如何在Claude Desktop中使用每个工具的示例:

获取文档

Get the document with ID "user123" from the "users" collection

创建文档

Create a new document in the "users" collection with the following data:
{
  "name": "John Doe",
  "email": "john@example.com",
  "age": 30
}

更新文档

Update the document with ID "user123" in the "users" collection to change the age to 31

删除文档

Delete the document with ID "user123" from the "users" collection

查询文档

Find all users over 25 years old, ordered by name

列出收藏

List all available Firestore collections

发展

  • 观看模式: npm run dev

目录标签

目录标签

数据库操作JavaScriptClaude文档处理developer-toolsfirestoremcpgoogle-cloudFirestore接口本地部署文档管理CRUD操作Google云服务

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

部署方式(deploymentType,部署类型)

remote-capable

工具数量(toolCount,工具数)

6

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiononeremote-capable

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP