Firebase Realtime Database

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

  1. Gehen Sie zur Firebase-Konsole → Projekteinstellungen → Dienstkonten
  2. Klicken Sie auf „Neuen privaten Schlüssel generieren“
  3. Speichern Sie die JSON-Datei sicher

2. Umgebungsvariablen

Erforderlich
  • SERVICE_ACCOUNT_KEY_PATH : Pfad zu Ihrem Firebase-Dienstkontoschlüssel JSON
  • FIREBASE_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-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

WerkzeugBeschreibungErforderliche Parameter
get_documents_by_filterDokumente per Filter abrufencollectionName , field , value
list_collectionsStammsammlungen auflistenKeiner
add_docDokument hinzufügenJSON-Objekt
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Firebase Echtzeitdatenbank

  1. Überblick
    1. 🚀 Schnellstart
      1. Voraussetzungen
      2. Firebase-Konfiguration
      3. Umgebungsvariablen
      4. Installieren Sie das Firebase Realtime Database MCP-Projekt lokal
      5. Installieren Sie den MCP-Server
      6. Wie verwende ich es mit Claude Desktop?
      7. Firebase-Tools

    Related MCP Servers

    • A
      security
      F
      license
      A
      quality
      A server providing a unified interface to interact with Firebase services, including Authentication, Firestore, and Storage.
      Last updated -
      9
      7
      TypeScript
    • A
      security
      A
      license
      A
      quality
      The Firebase MCP server provides a standardized interface to interact with Firebase services, including Firebase Authentication, Firestore, and Firebase Storage.
      Last updated -
      9
      1,506
      128
      TypeScript
      MIT License
      • Apple
    • -
      security
      A
      license
      -
      quality
      A 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 SQLite
      Last updated -
      26
      Python
      GPL 3.0
      • Linux
      • Apple
    • -
      security
      A
      license
      -
      quality
      A 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 -
      48
      2
      JavaScript
      MIT License

    View all related MCP servers

    ID: 2raz51juv2