Skip to main content
Glama

PocketBase MCP Server

by mabeldata

create_collection_migration

Generate a migration file to define and create a new PocketBase collection, including its schema, fields, and rules, for structured database management.

Instructions

Create a migration file specifically for creating a new PocketBase collection.

Input Schema

NameRequiredDescriptionDefault
collectionDefinitionYesThe full schema definition for the new collection (including name, id, fields, rules, etc.).
descriptionNoOptional description override for the filename.

Input Schema (JSON Schema)

{ "properties": { "collectionDefinition": { "additionalProperties": true, "description": "The full schema definition for the new collection (including name, id, fields, rules, etc.).", "required": [ "name", "id" ], "type": "object" }, "description": { "description": "Optional description override for the filename.", "type": "string" } }, "required": [ "collectionDefinition" ], "type": "object" }

You must be authenticated.

Other Tools from PocketBase MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mabeldata/pocketbase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server