Firebase Realtime Database
Firebase Echtzeit-Datenbank MCP
Überblick
Die Inspiration für dieses Projekt stammt von firebase-mcp . Im Gegensatz zu firebase-mcp, das Firestore-Funktionen nutzt, nutzt firebase-realtimeDB-mcp die Funktionen von Firebase Realtime Database. Firebase Realtime Database MCP ermöglicht KI-Assistenten die direkte Zusammenarbeit mit Firebase-Diensten.
Related MCP server: Firestore MCP Server
🚀 Schnellstart
Voraussetzungen
Firebase-Projekt mit Service-Konto-Anmeldeinformationen
Node.js-Umgebung
1. Firebase-Konfiguration
Gehen Sie zur Firebase-Konsole → Projekteinstellungen → Dienstkonten
Klicken Sie auf „Neuen privaten Schlüssel generieren“
Speichern Sie die JSON-Datei sicher
2. Umgebungsvariablen
Erforderlich
SERVICE_ACCOUNT_KEY_PATH: Pfad zu Ihrem Firebase-Dienstkontoschlüssel JSONFIREBASE_DATABASE_URL: Firebase-Echtzeitdatenbank-URL
1. Installieren Sie das Firebase Realtime Database MCP-Projekt lokal
A. Führen Sie im Terminal git clone https://github.com/ytzlax/firebase-realtimeDB-mcp.git aus.
B. Wechseln Sie mit cd zum geklonten Pfad und führen Sie npm i aus.
C. Führen Sie npm run build .
2. Installieren Sie den MCP-Server
Fügen Sie die Serverkonfiguration zu Ihrer MCP-Einstellungsdatei hinzu:
Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.jsonErweitern:
~/Library/Application Support/Code/User/settings.jsonCursor:
[project root]/.cursor/mcp.json
Wie verwende ich es mit Claude Desktop?
Folgen Sie der Anleitung https://modelcontextprotocol.io/quickstart/user und fügen Sie die folgende Konfiguration hinzu:
{
"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-Tools
Werkzeug | Beschreibung | Erforderliche Parameter |
| Dokumente per Filter abrufen |
|
| Stammsammlungen auflisten | Keiner |
| Dokument hinzufügen | JSON-Objekt |
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.816 npmMIT