Skip to main content
Glama

PocketBase MCP Server

by fadlee
MIT License
0

upload_file_from_url

Upload a file from a URL to attach it to a specific record in a PocketBase collection, enabling remote file integration with database records.

Instructions

Upload a file from URL to a record in PocketBase

Input Schema

NameRequiredDescriptionDefault
collectionYesThe name or ID of the collection
fileFieldYesThe name of the file field in the collection schema
fileNameNoOptional custom name for the uploaded file. If not provided, will extract from URL
recordIdYesThe ID of the record to attach the file to
urlYesThe URL to download the file from

Input Schema (JSON Schema)

{ "properties": { "collection": { "description": "The name or ID of the collection", "type": "string" }, "fileField": { "description": "The name of the file field in the collection schema", "type": "string" }, "fileName": { "description": "Optional custom name for the uploaded file. If not provided, will extract from URL", "type": "string" }, "recordId": { "description": "The ID of the record to attach the file to", "type": "string" }, "url": { "description": "The URL to download the file from", "type": "string" } }, "required": [ "collection", "recordId", "fileField", "url" ], "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