Firebase Realtime Database
Firebase リアルタイム データベース MCP
概要
このプロジェクトのインスピレーションはfirebase-mcpから得ました。Firestore の機能を使用する firebase-mcp とは異なり、 firebase-realtimeDB-mcp はFirebase Realtime Database の機能を使用します。Firebase Realtime Database MCP により、AI アシスタントは Firebase サービスと直接連携できるようになります。
Related MCP server: Firestore MCP Server
🚀 クイックスタート
前提条件
サービス アカウントの認証情報を持つ 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-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ツール
道具 | 説明 | 必須パラメータ |
| フィルターでドキュメントを取得する |
|
| ルートコレクションの一覧 | なし |
| ドキュメントを追加 | JSONオブジェクト |
This server cannot be deployed
Maintenance
Related MCP Connectors
Backend for AI-built apps: database, auth, files, email, AI, payments, deploy, realtime. 170+ tools.
Connects AI assistants to QCDatabase.AI for everyday construction quality-control work.
Interact with your Google Cloud Firestore resources using natural language commands.
Backend for vibe coders. Connect Butterbase to any MCP-compatible AI coding tool and provision a full backend automatically — database, authentication, file storage, edge functions, and real-time — from a natural language prompt. No SQL, no configuration, no backend knowledge required. Free to start at butterbase.ai.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents and LLMs to securely interact with Firestore databases through complete CRUD operations (get, set, add, delete, query) while respecting Firestore Security Rules via the Firebase Client SDK.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Firebase Firestore databases through full CRUD operations, collection management, and advanced query support. It features automatic type conversion for Firestore-specific data and tools for counting or filtering documents.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Firebase services including Authentication, Firestore Database, and Cloud Storage through a standardized MCP protocol.15-
- AlicenseBqualityCmaintenanceExposes Firebase emulator data (Firestore, Auth, Realtime Database, and logs) to AI coding assistants for local development inspection.810 npmMIT