Skip to main content
Glama
fadlee

PocketBase MCP Server

by fadlee
generation.ts1.23 kB
/** * Tool input schemas for code generation operations */ export const generatePbSchemaSchema = { type: "object", properties: { sourceCode: { type: "string", description: "TypeScript interface or database diagram to convert to PocketBase schema", }, options: { type: "object", description: "Generation options", properties: { includeAuthentication: { type: "boolean", description: "Whether to include authentication related collections", }, includeTimestamps: { type: "boolean", description: "Whether to include created/updated timestamps", }, }, }, }, required: ["sourceCode"], }; export const generateTypescriptInterfacesSchema = { type: "object", properties: { collections: { type: "array", description: "Collection names to generate interfaces for (empty for all)", items: { type: "string", }, }, options: { type: "object", description: "Generation options", properties: { includeRelations: { type: "boolean", description: "Whether to include relation types", }, }, }, }, };

Implementation Reference

Latest Blog Posts

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