Skip to main content
Glama
ytzlax

Firebase Realtime Database

by ytzlax

Firebase 실시간 데이터베이스 MCP

개요

이 프로젝트의 영감은 firebase-mcp 에서 얻었습니다. Firestore 기능을 사용하는 firebase-mcp와 달리 firebase-realtimeDB-mcp는 Firebase 실시간 데이터베이스 기능을 사용합니다. Firebase 실시간 데이터베이스 MCP를 사용하면 AI 어시스턴트가 Firebase 서비스를 직접 사용할 수 있습니다.

Related MCP server: Firestore MCP Server

🚀 빠른 시작

필수 조건

  • 서비스 계정 자격 증명이 있는 Firebase 프로젝트

  • Node.js 환경

1. Firebase 구성

  1. Firebase 콘솔 → 프로젝트 설정 → 서비스 계정으로 이동하세요.

  2. "새로운 개인 키 생성"을 클릭하세요

  3. JSON 파일을 안전하게 저장하세요

2. 환경 변수

필수의

  • SERVICE_ACCOUNT_KEY_PATH : Firebase 서비스 계정 키 JSON 경로

  • FIREBASE_DATABASE_URL : Firebase 실시간 데이터베이스 URL

1. Firebase 실시간 데이터베이스 MCP 프로젝트를 로컬에 설치합니다.

A. 터미널에서 git clone https://github.com/ytzlax/firebase-realtimeDB-mcp.git 실행합니다.
B. 복제된 경로로 cd하고 npm i 실행합니다.
C. npm run build 실행합니다.

2. MCP 서버 설치

MCP 설정 파일에 서버 구성을 추가합니다.

  • Claude 데스크톱: ~/Library/Application Support/Claude/claude_desktop_config.json

  • 확장: ~/Library/Application Support/Code/User/settings.json

  • 커서: [project root]/.cursor/mcp.json

Claude Desktop과 함께 사용하는 방법?

https://modelcontextprotocol.io/quickstart/user 가이드를 따르고 다음 구성을 추가하세요.

지엑스피1

Firebase 도구

도구

설명

필수 매개변수

get_documents_by_filter

필터로 문서 가져오기

collectionName , field , value

list_collections

루트 컬렉션 나열

없음

add_doc

문서 추가

JSON 객체

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    1
    MIT