Title: MCP Reference: firestore.googleapis.com | Firestore | Google Cloud Documentation
URL Source: https://docs.cloud.google.com/firestore/docs/reference/mcp
Markdown Content:
Skip to main content
Documentation
close
More
/
Console
Sign in
Start free
OverviewGuidesReferenceSamplesResourcesMore
Mobile/Web client libraries
* Security rules reference
* Android reference
* iOS — Swift reference
* iOS — Objective-C reference
* Web reference
Server client libraries
* C# reference
* Go reference
* Java reference
* Node.js reference
* PHP reference
* Python reference
* Ruby reference
REST reference
* Overview
*
v1beta1
* REST Resources
*
projects.databases
* Overview
* exportDocuments
* importDocuments
*
projects.databases.documents
* Overview
* batchGet
* batchWrite
* beginTransaction
* commit
* createDocument
* delete
* executePipeline
* get
* list
* listCollectionIds
* listDocuments
* listen
* partitionQuery
* patch
* rollback
* runAggregationQuery
* runQuery
* write
*
projects.databases.indexes
* Overview
* create
* delete
* get
* list
* Types
* [Cursor](https://docs.cloud.google.com/firestore/docs/reference/rest/v1beta1/Cursor)
* [DocumentMask](https://docs.cloud.google.com/firestore/docs/reference/rest/v1beta1/DocumentMask)
* [ExplainMetrics](https://docs.cloud.google.com/firestore/docs/reference/rest/v1beta1/ExplainMetrics)
* [ExplainOptions](https://docs.cloud.google.com/firestore/docs/reference/rest/v1beta1/ExplainOptions)
* [FieldReference](https://docs.cloud.google.com/firestore/docs/reference/rest/v1beta1/FieldReference)
* [ListDocumentsResponse](https://docs.cloud.google.com/firestore/docs/reference/rest/v1beta1/ListDocumentsResponse)
* [Precondition](https://docs.cloud.google.com/firestore/docs/reference/rest/v1beta1/Precondition)
* [StructuredQuery](https://docs.cloud.google.com/firestore/docs/reference/rest/v1beta1/StructuredQuery)
* [TransactionOptions](https://docs.cloud.google.com/firestore/docs/reference/rest/v1beta1/TransactionOptions)
* [Write](https://docs.cloud.google.com/firestore/docs/reference/rest/v1beta1/Write)
* [WriteResult](https://docs.cloud.google.com/firestore/docs/reference/rest/v1beta1/WriteResult)
*
v1beta2
* REST Resources
*
projects.databases
* Overview
* exportDocuments
* importDocuments
*
projects.databases.collectionGroups.fields
* Overview
* get
* list
* patch
*
projects.databases.collectionGroups.indexes
* Overview
* create
* delete
* get
* list
*
v1
* REST Resources
*
projects.databases
* Overview
* bulkDeleteDocuments
* clone
* create
* delete
* exportDocuments
* get
* importDocuments
* list
* patch
* restore
*
projects.databases.backupSchedules
* Overview
* create
* delete
* get
* list
* patch
*
projects.databases.collectionGroups.fields
* Overview
* get
* list
* patch
*
projects.databases.collectionGroups.indexes
* Overview
* delete
* get
* list
*
projects.databases.documents
* Overview
* batchGet
* batchWrite
* beginTransaction
* commit
* createDocument
* delete
* executePipeline
* get
* list
* listCollectionIds
* listDocuments
* partitionQuery
* patch
* rollback
* runAggregationQuery
* runQuery
*
projects.databases.operations
* Overview
* cancel
* delete
* get
* list
*
projects.databases.userCreds
* Overview
* create
* delete
* disable
* enable
* get
* list
* resetPassword
*
projects.locations
* Overview
* get
* list
*
projects.locations.backups
* Overview
* delete
* get
* list
* Types
* [Cursor](https://docs.cloud.google.com/firestore/docs/reference/rest/v1/Cursor)
* [DocumentMask](https://docs.cloud.google.com/firestore/docs/reference/rest/v1/DocumentMask)
* [EncryptionConfig](https://docs.cloud.google.com/firestore/docs/reference/rest/v1/EncryptionConfig)
* [ExplainMetrics](https://docs.cloud.google.com/firestore/docs/reference/rest/v1/ExplainMetrics)
* [ExplainOptions](https://docs.cloud.google.com/firestore/docs/reference/rest/v1/ExplainOptions)
* [FieldReference](https://docs.cloud.google.com/firestore/docs/reference/rest/v1/FieldReference)
* [ListDocumentsResponse](https://docs.cloud.google.com/firestore/docs/reference/rest/v1/ListDocumentsResponse)
* [Precondition](https://docs.cloud.google.com/firestore/docs/reference/rest/v1/Precondition)
* [StructuredQuery](https://docs.cloud.google.com/firestore/docs/reference/rest/v1/StructuredQuery)
* [TransactionOptions](https://docs.cloud.google.com/firestore/docs/reference/rest/v1/TransactionOptions)
* [Write](https://docs.cloud.google.com/firestore/docs/reference/rest/v1/Write)
* [WriteResult](https://docs.cloud.google.com/firestore/docs/reference/rest/v1/WriteResult)
*
Shared.Types
* Types
* ApiScope
* ArrayConfig
* ArrayValue
* BulkDeleteDocumentsMetadata
* BulkDeleteDocumentsResponse
* ChangeType
* CloneDatabaseMetadata
* CreateDatabaseMetadata
* CreateIndexRequest
* DeleteDatabaseMetadata
* Density
* ExportDocumentsMetadata
* ExportDocumentsResponse
* FieldOperationMetadata
* ImportDocumentsMetadata
* Index
* IndexOperationMetadata
* LatLng
* LocationMetadata
* Operation
* OperationState
* OperationType
* Order
* Progress
* QueryScope
* RestoreDatabaseMetadata
* State
* TextIndexType
* TextMatchType
* UpdateDatabaseMetadata
* WaitOperationRequest
MCP reference
* Overview
*
Tools
* get_document
* add_document
* update_document
* delete_document
* list_documents
* list_collections
* create_database
* get_database
* list_databases
* update_database
* delete_database
* create_index
* get_index
* list_indexes
* delete_index
* get_backup
* list_backups
* delete_backup
* create_backup_schedule
* get_backup_schedule
* list_backup_schedules
* update_backup_schedule
* delete_backup_schedule
RPC reference
* Overview
* google.cloud.location
* google.firestore.admin.v1
* google.firestore.admin.v1beta1
* google.firestore.admin.v1beta2
* google.firestore.v1
* google.firestore.v1beta1
* google.longrunning
* google.rpc
* google.type
Was this helpful?
Send feedback
MCP Reference: firestore.googleapis.com Stay organized with collections Save and categorize content based on your preferences.
Firestore MCP Server provides tools to interact with Firestore.
A Model Context Protocol (MCP) server acts as a proxy between an external service that provides context, data, or capabilities to a Large Language Model (LLM) or AI application. MCP servers connect AI applications to external systems such as databases and web services, translating their responses into a format that the AI application can understand.
Server Setup
You must enable MCP servers and set up authentication before use. For more information about using Google and Google Cloud remote MCP servers, see Google Cloud MCP servers overview.
Server Endpoints
An MCP service endpoint is the network address and communication interface (usually a URL) of the MCP server that an AI application (the Host for the MCP client) uses to establish a secure, standardized connection. It is the point of contact for the LLM to request context, call a tool, or access a resource. Google MCP endpoints can be global or regional.
The Cloud Firestore API MCP server has the following global MCP endpoint:
MCP Tools
An MCP tool is a function or executable capability that an MCP server exposes to a LLM or AI application to perform an action in the real world.
Tools
The firestore.googleapis.com MCP server has the following tools:
| MCP Tools |
|---|
get_document |
add_document |
update_document |
delete_document |
list_documents |
list_collections |
create_database |
get_database |
list_databases |
update_database |
delete_database |
create_index |
get_index |
list_indexes |
delete_index |
get_backup |
list_backups |
delete_backup |
create_backup_schedule |
get_backup_schedule |
list_backup_schedules |
update_backup_schedule |
delete_backup_schedule |
Get MCP tool specifications
To get the MCP tool specifications for all tools in an MCP server, use the tools/list method. The following example demonstrates how to use curl to list all tools and their specifications currently available within the MCP server.
| Curl Request |
|---|
| curl --location 'https://firestore.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/list", "jsonrpc": "2.0", "id": 1 }' |
Was this helpful?
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-09-10 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-09-10 UTC."],[],[]]
-
Products and pricing
-
Support
-
Resources
-
Engage