Skip to main content
Glama

PocketBase MCP Server

by fadlee
MIT License
0

create_record

Add new records to PocketBase collections by specifying collection name and field data, with options to control returned fields and expand related records.

Instructions

Create a new record in a collection

Input Schema

NameRequiredDescriptionDefault
collectionYesCollection name
dataYesRecord data with field values matching the collection schema
expandNoComma-separated list of relation fields to expand in the response (e.g. 'author,comments.user')
fieldsNoComma-separated fields to return in the response (e.g. 'id,title,author')

Input Schema (JSON Schema)

{ "properties": { "collection": { "description": "Collection name", "type": "string" }, "data": { "description": "Record data with field values matching the collection schema", "type": "object" }, "expand": { "description": "Comma-separated list of relation fields to expand in the response (e.g. 'author,comments.user')", "type": "string" }, "fields": { "description": "Comma-separated fields to return in the response (e.g. 'id,title,author')", "type": "string" } }, "required": [ "collection", "data" ], "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