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の設定
- Firebaseコンソール→プロジェクト設定→サービスアカウントに移動します
- 「新しい秘密鍵を生成」をクリックします
- 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ツール
道具 | 説明 | 必須パラメータ |
---|---|---|
get_documents_by_filter | フィルターでドキュメントを取得する | collectionName 、 field 、 value |
list_collections | ルートコレクションの一覧 | なし |
add_doc | ドキュメントを追加 | JSONオブジェクト |
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Firebase リアルタイム データベース
Related MCP Servers
- AsecurityFlicenseAqualityA server providing a unified interface to interact with Firebase services, including Authentication, Firestore, and Storage.Last updated -97TypeScript
- AsecurityAlicenseAqualityThe Firebase MCP server provides a standardized interface to interact with Firebase services, including Firebase Authentication, Firestore, and Firebase Storage.Last updated -91,506128TypeScriptMIT License
- -securityAlicense-qualityA 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 SQLiteLast updated -26PythonGPL 3.0
- -securityAlicense-qualityA 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 -482JavaScriptMIT License