
gannonh/firebase-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
gannonh/firebase-mcpは、https://github.com/gannonh/firebase-mcp.からインポートされたMCPサーバー候補です。
概要
gannonh/firebase-mcpは、https://github.com/gannonh/firebase-mcp.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
概要
Firebase MCPは、AIアシスタントがFirebaseサービスと直接連携できるようにします。以下のようなサービスが含まれます:
- Firestore:ドキュメントデータベース操作
- ストレージ:堅牢なアップロード機能を備えたファイル管理
- 認証:ユーザー管理と検証
サーバーはClaude Desktop、Augment Code、VS Code、CursorなどのMCPクライアントアプリケーションと連携して動作します。
⚠️ 既知の問題:
firestore_list_collectionsツールはクライアントログにZod検証エラーを返すことがあります。これはMCP SDKの誤った検証エラーで、調査の結果、応答にブール値が存在しないことが確認されました。エラーメッセージにもかかわらず、クエリは正しく動作し、適切な収集データを返します。これは機能には影響しないログレベルのエラーです。
⚡ クイックスタート
前提条件
- サービスアカウント認証情報付きのFirebaseプロジェクト
- Node.js環境
1.MCPサーバーのインストール
サーバー設定をMCP設定ファイルに追加してください:
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json - オーグメント:
~/Library/Application Support/Code/User/settings.json - カーソル:
[project root]/.cursor/mcp.json
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Firebase MCP
Overview
Firebase MCP enables AI assistants to work directly with Firebase services, including:
- Firestore: Document database operations
- Storage: File management with robust upload capabilities
- Authentication: User management and verification
The server works with MCP client applicatios such as Claude Desktop, Augment Code, VS Code, and Cursor.
⚠️ Known Issue: The
firestore_list_collectionstool may return a Zod validation error in the client logs. This is an erroneous validation error in the MCP SDK, as our investigation confirmed no boolean values are present in the response. Despite the error message, the query still works correctly and returns the proper collection data. This is a log-level error that doesn’t affect functionality.
⚡ Quick Start
Prerequisites
- Firebase project with service account credentials
- Node.js environment
1. Install MCP Server
Add the server configuration to your MCP settings file:
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json - Augment:
~/Library/Application Support/Code/User/settings.json - Cursor:
[project root]/.cursor/mcp.json
MCP Servers can be installed manually or at runtime via npx (recommended). How you install determines your configuration:
Configure for npx (recommended)
{
"firebase-mcp": {
"command": "npx",
"args": [
"-y",
"@gannonh/firebase-mcp"
],
"env": {
"SERVICE_ACCOUNT_KEY_PATH": "/absolute/path/to/serviceAccountKey.json",
"FIREBASE_STORAGE_BUCKET": "your-project-id.firebasestorage.app"
}
}
}
Configure for local installation
{
"firebase-mcp": {
"command": "node",
"args": [
"/absolute/path/to/firebase-mcp/dist/index.js"
],
"env": {
"SERVICE_ACCOUNT_KEY_PATH": "/absolute/path/to/serviceAccountKey.json",
"FIREBASE_STORAGE_BUCKET": "your-project-id.firebasestorage.app"
}
}
}
2. Test the Installation
Ask your AI client: “Please test all Firebase MCP tools.”
🛠️ Setup & Configuration
1. Firebase Configuration
- Go to Firebase Console → Project Settings → Service Accounts
- Click “Generate new private key”
- Save the JSON file securely
2. Environment Variables
Required
インストール
npx -y @gannonh/firebase-mcp