Skip to main content
Glama

Firestore MCP Server

by gitskyflux

Firestore MCP サーバー

Google Firestore と直接やり取りするための MCP(Model Context Protocol)サーバー。このサーバーは、Claude Desktop を通じて Firestore ドキュメントを作成、読み取り、更新、削除するためのシンプルなインターフェースを提供します。

特徴

  • Firestore コレクションにドキュメントを作成する
  • Firestore コレクションからドキュメントを読み取る
  • 既存のドキュメントを更新する
  • ドキュメントを削除する
  • フィルタリング、順序付け、制限を使用してドキュメントをクエリする
  • 利用可能なコレクションの一覧

設定

  1. 依存関係をインストールします:
    npm install
  2. プロジェクトをビルドします:
    npm run build
  3. Claude 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 の各ツールの使用方法の例を次に示します。

ドキュメントを取得する

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
-
security - not tested
-
license - not tested
-
quality - not tested

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 データベースと直接やり取りするためのインターフェース。コレクション全体でのドキュメントの作成、読み取り、更新、クエリなどの操作をサポートします。

  1. 特徴
    1. 設定
      1. 利用可能なツール
        1. Claude Desktopでの使用例
          1. ドキュメントを取得する
          2. ドキュメントを作成する
          3. ドキュメントを更新する
          4. ドキュメントを削除する
          5. ドキュメントのクエリ
          6. リストコレクション
        2. 発達

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            Enables interaction with NeoDB, a social book cataloging service, by providing tools to fetch user info, search books, and retrieve detailed book information through its API.
            Last updated -
            2
            Python
            MIT License
            • Apple
          • A
            security
            F
            license
            A
            quality
            Integrates local Zotero libraries with Claude's Desktop interface, allowing users to access and manage their library collections via a local API.
            Last updated -
            6
            12
            Python
          • A
            security
            F
            license
            A
            quality
            A server providing a unified interface to interact with Firebase services, including Authentication, Firestore, and Storage.
            Last updated -
            9
            7
            TypeScript
          • -
            security
            A
            license
            -
            quality
            Integrates with Google Drive to enable listing, searching, and reading files, plus reading and writing to Google Sheets.
            Last updated -
            91
            86
            TypeScript
            MIT License

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/gitskyflux/firestore-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server