pocketbase-mcp-server

create_collection

Create a new collection in PocketBase

Input Schema

NameRequiredDescriptionDefault
nameYesCollection name
schemaYesCollection schema fields

Input Schema (JSON Schema)

{ "properties": { "name": { "description": "Collection name", "type": "string" }, "schema": { "description": "Collection schema fields", "items": { "properties": { "name": { "type": "string" }, "options": { "type": "object" }, "required": { "type": "boolean" }, "type": { "type": "string" } }, "type": "object" }, "type": "array" } }, "required": [ "name", "schema" ], "type": "object" }