Skip to main content
Glama

microCMS MCP Server

by himaratsu

microcms_upload_media

Upload media files to microCMS via base64 data or external URL using JS SDK. Returns the microCMS asset URL for easy integration, requiring media upload permissions. Supports Team, Business, Advanced, and Enterprise plans.

Instructions

Upload media files to microCMS using JS SDK (Management API). Supports two methods: 1) Upload file data (base64) with filename and mimeType, 2) Upload from external URL. Returns microCMS asset URL. Requires media upload permissions. Available on Team, Business, Advanced, and Enterprise plans.

Input Schema

NameRequiredDescriptionDefault
externalUrlNoExternal URL of the file to upload (alternative to fileData)
fileDataNoBase64 encoded file data (for direct file upload)
fileNameNoFile name with extension (e.g., "image.jpg", "document.pdf") - required when using fileData
mimeTypeNoMIME type of the file (e.g., "image/jpeg", "application/pdf") - required when using fileData

Input Schema (JSON Schema)

{ "properties": { "externalUrl": { "description": "External URL of the file to upload (alternative to fileData)", "type": "string" }, "fileData": { "description": "Base64 encoded file data (for direct file upload)", "type": "string" }, "fileName": { "description": "File name with extension (e.g., \"image.jpg\", \"document.pdf\") - required when using fileData", "type": "string" }, "mimeType": { "description": "MIME type of the file (e.g., \"image/jpeg\", \"application/pdf\") - required when using fileData", "type": "string" } }, "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/himaratsu/microcms-mcp-server'

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