Firebase MCP 服务器
概述
这是一个 Firebase MCP(模型上下文协议)服务器,它提供统一的接口来与各种 Firebase 服务(包括身份验证、Firestore 和存储)进行交互。
设置
克隆并构建项目:
git clone https://github.com/gemini-dk/mcp-server-firebase cd mcp-server-firebase npm install npm run build获取 Firebase 服务帐户密钥:
转到 Firebase 控制台 > 项目设置 > 服务帐户
点击“生成新私钥”
将 JSON 文件保存到您的项目目录
配置
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 许可证
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
提供统一接口与 Firebase 服务交互的服务器,包括身份验证、Firestore 和存储。
Related Resources
Related MCP Servers
- -security-license-qualityThis server provides an interface for performing basic file system operations such as navigation, reading, writing, and file analysis, allowing users to manage directories and files efficiently.Last updated -4
- Asecurity-licenseAqualityThe Firebase MCP server provides a standardized interface to interact with Firebase services, including Firebase Authentication, Firestore, and Firebase Storage.Last updated -375220MIT License
- -security-license-qualityFirebase Realtime DatabaseLast updated -01MIT License
- -security-license-qualityAn MCP Server that provides natural language access to Google's Firebase Realtime Database API, enabling database operations and management through conversation.Last updated -