Advanced PocketBase MCP Server

query_collection

Retrieve and filter data from PocketBase collections using aggregation, sorting, and relation expansion for precise database queries.

Input Schema

NameRequiredDescriptionDefault
aggregateNoAggregation settings
collectionYesCollection name
expandNoRelations to expand
filterNoFilter expression
sortNoSort expression

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "aggregate": { "additionalProperties": { "type": "string" }, "description": "Aggregation settings", "type": "object" }, "collection": { "description": "Collection name", "type": "string" }, "expand": { "description": "Relations to expand", "type": "string" }, "filter": { "description": "Filter expression", "type": "string" }, "sort": { "description": "Sort expression", "type": "string" } }, "required": [ "collection" ], "type": "object" }
ID: 75jh9xb2sg