Skip to main content
Glama

upload_image_batch

Upload multiple images to a Supabase Storage bucket using file paths or base64 data, organizing them in specified folders with batch tracking for efficient image management.

Instructions

Upload multiple images to designated bucket and folder (supports both file paths and base64 data)

Input Schema

NameRequiredDescriptionDefault
batch_idYesUnique batch identifier
bucket_nameYesTarget bucket name
folder_prefixYesFolder organization (original/processed)
image_dataNoBase64 encoded image data (for Claude Desktop compatibility)
image_pathsNoLocal file paths to upload (for local testing)
user_idYesUser identifier

Input Schema (JSON Schema)

{ "properties": { "batch_id": { "description": "Unique batch identifier", "maxLength": 64, "type": "string" }, "bucket_name": { "description": "Target bucket name", "maxLength": 63, "minLength": 3, "type": "string" }, "folder_prefix": { "description": "Folder organization (original/processed)", "maxLength": 100, "type": "string" }, "image_data": { "description": "Base64 encoded image data (for Claude Desktop compatibility)", "items": { "additionalProperties": false, "properties": { "content": { "description": "Base64 encoded file content", "maxLength": 67108864, "type": "string" }, "filename": { "description": "Original filename with extension", "maxLength": 255, "type": "string" }, "mime_type": { "description": "MIME type of the file", "enum": [ "image/jpeg", "image/png", "image/webp", "image/gif" ], "type": "string" } }, "required": [ "filename", "content", "mime_type" ], "type": "object" }, "maxItems": 500, "minItems": 1, "type": "array" }, "image_paths": { "description": "Local file paths to upload (for local testing)", "items": { "maxLength": 4096, "type": "string" }, "maxItems": 500, "minItems": 1, "type": "array" }, "user_id": { "description": "User identifier", "maxLength": 36, "type": "string" } }, "required": [ "bucket_name", "batch_id", "folder_prefix", "user_id" ], "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/Desmond-Labs/supabase-storage-mcp'

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