Firestore MCP サーバー
Google Firestore と直接やり取りするための MCP(Model Context Protocol)サーバー。このサーバーは、Claude Desktop を通じて Firestore ドキュメントを作成、読み取り、更新、削除するためのシンプルなインターフェースを提供します。
特徴
Firestore コレクションにドキュメントを作成する
Firestore コレクションからドキュメントを読み取る
既存のドキュメントを更新する
ドキュメントを削除する
フィルタリング、順序付け、制限を使用してドキュメントをクエリする
利用可能なコレクションの一覧
設定
依存関係をインストールします:
npm installプロジェクトをビルドします:
npm run buildClaude Desktop を構成する:
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
最初にリストされたプロジェクトがデフォルトになります。アプリケーションは、各プロジェクトのキーフォルダに.json認証情報ファイルが存在することを想定しています。例:keys/google-project-id1.json、keys/google-project-id2.json。クラウドサービスアカウントに、Cloud Firestoreを操作するための適切な権限(
Cloud Datastore Owner
など)があることを確認してください。
利用可能なツール
getDocument : コレクションからIDでドキュメントを取得する
createDocument : コレクション内に新しいドキュメントを作成する
updateDocument : 既存のドキュメントを更新する
deleteDocument : ドキュメントを削除する
queryDocuments : フィルター、順序付け、制限を使用してドキュメントをクエリする
listCollections : 利用可能なすべてのコレクションを一覧表示する
Claude Desktopでの使用例
Claude Desktop の各ツールの使用方法の例を次に示します。
ドキュメントを取得する
ドキュメントを作成する
ドキュメントを更新する
ドキュメントを削除する
ドキュメントのクエリ
リストコレクション
発達
ウォッチモード:
npm run dev
This server cannot be installed
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.
Claude Desktop を介して Google Firestore データベースと直接やり取りするためのインターフェース。コレクション全体でのドキュメントの作成、読み取り、更新、クエリなどの操作をサポートします。
Related MCP Servers
- -securityAlicense-qualityConnects Claude Desktop directly to databases, allowing it to explore database structures, write SQL queries, analyze datasets, and create reports through an API layer with tools for table exploration and query execution.Last updated -324Mozilla Public License 2.0
- -securityFlicense-qualityAn integration server that provides Claude Desktop access to Gmail, enabling users to view recent emails and search their Gmail inbox using natural language commands.Last updated -7
- AsecurityFlicenseAqualityEnables managing Google Cloud Platform resources through natural language commands in Claude Desktop, supporting comprehensive operations across compute, storage, databases, networking, monitoring, and IAM without manual credential setup.Last updated -5621
- AsecurityAlicenseAqualityA server that integrates with Claude Desktop to enable real-time web research capabilities, allowing users to search Google, extract webpage content, and capture screenshots directly from conversations.Last updated -3199MIT License