Integration

Firestore integration

Google Cloud Firestore NoSQL document database REST API. Create, read, update, and delete documents, run structured queries, manage collections, and handle real-time data with strong consistency and ACID transactions.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Firestore.Built from the 22 Firestore tools below, on the connection you add once.

Common Firestore use cases

  • list databases in a project
  • execute commit programmatically
  • execute run query programmatically
  • execute list index programmatically
  • execute batch write programmatically
  • execute create index programmatically
  • execute get database programmatically
  • execute get document programmatically
  • execute list document programmatically
  • execute create database programmatically

What you can do with Firestore

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Batch get document, 1 operation

  • batch_get_documentsBatch get documentsPOSTGets multiple documents in a single request. Returns results in an unspecified order.

Batch write, 1 operation

  • batch_writeBatch writePOSTApplies multiple writes atomically, without transaction guarantees. Writes are applied in order.

Begin transaction, 1 operation

  • begin_transactionBegin transactionPOSTStarts a new transaction and returns a transaction ID to use in subsequent read/write operations.

Commit, 1 operation

  • commitCommitPOSTCommits a transaction, applying all writes within the transaction atomically.

Create database, 1 operation

  • create_databaseCreate databasePOSTCreates a new Firestore database in the specified project.

Create document, 1 operation

  • create_documentCreate documentPOSTCreates a new document in the specified collection.

Create index, 1 operation

  • create_indexCreate indexPOSTCreates a composite index for a collection group. Returns a long-running operation.

Database, 1 operation

  • list_databasesList databasesGETLists all databases in a Google Cloud project.

Delete database, 1 operation

  • delete_databaseDelete databaseDELETEDeletes a Firestore database and all its documents.

Delete document, 1 operation

  • delete_documentDelete documentDELETEDeletes a document from Firestore.

Export document, 1 operation

  • export_documentsExport documentsPOSTExports a copy of all or a subset of documents from Firestore to Cloud Storage.

Get database, 1 operation

  • get_databaseGet databaseGETGets information about a Firestore database.

Get document, 1 operation

  • get_documentGet documentGETGets a single document from Firestore by its full path.

Import document, 1 operation

  • import_documentsImport documentsPOSTImports documents into Firestore from a Cloud Storage export.

List collection id, 1 operation

  • list_collection_idsList collection idsPOSTLists all the collection IDs underneath a document.

List document, 1 operation

  • list_documentsList documentsGETLists documents in a collection.

List index, 1 operation

  • list_indexesList indexesGETLists the composite indexes defined for a collection group.

Rollback transaction, 1 operation

  • rollback_transactionRollback transactionPOSTRolls back a transaction, discarding all pending writes.

Run aggregation query, 1 operation

  • run_aggregation_queryRun aggregation queryPOSTRuns an aggregation query (e.g. COUNT) over a collection or collection group.

Run query, 1 operation

  • run_queryRun queryPOSTRuns a structured query against Firestore documents.

Update database, 1 operation

  • update_databaseUpdate databasePATCHUpdates the configuration of an existing Firestore database.

Update document, 1 operation

  • update_documentUpdate documentPATCHUpdates or inserts a document. A patch operation; only provided fields are updated.

OAuth scopes Firestore requires

Each operation declares the scopes Firestore requires for it.

  • https://www.googleapis.com/auth/datastoreneeded by batch_get_documents, batch_write, begin_transaction and 19 more

Use Firestore from Claude Code, Cursor or Codex

Connect Firestore in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Firestore operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Firestore

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Firestore once

    Add your Firestore connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Firestore integration FAQ

What can you do with the Firestore integration?

LiveContext exposes 22 operations on Firestore, covering batch get document, batch write, begin transaction and commit. Common uses include list databases in a project, execute commit programmatically and execute run query programmatically.

Which OAuth scopes does Firestore require?

The operations that declare a scope all need https://www.googleapis.com/auth/datastore.

Popular integrations

Browse the whole catalog