Firebase Realtime Database
Provides tools for interacting with Firebase Realtime Database, enabling operations like getting filtered documents, listing collections, and adding documents to the database.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Firebase Realtime Databaseget all users with status 'active' from the users collection"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Firebase Realtime Database MCP
Overview
The inspiration for this project was taken from firebase-mcp. Unlike firebase-mcp, which uses Firestore functionalities, firebase-realtimeDB-mcp uses Firebase Realtime Database functionalities. Firebase Realtime Database MCP enables AI assistants to work directly with Firebase services.
Related MCP server: Firebase MCP
π Quick Start
Prerequisites
Firebase project with service account credentials
Node.js environment
1. Firebase Configuration
Go to Firebase Console β Project Settings β Service Accounts
Click "Generate new private key"
Save the JSON file securely
2. Environment Variables
Required
SERVICE_ACCOUNT_KEY_PATH: Path to your Firebase service account key JSONFIREBASE_DATABASE_URL: Firebase realtime database URL
1. Install Firebase Realtime Database MCP project locally
A. Run git clone https://github.com/ytzlax/firebase-realtimeDB-mcp.git in the terminal.
B. cd to the cloned path, and run npm i.
C. Run npm run build.
2. Install MCP Server
Add the server configuration to your MCP settings file:
Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.jsonAugment:
~/Library/Application Support/Code/User/settings.jsonCursor:
[project root]/.cursor/mcp.json
How to use with Claude Desktop?
Follow the guide https://modelcontextprotocol.io/quickstart/user and add the following configuration:
{
"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
Tool | Description | Required Parameters |
| Get documents by filter |
|
| List root collections | None |
| Add Document | json object |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA server providing a unified interface to interact with Firebase services, including Authentication, Firestore, and Storage.Last updated99410MIT
- Alicense-qualityFmaintenanceThe Firebase MCP server provides a standardized interface to interact with Firebase services, including Firebase Authentication, Firestore, and Firebase Storage.Last updated403247MIT
- Flicense-qualityDmaintenanceAn MCP Server that provides natural language access to Google's Firebase Realtime Database API, enabling database operations and management through conversation.Last updated
- Alicense-qualityDmaintenanceEnables 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.Last updated1MIT
Related MCP Connectors
Manage Supabase projects end to end across database, auth, storage, realtime, and migrations. Moniβ¦
MCP server for InsForge BaaS β database, storage, edge functions, and deployments
Digital account and billing on Asaas with the full official REST API v3 (api.asaas.com), balance, ch
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ytzlax/firebase-realtimeDB-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server