Firestore Server
Free foreverdevlimelabs · Analytics
772 installs
The Firestore Server MCP gives AI agents secure, permission-controlled access to Firebase Firestore, Google's flexible NoSQL document database, without requiring custom integration code for every assistant you deploy. It exposes full CRUD operations (create, read, update, delete) plus advanced query capabilities — filtering, ordering, pagination, and collection-group queries — so agents can work with real-time application data the same way a backend service would, but through a standardized MCP interface rather than bespoke SDK calls.
This matters for teams whose product data — user profiles, orders, content, session state, feature flags — already lives in Firestore. Instead of writing one-off tool wrappers for Claude, GPT, or Gemini separately, you connect Firestore once through BusinessMCP and every model-agnostic agent you use gets the same governed access path. Permission controls let you scope which collections, fields, or operations an agent can touch, so a support bot might read order records while a data-analysis agent can query aggregates but never write, keeping your production database safe from unintended edits.
Because BusinessMCP unifies this Firestore connection with your other tools, databases, and ad platforms behind one hosted MCP endpoint at /api/mcp, you're not managing a separate Firestore credential set per assistant or per environment. Authenticate once with your mcph_* bearer key, and any agent — whether it's running inside the BusinessMCP growth-suite dashboard or called directly from your own application — can query Firestore documents, join that context with analytics or revenue data from other connected sources, and surface it in the same business-intelligence view. That's especially useful for teams building on Firebase who also want visibility into how AI-driven queries touch their data, without standing up their own MCP infrastructure.
Typical usage spans customer support automation (looking up a user's document by ID and updating status fields), internal ops copilots (querying collections with filters to answer "how many orders are pending in this region"), and data pipeline assistants that read from Firestore and write summarized results back. Because the server speaks native Firestore query semantics — where clauses, compound queries, array-contains, ordering, and limits — agents can perform genuinely useful lookups rather than crude full-collection scans, and the permission layer means you can hand this capability to an agent with confidence rather than exposing raw database credentials.
If your stack already includes other databases, the value compounds: pair Firestore with a relational store like Postgres or Neon for transactional data, or Redis/Upstash for caching and session state, all exposed through the same hosted MCP server and dashboard. Agents can then reason across document data and relational or key-value data in a single conversation, and your BI dashboard reflects usage and access patterns across every connected source — cookieless, GDPR-friendly, and without locking you into a single AI vendor.
Just say it in a thread
No configs, no docs. Once connected, these are the kinds of messages your agents act on.
"Retrieve a single firestore document by collection and document id — and give me the highlights."
"Run filtered, ordered, and paginated queries against a firestore collection or collection group for me, then post a summary in the thread."
"Add a new document with specified fields to a firestore collection and flag anything that needs my approval."
What teams use it for
- Let a customer support agent look up and update a user's order document by ID within permitted collections
- Enable an internal ops copilot to run filtered, ordered queries against Firestore collections to answer operational questions
- Feed Firestore document data into the BusinessMCP BI dashboard alongside other connected data sources for unified reporting
- Allow a data pipeline agent to read raw documents, transform them, and write summarized results back to a separate collection
- Restrict a read-only analytics agent to query aggregates while blocking write access to production Firestore data
Agent-callable tools
get_document
Retrieve a single Firestore document by collection and document ID.
query_collection
Run filtered, ordered, and paginated queries against a Firestore collection or collection group.
create_document
Add a new document with specified fields to a Firestore collection.
update_document
Modify specific fields on an existing Firestore document without overwriting the whole record.
delete_document
Remove a document from Firestore by collection and document ID, subject to permission scope.
list_collections
List available Firestore collections and subcollections the current agent is permitted to access.
batch_write
Perform multiple create, update, or delete operations across documents in a single atomic batch.
count_documents
Return a count of documents in a collection matching optional filter criteria.
Your data stays yours
Credentials live in your vault. We route requests — we never store, log, or train on your data.
Works with every AI
Connect once — portable across Claude, GPT, Gemini, and every local agent you run.
Pairs well with
Best Analytics MCP serversMongoDB
mongodb
MongoDB database integration for document operations, aggregation pipelines, and Atlas management.
PostgreSQL
modelcontextprotocol
Direct PostgreSQL database access with read-only queries, schema inspection, and safe query execution.
Neon Database
neon
Serverless PostgreSQL with branching. Create databases, run queries, and manage branches for development workflows.
Redis
modelcontextprotocol
Redis database integration for caching, pub/sub, and key-value operations through MCP.
Upstash
upstash
Serverless Redis and Kafka integration. Manage key-value data, message queues, and real-time data streams.
Frequently asked questions
Does this MCP server give agents full write access to my Firestore database by default?
No — access is permission-controlled, so you configure which collections, fields, and operations (read, write, delete) each agent or key is allowed to use.
Can I connect Firestore alongside other databases in the same MCP setup?
Yes, BusinessMCP lets you connect Firestore together with sources like Postgres, MongoDB, or Redis behind one hosted MCP endpoint, so agents can query across them in a single session.
How do AI agents actually call this Firestore integration?
Once connected, any model-agnostic agent (Claude, GPT, Gemini) can call the exposed Firestore tools through your company's /api/mcp endpoint using a bearer mcph_* key, without needing a Firebase-specific SDK.
Keep exploring
Give your AI team the Firestore Server skill
Free forever plan, no credit card. Connected and working in under five minutes.
Connect Firestore Server free