logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cloud-datastore-interface-gateway

Facilitates robust interaction with Google's Firestore database, enabling streamlined document lifecycle management including creation, retrieval, modification, erasure, and sophisticated data querying with customizable constraints.

Author

cloud-datastore-interface-gateway logo

gitskyflux

MIT License

Quick Info

GitHub GitHub Stars 1
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

firestoredocumentsgitskyfluxfirestore mcpfirestore managegitskyflux firestore

Cloud Datastore Interface Gateway (MCP Implementation)

This module serves as an MCP (Model Context Protocol) access layer, specifically engineered to interface directly with the Google Cloud Firestore NoSQL database service. It furnishes a standardized, clean API surface accessible via the Claude Desktop environment for all fundamental data operations.

Core Capabilities

  • Initiate new records within designated Firestore collections.
  • Fetch existing records identified by their unique keys from collections.
  • Execute in-place modifications to current document contents.
  • Permanently remove specified documents.
  • Perform complex data retrieval operations incorporating predicate filtering, sorting directives, and result count limitations.
  • Enumerate all currently active collections within the configured project(s).

Deployment Instructions

  1. Prerequisite Installation: Secure necessary project dependencies:

    npm install

  2. Compilation Step: Generate the executable output:

    npm run build

  3. Configuration for Claude Desktop: Integrate the following stanza into your claude_desktop_config.json file:

    "firestore-mcp": { "command": "node", "args": [ "/path/to/firestore-mcp/build/index.js" ], "env": { "GOOGLE_CLOUD_PROJECTS": "project-alpha,project-beta" } }

    Substitute /path/to/firestore-mcp/build/index.js with the actual compiled entry point. Populate GOOGLE_CLOUD_PROJECTS with a comma-delimited string of target GCP project identifiers; the first listed ID establishes the default scope.

    Authentication Prerequisite: The system necessitates corresponding service account credential files (e.g., project-alpha.json) to reside within a local keys/ directory structure for each specified project ID. Ensure the associated service account possesses requisite IAM roles, such as Cloud Datastore Owner or equivalent permissions, to permit Firestore interaction.

Exposed Functional Endpoints

  • fetchRecord: Retrieves a single data entry using its collection path and unique identifier.
  • injectRecord: Posts a newly structured document into a specified collection.
  • modifyRecord: Overwrites or merges specified fields within an existing document.
  • purgeRecord: Removes a document instance from its collection.
  • searchRecords: Executes filtered, ordered, and optionally limited searches across documents.
  • catalogCollections: Provides a manifest of all accessible data collections.

Operational Examples (via Claude Desktop Prompts)

Retrieving Data

Example: "Fetch the user record identified as 'user123' residing within the 'users' collection."

Data Ingestion

Example: "Insert a new record into the 'clients' collection containing the payload: {\"name\": \"Jane Smith\", \"status\": \"Active\"}."

Record Modification

Example: "Apply an update to document 'user123' in the 'users' collection to set the 'status' field to 'Inactive'."

Data Deletion

Example: "Execute the removal of document 'user123' from the 'users' collection."

Complex Data Retrieval

Example: "Locate all entries in the 'products' collection where the price exceeds 100, sorted descending by creation date."

Collection Listing

Example: "Generate a list of all available collection identifiers."

Maintenance Mode

  • Real-time Monitoring: npm run dev

WIKIPEDIA: Management solutions encompass the array of applications, control mechanisms, computational frameworks, and methodological approaches utilized by enterprises to effectively navigate shifting market dynamics, maintain competitive viability, and elevate operational efficacy. These systems are broadly categorized across departmental functions such as strategic foresight, workflow automation, information stewardship, personnel oversight, and analytical decision support.

See Also

`