Skip to main content
Glama

PocketBase MCP Server

by fadlee
MIT License
0

generate_pb_schema

Convert TypeScript interfaces or database diagrams into PocketBase schema definitions to streamline database setup and ensure structural consistency.

Instructions

Generate a PocketBase schema based on TypeScript interfaces or database diagram

Input Schema

NameRequiredDescriptionDefault
optionsNoGeneration options
sourceCodeYesTypeScript interface or database diagram to convert to PocketBase schema

Input Schema (JSON Schema)

{ "properties": { "options": { "description": "Generation options", "properties": { "includeAuthentication": { "description": "Whether to include authentication related collections", "type": "boolean" }, "includeTimestamps": { "description": "Whether to include created/updated timestamps", "type": "boolean" } }, "type": "object" }, "sourceCode": { "description": "TypeScript interface or database diagram to convert to PocketBase schema", "type": "string" } }, "required": [ "sourceCode" ], "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/fadlee/pocketbase-mcp'

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