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 |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
The backend and back office for apps your AI writes: accounts, data, payments, content, real-time.
Manage FireCMS Cloud from an AI agent: Firestore data, collections, schemas and users.
Store, query, and update structured data from any AI agent
Backend for AI-built apps: database, auth, files, email, AI, payments, deploy, realtime. 170+ tools.
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-
- AlicenseBqualityDmaintenanceExposes Firebase emulator data (Firestore, Auth, Realtime Database, and logs) to AI coding assistants for local development inspection.813 npmMIT