Introduction

Equip your AI model to query custom document collections inside Google Firebase and Cloud Firestore instances. Provides collection layouts and custom document updates.

Key Capabilities and Features

Below are the main actions this adapter exposes to Model Context Protocol clients:

  • Query collections: Handled dynamically with schema-guaranteed JSON-RPC calls.
  • Update document values: Handled dynamically with schema-guaranteed JSON-RPC calls.
  • Filter nested objects: Handled dynamically with schema-guaranteed JSON-RPC calls.
  • Retrieve subcollections: Handled dynamically with schema-guaranteed JSON-RPC calls.

Sample Use Cases

Here is how development teams utilize this integration:

  1. Mobile companion database audits: Enabling models to execute deep semantic checks and audits contextually.
  2. Live user profile adjustments: Enabling models to execute deep semantic checks and audits contextually.
  3. Automated notification logging: Enabling models to execute deep semantic checks and audits contextually.

Basic Installation and Setup

To plug this into your agent client (e.g., Claude Desktop, Cursor), execute or declare the following parameters coordinate:

npx -y @modelcontextprotocol/server-firestore --credentials path/to/service-account.json

Security Notes and Guidelines

  • Service accounts should be restricted to minimal Firestore rules access.
  • Avoid committing tokens directly to public configurations.
  • Monitor resource limits during autonomous iteration loops.