Skip to main content
Glama

PocketBase MCP Server

by mabeldata

add_field_migration

Generate a migration file to add a new field to an existing collection in PocketBase. Specify the collection name or ID and define the field schema for automated integration.

Instructions

Create a migration file for adding a field to an existing collection.

Input Schema

NameRequiredDescriptionDefault
collectionNameOrIdYesThe name or ID of the collection to update.
descriptionNoOptional description override for the filename.
fieldDefinitionYesThe schema definition for the new field.

Input Schema (JSON Schema)

{ "properties": { "collectionNameOrId": { "description": "The name or ID of the collection to update.", "type": "string" }, "description": { "description": "Optional description override for the filename.", "type": "string" }, "fieldDefinition": { "additionalProperties": true, "description": "The schema definition for the new field.", "required": [ "name", "type" ], "type": "object" } }, "required": [ "collectionNameOrId", "fieldDefinition" ], "type": "object" }

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