Skip to content

Superlite CMS

Create, edit and publish through MCP

Use the content ID and the current working version to edit the correct page and preserve another editor’s changes.

Find the item

Call list_content. Results are paginated; advance offset until you have checked all relevant items. Match the title and public path, then call get_content with the ID. Read its current working_version and blocks before deciding what to change.

Create or edit a draft

For a new page, call create_draft with title, slug and paragraphs or sections. Use type article only if Articles is active. From MCP 0.3.0 you can provide a nested route and ordered heading, paragraph and link sections. For an existing draft, call edit_draft with id and version. Sections in an edit are appended. To change one existing paragraph, use its current block_index and block_text.

Example handoff

Ask: “Draft an About page at /about/ with one paragraph about our opening hours. Leave it unpublished.” Review the draft in Superlite. When publication is authorized, read the current version again, call publish_content with the ID and version, and open the public path. A version conflict means someone changed the draft. Read the new version and reconcile the change before retrying.

Check publication

Verify the public heading, body and links in a signed-out request. For an article, also check its archive listing. For a new guide, add a labeled link from the section overview and verify both directions. Changing a working draft alone does not rebuild its live text.

Related documentation

Publishing and builds

MCP module guide

Superlite handbook