MCP Datastore Server
Enables interaction with Google Cloud Datastore, providing tools for listing entity kinds, retrieving specific entities by key, querying and filtering entities with pagination, and counting entities with optional filters.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Datastore Server list all user entities with status active"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Datastore Server
An MCP (Model Context Protocol) server for Google Cloud Datastore that provides simple query capabilities.
Features
List Kinds: Get all available entity kinds (tables) in your Datastore
Get Entity: Retrieve a specific entity by key
Query Entities: Basic querying with pagination
Filter Entities: Simple equality filtering on any field (including key fields)
Count Entities: Count entities in a kind with optional filtering
Related MCP server: Google Cloud MCP Server
Setup
Install dependencies:
npm installSet up authentication:
Set
GOOGLE_CLOUD_PROJECTenvironment variableSet
GOOGLE_APPLICATION_CREDENTIALSto point to your service account key fileOr use Application Default Credentials (ADC)
Build the project:
npm run buildRun the server:
npm startAvailable Tools
datastore_list_kinds
Lists all available entity kinds in the Datastore.
datastore_get
Gets an entity by its key.
kind: Entity kindkey: Entity key (name or ID)parent: Parent key (optional)
datastore_query
Queries entities with optional pagination.
kind: Entity kind to querylimit: Maximum results (default: 100)offset: Results to skip (default: 0)
datastore_filter
Filters entities by field equality.
kind: Entity kind to queryfield: Field name to filter on (including__key__orkey)value: Value to match exactlylimit: Maximum results (default: 100)
datastore_count
Counts entities in a kind with optional filtering.
kind: Entity kind to countfield: Field name to filter on (optional)value: Value to match exactly (required if field is provided)
Examples
// List kinds
{"name": "datastore_list_kinds", "arguments": {}}
// Get entity
{"name": "datastore_get", "arguments": {"kind": "User", "key": "12345"}}
// Query with pagination
{"name": "datastore_query", "arguments": {"kind": "User", "limit": 10}}
// Filter by field
{"name": "datastore_filter", "arguments": {"kind": "User", "field": "status", "value": "active"}}
// Filter by key
{"name": "datastore_filter", "arguments": {"kind": "User", "field": "__key__", "value": "12345"}}
// Count all entities
{"name": "datastore_count", "arguments": {"kind": "User"}}
// Count with filter
{"name": "datastore_count", "arguments": {"kind": "User", "field": "status", "value": "active"}}Available Tools
5 toolsdatastore_countC
Count entities in a kind, optionally with a filter
Inputs: kind (required), field, value.
datastore_filterC
Query entities with a simple equality filter on any field
Inputs: field (required), kind (required), value (required), limit.
datastore_getC
Get an entity by its key
Inputs: key (required), kind (required), parent.
datastore_list_kindsA
List all available entity kinds (tables) in the Datastore
Inputs: no named parameters.
datastore_queryC
Execute a query on entities with optional filters
Inputs: kind (required), limit, offset.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Most tools have distinct purposes, but datastore_filter and datastore_query overlap significantly in functionality, which could cause confusion. The other tools (count, get, list_kinds) are clearly differentiated, but the boundary between filtering and querying is ambiguous.
All tool names follow a consistent datastore_verb_noun pattern with snake_case, making them predictable and easy to understand. The naming convention is uniform across all five tools, with no deviations in style or structure.
Five tools is a reasonable number for a datastore server, providing core operations like count, get, list, filter, and query. It's slightly lean but covers essential functions without being overwhelming, though it might benefit from additional CRUD operations for completeness.
The toolset includes read operations (get, filter, query, count, list) but lacks create, update, and delete tools, which are fundamental for a datastore's lifecycle. This gap limits agents to querying and reading data without the ability to modify it, making the surface notably incomplete for full datastore management.
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
MCP server for querying and analyzing data from ad platforms, analytics tools, and spreadsheets
Read-only Google Search Console MCP server for AI assistants.
Read-only MCP server for The Quiet Protocol's engines, benchmarks, proof, and business data.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP (Multi-Agent Conversation Protocol) Server providing natural language access to Google's Cloud Datastore services through the v1beta1 API.-
- AlicenseDqualityDmaintenanceAn MCP server that enables querying and interacting with Google Cloud services including Logging, Spanner, Monitoring, and Cloud Trace through natural language.171MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables interaction with Google Firestore in Datastore mode for entity management and querying. It provides tools for CRUD operations, aggregation queries, and transaction execution within Google Cloud projects.11MIT
- AlicenseAqualityDmaintenanceA Python MCP server that retrieves and caches BigQuery metadata (datasets, tables, columns) and enables secure SQL query execution with cost control, file export, and keyword search.6MIT