Firebase Realtime Database

Integrations

  • Provides tools for interacting with Firebase Realtime Database, enabling operations like getting filtered documents, listing collections, and adding documents to the database.

Firebase リアルタイム データベース MCP

概要

このプロジェクトのインスピレーションはfirebase-mcpから得ました。Firestore の機能を使用する firebase-mcp とは異なり、 firebase-realtimeDB-mcp はFirebase Realtime Database の機能を使用します。Firebase Realtime Database MCP により、AI アシスタントは Firebase サービスと直接連携できるようになります。

🚀 クイックスタート

前提条件

  • サービス アカウントの認証情報を持つ Firebase プロジェクト
  • Node.js環境

1. Firebaseの設定

  1. Firebaseコンソール→プロジェクト設定→サービスアカウントに移動します
  2. 「新しい秘密鍵を生成」をクリックします
  3. JSONファイルを安全に保存する

2. 環境変数

必須
  • SERVICE_ACCOUNT_KEY_PATH : Firebase サービス アカウント キー JSON へのパス
  • FIREBASE_DATABASE_URL : Firebase リアルタイム データベースの URL

1. Firebase Realtime Database MCP プロジェクトをローカルにインストールする

A. ターミナルでgit clone https://github.com/ytzlax/firebase-realtimeDB-mcp.gitを実行します。
B. クローンしたパスに cd し、 npm iを実行します。
C. npm run build実行します。

2. MCPサーバーをインストールする

MCP 設定ファイルにサーバー構成を追加します。

  • Claude デスクトップ: ~/Library/Application Support/Claude/claude_desktop_config.json
  • 拡張: ~/Library/Application Support/Code/User/settings.json
  • カーソル: [project root]/.cursor/mcp.json

Claude Desktop ではどのように使用しますか?

ガイドhttps://modelcontextprotocol.io/quickstart/userに従って、次の構成を追加します。

{ "firebase-realtimeDB-mcp": { "command": "node", "args": ["/absolute/path/to/dist/index.js"], "env": { "SERVICE_ACCOUNT_KEY_PATH": "/absolute/path/to/serviceAccountKey.json", "FIREBASE_DATABASE_URL": "your-project-id.firebasestorage.app" } } }

Firebaseツール

道具説明必須パラメータ
get_documents_by_filterフィルターでドキュメントを取得するcollectionNamefieldvalue
list_collectionsルートコレクションの一覧なし
add_docドキュメントを追加JSONオブジェクト
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Firebase リアルタイム データベース

  1. 概要
    1. 🚀 クイックスタート
      1. 前提条件
      2. Firebaseの設定
      3. 環境変数
      4. Firebase Realtime Database MCP プロジェクトをローカルにインストールする
      5. MCPサーバーをインストールする
      6. Claude Desktop ではどのように使用しますか?
      7. Firebaseツール

    Related MCP Servers

    • 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
    • A
      security
      A
      license
      A
      quality
      The Firebase MCP server provides a standardized interface to interact with Firebase services, including Firebase Authentication, Firestore, and Firebase Storage.
      Last updated -
      9
      1,506
      128
      TypeScript
      MIT License
      • Apple
    • -
      security
      A
      license
      -
      quality
      A server that helps people access and query data in databases using the Query Runner with integration of the Model Context Protocol (MCP) Python SDK. Support databases including PostgreSQL Redshift MySQL Microsoft SQL Server Google APIs Amazon Web Services (via boto3) CockroachDB SQLite
      Last updated -
      26
      Python
      GPL 3.0
      • Linux
      • Apple
    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol server that enables large language models like Claude to perform comprehensive interactions with Firebase Firestore databases, supporting full CRUD operations, complex queries, and advanced features like transactions and TTL management.
      Last updated -
      48
      2
      JavaScript
      MIT License

    View all related MCP servers

    ID: 2raz51juv2