answer.cloud CMS

answer.cloud MCP: Site & Deploy Tools

The MCP tools for creating sites and shipping static artifacts: list_sites, create_site, start_deploy, finalize_deploy, deploy_files, get_deploy, list_deploys, and rollback, plus the deploy status flow and warnings.

These are the answer.cloud MCP tools for creating sites and shipping static artifacts. They cover the full deploy loop: inspect what exists, create a site, upload a build, finalize it, and poll until it is live. For authentication and connection details, see the MCP overview page; for GitHub push-to-deploy and CMS authoring, see their dedicated pages.

The deploy loop at a glance

list_sites → create_site → build locally → start_deploy →
run upload command → finalize_deploy → poll get_deploy until "live" →
read warnings → fix and redeploy until clean

Deploys move through a fixed sequence of statuses:

uploading → queued → extracting → embedding → syncing_cms →
generating_aeo → publishing_cms → live

Terminal failure states are failed and rolled_back. Each site numbers its deploys with a monotonic sequence.

list_sites

List every non-deleted site in the organization.

Use this first to discover slugs and confirm whether the site you want already exists.

create_site

Create a new site served at https://{slug}.answer.cloud.

start_deploy

Begin a full-artifact deploy by requesting a direct-to-storage upload.

finalize_deploy

Tell the platform the upload is complete and start processing.

deploy_files

Deploy a small changeset inline, without the presigned-upload round trip.

get_deploy

Poll a deploy's progress — this is your status endpoint.

Warnings you should act on:

A deploy can reach live and still carry warnings. Always read warnings[] before declaring success — a green status does not guarantee a healthy site.

list_deploys

Show recent deploy history for a site.

rollback

Re-point a site's live traffic to an earlier deploy.

A note on two identifiers

Deploys are addressed two ways. get_deploy and finalize_deploy take the numeric deploy_id; list_deploys and rollback work with the human-friendly sequence. Both are returned by start_deploy, so keep them together and don't cross them.

Frequently asked questions

Should I use start_deploy or deploy_files?

Use deploy_files only for tiny edits (≤ 500 KB after base64). Everything else — and every first deploy of a real site — goes through start_deploy.

Why did my upload succeed but finalize_deploy fail with too_large?

A presigned upload cannot enforce a size limit at upload time, so an oversized artifact still reaches storage and is rejected at finalize_deploy. Keep artifacts within your plan's ceiling before uploading.

How long should I wait between get_deploy polls?

Use the retry_after_seconds value from the previous response. Ingestion embeds each page, so a large site can take several polling cycles — and every poll counts toward your per-minute request limit.