Skip to main content
Glama

microCMS MCP Server

by microcmsio

microcms_update_content_draft

Update microCMS content as a draft using a PUT request. Specify fields like text, rich editor HTML, image URLs, dates, select options, or content references in the correct formats, including arrays for multiple items.

Instructions

Update content in microCMS (PUT - full update) as draft. Field type specifications: Image fields require URLs from the same microCMS service (e.g., "https://images.microcms-assets.io/assets/xxx/yyy/sample.png"). Multiple image fields use array format. Rich editor fields expect HTML strings. Date fields use ISO 8601 format. Select fields use arrays. Content reference fields use contentId strings or arrays for multiple references.

Input Schema

NameRequiredDescriptionDefault
contentYesContent data to update (JSON object). Field formats: text="string", richEditor="<h1>HTML</h1>", image="https://images.microcms-assets.io/...", multipleImages=["url1","url2"], date="2020-04-23T14:32:38.163Z", select=["option1","option2"], contentReference="contentId" or ["id1","id2"].
contentIdYesContent ID to update
endpointYesContent type name (e.g., "blogs", "news")

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Content data to update (JSON object). Field formats: text=\"string\", richEditor=\"<h1>HTML</h1>\", image=\"https://images.microcms-assets.io/...\", multipleImages=[\"url1\",\"url2\"], date=\"2020-04-23T14:32:38.163Z\", select=[\"option1\",\"option2\"], contentReference=\"contentId\" or [\"id1\",\"id2\"].", "type": "object" }, "contentId": { "description": "Content ID to update", "type": "string" }, "endpoint": { "description": "Content type name (e.g., \"blogs\", \"news\")", "type": "string" } }, "required": [ "endpoint", "contentId", "content" ], "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