Firestore Native
[!NOTE]
Currently in beta (pre-v1.0), and may see breaking changes until the first stable release (v1.0).
This repository packages MCP Toolbox's prebuilt firestore server as a plugin/extension to interact with Firestore databases. It can be used with various AI agents, including Antigravity, Claude Code and Codex, to manage your databases, collections, and documents using natural language prompts.
[!IMPORTANT]
We Want Your Feedback!
Please share your thoughts with us by filling out our feedback form.
Your input is invaluable and helps us improve the project for everyone.
Table of Contents
Why Use Firestore Native?
- Seamless Workflow: Integrates seamlessly into your AI agent's environment. No need to constantly switch contexts for common database tasks.
- Natural Language Queries: Stop wrestling with complex commands. Explore schemas and query data by describing what you want in plain English.
- Data Management: Manage your Firestore data directly from your agent.
- Code Generation: Accelerate development by asking your agent to generate data classes and other code snippets based on your document structures.
📺 Video Walkthrough
Follow this step-by-step video walkthrough to setup and use the Firestore Native Extension.
Prerequisites
Before you begin, ensure you have the following:
- One of these AI agents installed
- Node.js — the MCP server runs via
npx.
- A Google Cloud project with the Firestore API enabled.
- Ensure Application Default Credentials are available in your environment.
- IAM Permissions:
- Cloud Datastore User (
roles/datastore.user)
- Firebase Rules Viewer (
roles/firebaserules.viewer)
Getting Started
Configuration
Please keep these env vars handy during the installation process:
FIRESTORE_PROJECT: The GCP project ID.
FIRESTORE_DATABASE: (Optional) The Firestore database ID. Defaults to (default).
[!NOTE]
Installation & Usage
To start interacting with your database, install the extension for your preferred AI agent, then launch the agent and use natural language to ask questions or perform tasks.
For the latest version, check the releases page.
Antigravity
You can use either of these two agents for Antigravity: