answer.cloud CMS

answer.cloud MCP: CMS Tools

Define collections and author content: list/upsert collections, list/get/upsert/preview/publish/archive/delete entries, and republish_cms, plus templates, markers, and the publish prerequisite.

These answer.cloud MCP tools manage CMS collections and entries — the structured, editable content that renders into pages, indexes, .txt mirrors, llms.txt, and sitemap.xml. They let an agent define a collection and then author, preview, publish, archive, or delete entries. For deploying the site itself, see the site & deploy tools page; for connection and auth, see the MCP overview.

CMS tools are organization- and site-scoped like the deploy tools, but they do not consume the daily deploy quota.

Before you publish: one prerequisite

A site must have gone live with at least one deploy before you can publish CMS entries. Publishing against a site that has never deployed returns cms_no_live_deploy. Define collections and draft entries any time; publish after the first live deploy.

How templates work

Each collection renders through a show template (single entry) and an index template (the listing). Templates are shipped inside the deploy artifact under .aeo/cms/{collection_key}/show.html and index.html, keyed by collection. A show template must contain the <!-- aeo:content --> marker; an index template must contain <!-- aeo:entries -->. If a template is missing or lacks its marker, answer.cloud renders the entry with a built-in fallback theme and records a warning. Other supported markers include <!-- aeo:title -->, <!-- aeo:summary -->, <!-- aeo:published_at -->, <!-- aeo:collection_name -->, and <!-- aeo:collection_summary -->.

list_cms_collections

List the site's collections and their health.

upsert_cms_collection

Create or update a collection.

list_cms_entries

List entries in a collection.

get_cms_entry

Fetch one entry in full.

upsert_cms_entry

Create or update an entry.

preview_cms_entry

Get a private preview of a staged draft.

publish_cms_entry

Publish an entry to the live site.

archive_cms_entry

Unpublish an entry while keeping it recoverable.

delete_cms_entry

Permanently delete an entry.

republish_cms

Re-render published entries and indexes into the current deploy.

A typical authoring loop

  1. list_cms_collections to confirm the collection exists and its templates are healthy.
  2. upsert_cms_entry with save_mode: "draft" to stage content.
  3. preview_cms_entry to review the staged draft privately.
  4. publish_cms_entry to go live.
  5. archive_cms_entry to take something down later, or republish_cms after template changes.

Frequently asked questions

Why didn't my entry appear on the site after upsert_cms_entry?

Because upsert_cms_entry defaults to save_mode: "draft". Call publish_cms_entry (or pass save_mode: "publish") to make it live.

My pages render unstyled or generic. Why?

The collection's template is missing or lacks its required marker, so answer.cloud used the fallback theme. Ship .aeo/cms/{key}/show.html and index.html (with <!-- aeo:content --> and <!-- aeo:entries -->) in a deploy, then run republish_cms.

Do CMS operations use my daily deploy quota?

No. CMS tools are exempt from the deploy quota, though they do count toward the per-minute request rate.