Skip to main content
Glama

microCMS MCP Server

by microcmsio

microcms_upload_media

Upload media files to microCMS via JS SDK. Supports direct uploads with base64 data, filename, and mimeType, or imports from an external URL. Returns the microCMS asset link for integration. Requires media upload permissions.

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/microcmsio/microcms-mcp-server'

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