Skip to main content
Glama
fadlee

PocketBase MCP Server

by fadlee
auth.ts1.55 kB
/** * Tool input schemas for authentication-related operations */ export const authenticateUserSchema = { type: "object", properties: { collection: { type: "string", description: "Auth collection name (default: 'users')", }, email: { type: "string", description: "User email or identity field value", }, password: { type: "string", description: "User password", }, autoRefreshThreshold: { type: "number", description: "Time in seconds that will trigger token auto refresh before its expiration (default: 30 minutes)", }, }, required: ["email", "password"], }; export const createUserSchema = { type: "object", properties: { collection: { type: "string", description: "Auth collection name (default: 'users')", }, email: { type: "string", description: "User email", }, password: { type: "string", description: "User password", }, passwordConfirm: { type: "string", description: "Password confirmation (must match password)", }, verified: { type: "boolean", description: "Whether the user is verified (default: false)", }, emailVisibility: { type: "boolean", description: "Whether the user email is publicly visible (default: false)", }, additionalData: { type: "object", description: "Additional user data fields specific to your auth collection", }, }, required: ["email", "password", "passwordConfirm"], };

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