Integrations
Provides tools for interacting with Firebase Realtime Database, enabling operations like getting filtered documents, listing collections, and adding documents to the 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.
🚀 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.json
- Erweitern:
~/Library/Application Support/Code/User/settings.json
- Cursor:
[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-Tools
Werkzeug | Beschreibung | Erforderliche Parameter |
---|---|---|
get_documents_by_filter | Dokumente per Filter abrufen | collectionName , field , value |
list_collections | Stammsammlungen auflisten | Keiner |
add_doc | Dokument hinzufügen | JSON-Objekt |
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 Echtzeitdatenbank
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