Basic information
About Sitelas MCP Server
The website builder for AI agents. Build a real website from a template in your chat, preview it, publish when you approve, then keep running it: edit pages, swap photos, and read and answer contact-form messages.
Sitelas is a remote MCP server in the Productivity category listed in the AddMCP.net directory, published by Sitelas. It exposes 90 tools, including list_sites, get_site, get_preview, add_page and more. Supported transport: Streamable HTTP. Related topics: chatgpt, claude, landing page, no-code, portfolio.
Connection details
https://sitelas.com/api/mcp
Setup
claude mcp add sitelas --transport http https://sitelas.com/api/mcp
[mcp_servers.sitelas] url = "https://sitelas.com/api/mcp"
{
"mcpServers": {
"sitelas": {
"url": "https://sitelas.com/api/mcp"
}
}
}
{
"servers": {
"sitelas": {
"type": "http",
"url": "https://sitelas.com/api/mcp"
}
}
}
Sitelas MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"sitelas": {
"type": "http",
"url": "https://sitelas.com/api/mcp"
}
}
}
Sitelas MCP Server tools
-
list_sites
— List all websites owned by the current user. Returns subdomain, publish status, plan tier, creation date, and URLs for each. Share `url` — it always resolves. `live_url` is null for a site that has never been published: that site has no public address yet, so say so and offer publish_site rather than handing over a link. Use get_site for per-site detail.
(no parameters) -
get_site
— Fetch details of a single site: pages (slug/title/order/edit URL, plus each page's own search settings and old redirecting URLs when it has any), theme summary, search settings (site-wide title/description/share image/noindex/language, the stated business details, ownership verification codes, connected analytics/ad tracking IDs, and the name and social profiles read from the site), publish status, and URLs. Share `url` — it always resolves. `live_url` is null when the site has never been published: it has no public address yet, so say so and offer publish_site rather than handing over a link. Does NOT return the node tree (use get_site_tree) or version history (use list_site_versions). By default returns a slim theme (slug + palette tokens + font families) to keep the response compact; pass include_theme_config=true if you need the complete theme config object.
site_id:string*, include_theme_config:boolean -
get_preview
— Fetch a fresh screenshot of a site's home page via the preview URL (preview-{slug}.{rootDomain}). The preview URL always renders: when there are unpublished edits it shows the draft, when draft equals live it 302-redirects to the published live site. Read `resolved_slot` to know which you got, and `next_step` for what to tell the user — when it is 'draft' the work is NOT live yet and the response says so in words to relay. IMPORTANT: that redirect means when there are NO unpublished edits, sharing the preview URL shows the user the LIVE site, not a private preview — only call it a 'preview to review before publishing' when there are actually unpublished draft changes (i.e. right after an edit). Use after edits to confirm changes look right. Read-only.
site_id:string*, full_page:boolean, viewport:string -
add_page
— Add a new ONE-OFF page to an existing site (About, Contact, Pricing, a new landing page, etc.). Creates a bare shell (one section with one heading) and returns its root + section ids so you can fill it with insert_nodes / patch_nodes. Writes a new draft version.
DO NOT use add_page for repeating detail pages that share structure (`/projects/<slug>`, `/blog/<slug>`, `/work/<slug>`, `/publications/<slug>`, `/searches/<slug>`, etc.). Those resolve via the site's `collections[]` definition + Mustache substitution into a single shared template — they are NOT `pages[]` entries. To add an item to an existing collection, use `add_content_item` (with the matching `content_type`). To stand up a new collection on a site that doesn't yet have one, use `create_collection` (which composes the collections[] entry, an index page, and optional seed items in one call). add_page is wrong every time for collection detail pages: it bakes the row as a static tree, the index page's `<collection-list>` won't reflect it, and sitemap/SEO won't see it.
site_id:string*, slug:string*, title:string* -
update_page
— Update a page's metadata: rename its slug, change its title, toggle reorder (`sort_order`), or merge into its `metadata`. For a page's search title, description, share image or noindex, use `update_seo` with `page_slug`. At least one field must be passed. The page tree itself is NOT touched — use insert_nodes / patch_nodes for tree edits. To change the nav, edit the nav-link nodes directly (insert_nodes / patch_nodes / remove_nodes).
Renames: the home page ('/') cannot be renamed (it'd break routing). new_slug must satisfy /^\/[a-z0-9/-]*$/, not collide with any existing page, and not shadow a reserved Sitelas route (`edit`). By default, every node whose `data.href` / `data.url` equals the old slug is rewritten to the new slug in the same draft write — so internal links stay valid after the rename. The response reports the count and the rewritten node ids. Pass `rewrite_links: false` to skip the auto-rewrite (only useful when the caller intends to surgically patch the hrefs themselves). Sub-pages move with the parent by default — pass `cascade: false` to leave them behind — and every moved URL 308-redirects from its old path once published, so existing links and search results survive. Reach for this whenever a page's slug no longer matches what the page became: adapting a template to a different line of work renames the visible labels but leaves the paths saying the old thing. Writes a new draft version; call publish_site to push live.
site_id:string*, slug:string*, new_slug:string, title:string, sort_order:integer, metadata:object, rewrite_links:boolean, cascade:boolean -
duplicate_page
— Clone an existing page to a new slug. Deep-copies the source page's full tree (regenerating every node id so the copy is independent) and creates a new page with the same nav group and enabled state. Use for 'clone the pricing page for a new tier' / 'make a second case-study page like this one'. The copy lands as a draft; edit it with patch_nodes and publish when ready. Fails if new_slug already exists or is reserved.
site_id:string*, slug:string*, new_slug:string*, new_title:string -
delete_page
— Delete a page from a site. Cannot delete the home page ('/'). By default also prunes nav-link entries (header / footer / pageLayout / page bodies) that point at the deleted slug so the deletion leaves no broken nav links — set prune_nav_links:false to keep them. A nav-link is kept (with a warning) if removing it would empty its nav-links container. Other links to the deleted page (plain links, buttons, cards) are not changed: they come back in `dead_links` with where each one is — re-point or remove them. The page also comes off the live site immediately (like Delete in the editor); nav-link changes stay in the draft until published. Returns the preview URL.
site_id:string*, slug:string*, cascade:boolean, prune_nav_links:boolean -
publish_site
— Promote the draft slot into the live slot — the step that turns a draft into a real site the user can actually give people. Call it as soon as the user has seen the preview and said yes; until it runs, their site is not public and its live URL does not resolve. Publishing is NOT plan-gated — publish as many times as the user likes, on any plan. One exception: a Free account has one live Free site, so taking a second Free site live returns billing_gate naming the live one; relay it and ask the owner, and never unpublish another site yourself to make room. A suspended site is refused. Publishing is reversible: the current live snapshot (if any) is archived into previous_live, so revert_site is a one-step undo. The handler probes the live URL before returning, so `url` is GUARANTEED to render (falls back to the preview URL if ISR is still warming). Returns a warning when a published page has no content and would render blank. One constraint on all of the above: publish only on an explicit yes — don't auto-publish, and don't read 'change X' as 'change X and publish'.
site_id:string* -
unpublish_site
— Take the site offline (its subdomain will 404 for visitors). The live snapshot is archived into the previous_live slot so the owner can re-publish via Undo last publish without re-editing. The draft slot is untouched.
site_id:string* -
publish_page
— Publish ONE page independently: its latest draft goes live on its own, leaving every other page and the site-wide header/theme exactly as they are. Use this to push a single page's changes (or a brand-new page) live without republishing the whole site. The site must already be live — do the first publish with publish_site. Like publish_site, only publish when the user asked you to. Returns a warning when there are also unpublished site-wide (theme/header) changes that this did NOT ship.
site_id:string*, slug:string*, locale:string -
publish_content_item
— Publish ONE collection item independently: its latest draft goes live on its own, leaving every other item, every page, and the site-wide header/theme exactly as they are. This is the tool for taking a SINGLE new or edited post live without republishing the whole site — pair it with `add_content_item` (which only writes a DRAFT) to publish a blog post: `add_content_item` then `publish_content_item`. (For an unattended, connection-drop-safe daily post, prefer `schedule_content_publish` with publish:true, which does the insert + take-live durably server-side.) The site must ALREADY be live — do the first publish with `publish_site`. Like publish_site, only publish when the user asked you to (a standing 'auto-publish the daily post' instruction counts as that approval). Returns a warning when there are also unpublished site-wide (theme/header/collection) changes that this did NOT ship.
site_id:string*, content_type:string*, slug:string*, locale:string -
unpublish_page
— Take ONE page off the live site without affecting the rest. The page's live URL starts returning 404 and it drops out of the auto-generated nav; its draft is kept so you can re-publish it later with publish_page. The rest of the site stays live. Returns `unpublished: false` if the page had no live version. This changes what's live — only do it when the user explicitly asks to take a page down.
site_id:string*, slug:string*, locale:string -
list_submissions
— List form submissions for a site. Returns summaries (name, email, form_type, `source` — which page/form the submission came from, e.g. a specific job position — is_read, preview of message, and `attachments` — any uploaded files as {field, name, url} with DURABLE download links safe to paste into an exported Google Sheet / CSV) plus a `monthly_counter` block (used / limit / over_limit / locked / month / plan). The allowance is per calendar month; a month's locked submissions stay locked after it ends. Capture is NEVER gated on any plan: every submission is stored and forwarded to the site's webhook regardless of the count. Each one is also emailed to the site owner's account address — on by default, switched per site from the dashboard's Submissions panel; it can't go to a different address (for that, set the form's integration.webhookUrl). What the allowance controls is READING. On Free, submissions past a month's allowance come back with `locked: true` — created_at and form_type only, with name, email, description and attachments withheld; say plainly that the submission arrived and was kept. Do NOT imply anything was lost or dropped, and do not pitch a plan change on the back of it, and do not try to recover a locked submission through read_submission, draft_reply_to_submission or the contact tools — they withhold it too. Pro never locks. Filter by form_type, unread_only, or since-timestamp. `form_type` is free-form text set by whoever built the form — the built-in presets are contact, waitlist, newsletter, rsvp, quote, application and custom, but templates ship their own (e.g. booking, tour-request, commission-enquiry), so read the form_type values off an unfiltered call before filtering on one. Use `read_submission` to fetch the full payload of one.
site_id:string*, form_type:string, unread_only:boolean, since:string, limit:integer -
read_submission
— Fetch the full content of a form submission by id — name, email, message, every field value, and the form's schema at submission time. By default also marks the submission as read. Set mark_read=false to leave the is_read flag alone.
submission_id:string*, mark_read:boolean -
list_contacts
— List contacts who have interacted with a site (filled a form, subscribed to newsletter). Filter by text, tags, or activity thresholds (min_submissions, subscribed_only, since). Ordered by most recent activity.
site_id:string*, search:string, tags:array, min_submissions:integer, subscribed_only:boolean, since:string, limit:integer, offset:integer -
get_contact
— Fetch a single contact record for a site by email. Returns activity totals, tags, subscription status. Use `list_contact_activity` to get their interaction timeline.
site_id:string*, email:string* -
list_contact_activity
— Chronological list of a contact's interactions with the site — form submissions they made, newsletter subscribe/unsubscribe events. Most recent first. Useful for 'tell me everything we know about Sarah'.
site_id:string*, email:string*, limit:integer -
get_analytics
— Fetch pageview and unique-visitor analytics for a site over a date range. Returns totals, a daily timeseries, top paths, and top referrers. Default range is trailing 28 days ending today. Use `range_days` for a trailing window, or `since` + `until` for explicit bounds.
site_id:string*, range_days:integer, since:string, until:string, top_n:integer -
schedule_publish
— Schedule a publish or unpublish to happen later. `action: "publish"` flips the site live at `run_at`; `action: "unpublish"` takes it down. Use for launches, time-limited campaigns, or scheduled maintenance windows.
site_id:string*, action:string*, run_at:string*, note:string -
schedule_content_publish
— Enqueue a DURABLE 'create this collection item (and take the site live)' job instead of writing it over this connection. Use this for UNATTENDED / scheduled runs (e.g. a daily auto-published blog post): a server-side worker performs the insert with retries + slug-idempotency, so a connector drop can't lose the post or double-post it. The payload is validated NOW (collection must exist, content must match the schema) so mistakes fail fast here rather than silently in the worker. Returns a job_id you can track with list_scheduled_jobs. For interactive edits you're watching, use add_content_item directly instead.
site_id:string*, content_type:string*, slug:string*, content:object*, run_at:string, published_at:string, publish:boolean, note:string -
list_scheduled_jobs
— List scheduled jobs for a site. Filter by status (pending/running/done/failed/cancelled), kind, or run_at range. Defaults to every job ordered by run_at ascending (next up first).
site_id:string*, status, kind:string, since:string, until:string, limit:integer, offset:integer -
cancel_scheduled_job
— Cancel a pending scheduled job. Returns the job's current status — if it already ran, was cancelled, or is running, we don't flip it back. Only 'pending' jobs transition to 'cancelled'.
site_id:string*, job_id:string* -
list_site_templates
— Browse the site templates (archetypes) you can start a new site from. Each is a complete, hand-tuned design direction with one palette, one typography pair and a specific page composition — a structural starting point, NOT a rigid final design. With a real brief, call select_template_for_brief first; use this when the user is browsing, asks what else there is, or the selector's pick needs comparing. Called with no arguments it returns an OVERVIEW: every audience, what it covers, and its template slugs in the order we recommend them. Then open a shelf with `audience` (templates built for it first, then ones that also fit), search with `query` ('bakery', 'dark portfolio'), or filter by `category`; results come in pages (`page`, `page_size`) with slug, name, description preview, page slugs, palette/type summary and classification. Pass `slugs` (up to six) for full detail on a shortlist — every use case and anti-case plus the customization brief. Then call create_site_from_template with the one you pick.
audience:string, category:string, query:string, slugs:array, page:integer, page_size:integer -
select_template_for_brief
— Score every available template against a parsed brief and return the top matches with reasoning. Call this BEFORE create_site_from_template when the user has a real brief — it picks the best archetype using structured metadata (audience, register, conversion goal, integrations) instead of prose-matching. The output explains WHY each template ranked where it did so you can confidently pick the top result. CHECK `match_quality` before trusting the winner: 'corroborated' means the brief's own words appear in that template's useCases; 'structural' means it won on audience/conversion taxonomy alone and NONE of the brief's keywords appeared in its useCases (a top-level `advisory` says so, and score_pct is capped at 60 to stop an unverified neighbour reading as a designed fit). Structural means uncorroborated, NOT unsuitable — useCases list examples rather than every trade, so read the winner's brief before judging it. Usually still create from it, and tell the user it is a starting point and push harder on brand_overrides, imagery and copy. Pass `keywords` whenever you can: corroboration is computed from them, and without them every match reports as 'unverified'. Pass `needs` (what the site must do, in the owner's words) so the template that already ships them ranks first. If `out_of_scope` is not empty, the owner asked for something Sitelas does not build (logins, a cart, live data, an app) — tell them plainly BEFORE creating, and offer the marketing site in its `instead`. If `audience_check` is set, the audience you passed is probably wrong for this business — re-run with the one it names. Use list_site_templates instead when the user is browsing without a clear brief, or when they ask 'what other options are there' — pass it the same `audience` to see that shelf in our recommended order. When the owner described the site's shape — which pages, what the home page shows, the hero, light or dark — pass it as `layout`, and after creating run every call in the returned `layout_plan.steps`. Read-only: it scores and ranks, and creates nothing — create_site_from_template is what actually persists a site.
audience:string*, register_hint:string, conversion_goal:string, density:string, integrations_required:array, avoid_categories:array, keywords:array, layout:object, needs:array, top_n:integer -
create_site_from_template
— Create a new Sitelas site by cloning a template archetype. The template provides the design skeleton (page composition, section layouts, typography rhythm); you customize it for the specific brief via brand_overrides at create time + ONE bulk patch_nodes call afterwards (the only patch primitive — no per-node fallback). The site is saved as a DRAFT — not publicly live until the user approves and you call publish_site. Returns `url` (preview URL, best shared after customization patches are applied), `site_id` for subsequent edits, `manifest` (every patchable node id + current text + slot, replaces get_site for discovery), `customization_brief` (prose guidance for this archetype), `overrides_applied`, `alternative_templates` (other templates and who each suits, for an owner who wants a different design), and `next_step` (a suggested follow-up summary). Standard customization pattern after this call: read the manifest, build one patches array covering every text/image/cta change across all pages and siteElements, send one patch_nodes call. If the owner described pages, home sections, a hero style or light/dark, pass `layout` and the response's `layout_plan.steps` lists the calls that add what the template lacks.
template_slug:string*, site_name:string*, brand_overrides:object, subdomain:string, page_slugs:object, collection_prefixes:object, layout:object -
create_site_from_fixture
— Persist a fixture YOU composed as a new Sitelas site. Use this when the archetype-based create_site_from_template can't produce the structure you need — primarily for URL cloning (post-capture_url, when the source's section composition doesn't map cleanly to any shipped archetype), or for genuinely bespoke briefs that no archetype satisfies. For typical generation, prefer create_site_from_template — its archetypes are designer-tuned and produce higher-quality output by default. The fixture is validated (validate_fixture autofixes minor issues, throws on hard structural errors), then saved as a DRAFT (live URL 404s until publish_site). Returns the preview URL, site_id, manifest of patchable nodes, and warnings (e.g. unreachable pages).
fixture:object*, site_name:string*, subdomain:string -
list_primitives
— Return every primitive available in the Sitelas renderer plus tree-level constraints. Each primitive entry includes `style_strip` (when present) — a map of style props the primitive's renderer intentionally drops, paired with the actionable alternative. Response also surfaces `max_tree_depth` — the nesting ceiling the tree-validator enforces (children deeper than this are truncated). Read this BEFORE composing fixtures; saves trial-and-error from setting layout props on a Section that strips them, or from nesting too deeply for a bento layout. For full prop schemas, call get_primitive_schema(type) on a specific type.
(no parameters) -
get_primitive_schema
— Return the full prop schema for a single primitive: types, defaults, options, required fields, allowed children, and `styleStrip` — a map of {style prop: actionable hint} for any inline-style props this primitive's renderer intentionally drops (e.g. on `section`, layout props like `display`/`flexDirection` are stripped because Section is a semantic wrapper; use a Stack/Grid child instead). Read styleStrip BEFORE setting style on a node — eliminates the silent-drop trial-and-error.
type:string* -
list_section_archetypes
— Return section archetypes (hero, menu-grid, testimonials, contact-cta, etc.) recommended for a given site category. Each archetype includes when to use it and a description you can adapt when composing a Fixture.
category:string* -
get_example_fixtures
— Return example fixtures in the shape Sitelas expects — the first page's sections (up to 8), each collection's fields with one example item, and theme and template metadata: a Rosetta Stone for which fields are required vs optional, how responsiveStyle nests, what shape data.items/data.tiers/etc actually take in practice. Study one for shape; compose your own for content. The fastest path to a correct first call on an unfamiliar category is calling this once with that category, reading the skeleton, then composing from list_primitives + design principles — not avoiding examples on principle. The goal is never to replicate the reference; it's to get the shape right on call #1.
categories:array, limit:integer, minimal:boolean -
validate_fixture
— Optional debugging tool. Validates a Fixture against Sitelas's schema + quality bar, returning errors with paths and an autofixed fixture when issues can be repaired (missing alt text, duplicated h1s, etc.). Do NOT run this before create_site_from_template or update_site_from_fixture as a matter of course — those tools already validate internally and return the same errors. Use this only when you want to sanity-check a composition in isolation (e.g. before spending tokens on a very large fixture) or when a create/update rejected with a validation error you want to inspect in detail. Read-only: it inspects the fixture you pass it and writes nothing — no site is created or changed by calling it.
fixture:object* -
update_site_from_fixture
— Update an existing Sitelas site with an agent-composed fixture. Provide `fixture` to replace the entire site (all pages + site elements), keeping each existing page's metadata (its own search settings, from `get_site`) unless the page in `fixture` carries `metadata` — `{}` clears it; or `page_updates` to modify specific pages only. Updates are saved as a DRAFT — the live URL is UNCHANGED until publish_site is called. The response includes `url` (the preview URL for reviewing the draft), `permanent_url` (the live URL — see `live_status` for what it currently serves), and a `next_step` hint phrased correctly for the live URL's state. ALWAYS share `url` and relay `next_step` verbatim — do NOT say the change is live at permanent_url; it isn't.
site_id:string*, fixture:object, page_updates:array, theme:object -
list_site_versions
— Three-state snapshot model: returns the live slot (currently published), the draft slot (current working copy), and the previous-live slot (one-step undo target, if any). Use revert_site to roll back to the previous-live snapshot.
site_id:string* -
revert_site
— Undo the most recent publish. If that was the whole site, the site goes back to the snapshot live before it; if it was one page or item (publish_page / publish_content_item), only that page or item goes back and `undone` names it. One-step undo only. Returns restored=false when there's nothing to undo (never republished, or already undone). The live URL is verified to render before return.
site_id:string* -
get_version_diff
— Compare two slots of the three-state snapshot model (live / draft / previous) and return a structured summary of what changed: pages added or removed, pages whose top-level section count changed (and by how much), whether the theme changed, and whether the shared header/footer changed. Common pairings: from=live to=draft (what would publish do), from=previous to=live (what did the last publish do).
site_id:string*, from:string*, to* -
capture_url
— Capture a public URL for cloning. Returns everything needed to build a faithful replica: (1) full-page screenshot for visual context — your vision can attend to specific regions; you don't need per-section crops; (2) recursive rendered DOM tree (up to 500 nodes, 10 deep) with computed styles per node — the fastest way to pick exact colors, font sizes, spacing, and layouts without guessing; (3) ordered section structure with detected content type (hero / grid / cta / gallery / text / …), headings, bounds, and layout tokens (flex/grid/padding/gap); (4) detected brand tokens — primary/background/text colors, heading + body fonts, all fonts, typographic scale, section paddings, gradients and hero background images; (5) real image URLs (reuse them via upload_image_from_url so the clone has actual imagery, not stock placeholders); (6) nav links + OG metadata (title, description, og:image). Usage: capture → study screenshot (you have vision) + element_tree → compose a fixture from primitives mirroring structure.sections[i] → call create_site_from_fixture (the bespoke-composition path). Rate-limited to 5 captures per minute. Read-only as far as your Sitelas account is concerned: it fetches the target page and returns what it found, and saves nothing. Rehosting any image it lists is upload_image_from_url's job, not this one's.
url:string*, viewport:string -
upload_image_from_url
— Fetch an image from a public URL, store it on Sitelas's CDN under the site's storage namespace, and return a stable public URL. Use this whenever you want to add a real image to a site instead of an external URL that may rot. Accepts JPEG/PNG/WebP/GIF/SVG up to 10MB raw. Non-SVG images are processed through sharp (resized + converted to WebP). Returns dimensions, byte size, and a blur placeholder for instant LQIP rendering.
site_id:string*, url:string*, alt:string* -
find_images
— Search a curated stock photography library (Pexels) for real imagery to use in a site. Call this BEFORE composing any section that needs imagery — hero, feature-grid with visuals, testimonial cards with portraits, gallery sections, media-and-text sections. Returns large-size URLs, thumbnails, dimensions, average color, and suggested attribution. Chain with upload_image_from_url to persist the chosen image to the site's storage namespace (recommended — external URLs can rot). Be specific with queries; 'brooklyn bakery sourdough on wooden counter' returns much better results than 'bakery'. Rate-limited to 30 searches per minute per user. Read-only: it queries Pexels and returns results. Nothing reaches the site until you call upload_image_from_url with a URL from them.
query:string*, count:integer, orientation:string -
replace_images_from_search
— Replace many image nodes at once: for each {node_id, query} patch, search Pexels, upload the top match to the site's CDN, and patch the node's src + alt — all in ONE tool call, batched into ONE new draft version. Use this after create_site_from_template to swap every placeholder image at once instead of doing 2N sequential calls (find_images + upload_image_from_url per image). Build the patches array from the manifest's image_nodes (each entry has a suggested_query you can use directly, override when the brief calls for something more specific). Up to 20 images per call. Each patch's node_id must exist in the current fixture; missing nodes are reported as skipped (not fatal — other patches still apply).
site_id:string*, patches:array* -
upload_image_from_data
— Upload an image supplied as raw base64 bytes to Sitelas's CDN under the site's storage namespace, and return a stable public URL.
WORK DOWN THIS LIST BEFORE CALLING:
1. Image reachable at a URL? Use `upload_image_from_url` instead — no size ceiling and far cheaper than carrying the bytes yourself.
2. Did the PERSON supply the image — attached to the conversation, on their phone, on their disk? Then this tool is the wrong one AT ANY SIZE. Call `get_editor_link` and give them the link. Do NOT shrink their photo to fit through here: you would hand back a degraded copy of their own logo, and the editor takes the full-quality original in one drag. Size is not the deciding question — provenance is.
3. Did YOU author the image — an SVG you wrote, a small mark you generated? That is what this tool is for, provided it is under ~30KB.
WHY THE ~30KB LIMIT: the base64 travels as tool-call arguments — through your own output. Payloads much beyond 30KB decoded get cut off mid-string and arrive truncated. This is a property of the transport, not of this endpoint, and it applies no matter how you obtained the bytes: reading the file from disk does not help, because you still have to emit it. Resending an oversized payload unchanged fails identically every time.
Accepts JPEG/PNG/WebP/GIF/SVG, 10MB decoded hard cap (the practical ceiling is the ~30KB above). `mime_type` is optional — the format is sniffed from the bytes. Non-SVG images are processed through sharp (resized + converted to WebP). Returns dimensions, byte size, and a blur placeholder for instant LQIP rendering.
site_id:string*, base64:string*, alt:string*, mime_type:string -
get_editor_link
— Return a link to the site owner's own visual editor, optionally opening straight to one page or collection item. Give this to the person whenever the next step is theirs rather than yours:
- They want to use THEIR OWN image. Pass `image_target` naming the spot and they get a one-time photo link instead of the editor: one page, one drop, placed on that spot in the draft, no sign-in. Without a spot they get the editor. This is the dividing line for every image on the site, sections and collection items alike: you source pictures with `find_images`, `replace_images_from_search` and `upload_image_from_url` and place them yourself, but a file that exists only on their device — their logo, their team photo, their product shots — comes in through the editor. Point them at the exact page or item (`page_slug` takes 'blog/my-post' as happily as 'about') rather than the site root.
- They want to make a change themselves, or asked where to edit something.
- They asked to see their site, or seem unaware there is a visual builder at all — many people who connect this connector never find out.
The link opens their editor signed in as them. Do not promise they are already signed in: the session cookie may not exist on the device they open it from, in which case they are sent to sign in first and land in the editor afterwards. `share_with_user` is worded for that.
The editor link is nothing secret — an ordinary product URL, authenticated by the person's own account. A photo link is a one-time capability for that one spot (30 minutes, one upload, draft only): give it to the person and to no one else.
site_id:string*, page_slug:string, task:string, image_target:object, alt:string -
list_site_images
— List the images in a site's library, newest first, with their public URLs. Two main uses: collecting what arrived after you sent someone to the editor with `get_editor_link` (pass `since` with the moment you sent it, then place the results with `patch_nodes`), and checking what a site already has before uploading something it may already hold. Returns storage paths and byte sizes alongside the URLs.
Place what you find with `patch_nodes`, never `patch_fixture` or `update_site_from_fixture`. If the image arrived because you sent someone a `get_editor_link`, they may still be in the editor right now; the full-replace tools overwrite the entire draft with no conflict check and would discard their work silently. `patch_nodes` re-applies onto concurrent edits instead.
site_id:string*, since:string, limit:integer -
verify_site
— Independently confirm that a site is reachable. Reads the subdomain row, checks live_fixture is set, and screenshots the live URL to verify it actually renders. Use this AFTER create_site_from_template or whenever you want to be sure a URL works before sharing it with the user. Returns ok:true only when DB state + render both pass. Also returns `dead_links` — internal links whose target route does not exist, the failure a visual check cannot see because the card text reads correctly. Treat a non-empty `dead_links` as blocking: fix those before telling the user the site is ready. Read-only.
site_id:string*, require_live:boolean -
patch_nodes
— Apply many node-level patches to a site in ONE call, batched into one new draft version. The primary patch primitive — there is no single-node tool. Each patch entry provides the node_id plus one or more shorthand fields: 'text' for copy (auto-routes to data.text for heading/button/link/nav-link/banner-bar, data.content for text/rich-text/blockquote), 'href' for link destinations, 'src'/'alt' for images, 'slot' to set or correct a node's semantic role. For props not covered by shorthands (level on heading, variant on button, items on accordion), use 'data_patch' — its keys are validated against the primitive schema (prevents silent failures where the renderer ignores your key). Patches are independent: valid ones are saved even if others fail, and each failure comes back in 'rejected' with the reason, so send a small follow-up call for those rather than resending everything. Typical post-create flow: read the manifest, build an array of {node_id, text} entries for every placeholder copy string, send ONE call. Order doesn't matter — patches merge independently. Each node_id may appear at most once per batch; merge multi-field patches for the same node into one entry. Node ids are searched in pages, then header/footer/pageLayout, then COLLECTION DETAIL TEMPLATES — so the labels and CTAs around a detail page's {{placeholders}} (get_site_manifest's collections[].template_nodes) are patchable like anything else; the response names those under collection_templates_touched, because one such patch changes every item page in that collection at once. Returns `dead_links` when the site is left with an internal link whose target route does not exist — check it before reporting the work done, because a card whose text is right and whose href is stale looks finished and 404s on click.
site_id:string*, patches:array* -
patch_fixture
— Apply an RFC 6902 JSON Patch (array of add/remove/replace ops) to the latest fixture snapshot for a site, then save the result as a draft version. Use this when you need precise multi-field edits across the fixture (theme tokens + a couple of nodes + a header swap) without shipping the full fixture again. Paths are JSON Pointers (e.g. '/theme/config/colors/primary' or '/pages/0/tree/children/2'). Returns the preview URL. Call screenshot_page if you want to see the result.
site_id:string*, json_patch:array* -
remove_nodes
— Delete many nodes from a site in ONE call, batched into one new draft version. Locate each node_id across pages, siteElements and collection detail templates, and splice it out of its parent's children array. Use this for structural subtraction — dropping a testimonials section, removing a nav link, cutting one card from a grid, removing a header/footer column — whenever the brief calls for the template's layout minus something. Safe alternative to patch_fixture's JSON-Patch 'remove' ops for the same purpose: no hand-constructed paths, validated against the actual tree, and rejects root-node removal so you can't nuke a whole page. If a node id isn't found, the whole batch is rejected (fix and retry). Up to 50 removals per call.
site_id:string*, node_ids:array* -
insert_nodes
— Add many nodes to a site in ONE call, batched into one new draft version. Each insertion is {parent_id, position, node}: parent_id locates an existing parent anywhere in the fixture (pages + siteElements), position is 'start' | 'end' | {after_id}, and node is the subtree to splice in. Use this for structural addition — adding a new section to a page, inserting a nav link, adding a card to a grid, restoring a container that was accidentally removed. Safe alternative to patch_fixture's JSON-Patch 'add' ops: no hand-constructed paths, validated parent + unique-id checks, and the subtree goes through the same primitive schema as any other node. Use list_primitives + get_primitive_schema to shape the new node's data. Tag each content node with its semantic role — "extra": { "slot": "hero-title" } — so the next read of get_site_manifest can say what the node IS rather than reporting a null role; an unknown slot name is rejected with the closest valid ones, and untagged content comes back as a warning. If a parent or after_id is missing, or a new id collides, the whole batch is rejected. Up to 50 insertions per call.
site_id:string*, insertions:array* -
insert_tree
— Insert a bespoke node subtree (provided as a JSON string) under an existing parent, as one new draft version. The editor-chat escape hatch for structure that add_section's flat archetypes can't express — layered hero stacks, two-tone headline row-stacks, asymmetric columns, custom nesting. Runs the same validation as insert_nodes (unique ids, primitive data-shape, parent must accept children) and rejects without saving if the subtree is malformed. For standard sections, use add_section instead — it's simpler and less error-prone. Use list_primitives + get_primitive_schema to shape node data correctly.
site_id:string*, parent_id:string*, position, after_id:string, node_json:string* -
add_section
— Add a complete, hand-fixture-quality section to a page from a FLAT description — no node-tree authoring. Pick a `kind`, pass `page_slug` + the copy fields (eyebrow, heading, body, CTAs) and, for list-based kinds, an `items[]` array of flat cards/rows. The tool builds a correct section > container > stack > [...] subtree (theme tokens, Lucide icons, responsive grids, real spacing, every text/CTA independently editable) and splices it into the page, saved as one draft. Kinds & use-when: hero (page-opening headline+CTAs); features (icon/title/body card grid); content (long-form block); cta (centered band CTA); gallery (image grid); testimonials (quote cards); stats (count-up numbers); pricing (tier cards, highlight one); faq (Q&A list); logo-strip ('trusted by' logos); pull-quote (centered editorial quote); team-grid (people cards); split-image-text (image + copy split); process-steps (numbered steps); feature-split (copy + bullet list + image); newsletter (inline email signup band); comparison (with-us vs without); metrics-band (stats on accent band); banner-cta (full-width accent CTA); contact-form (copy + name/email/message form). Use this — not patch_fixture — to populate a page or add a section in-editor. For surgical edits to existing nodes use patch_nodes; for bespoke structure use insert_nodes (claude.ai only).
site_id:string*, page_slug:string*, kind:string*, layout:string, name:string, position:string, eyebrow:string, heading:string, body:string, primary_cta_label:string, primary_cta_href:string, secondary_cta_label:string, … -
reset_draft
— REJECT the draft: throw away every saved-but-unpublished change and make the working copy identical to the currently published version (the inverse of publish_site). Use when the user dislikes the drafted changes they reviewed on the preview URL and wants to start over from what's live — "scrap those changes", "go back to the live version". Whole-site operation across the shell, pages, and collection items; deliberately-unpublished pages/items keep their drafts. previous_live is untouched, so revert_site (undo last publish) remains available. Returns reset=false when the site has never been published — there is nothing to reset to, and resetting would be meaningless (the draft is the only copy). DESTRUCTIVE for the draft: requires confirm=true; ask the user before calling.
site_id:string*, confirm:boolean* -
move_nodes
— Move a node to a new position in its page/element tree — reorder it within its current parent (e.g. push a section to the top) or re-parent it under a different container in the SAME tree. This is the safe reordering primitive: it takes node ids (not brittle JSON-Patch index paths) and is validated against the actual tree. position is 'start' / 'end' / { after_id }. Rejects moving a root node, moving a node into itself or its own descendant, and cross-tree moves (use duplicate_page / insert_nodes for those). Writes one new draft version.
site_id:string*, node_id:string*, target_parent_id:string*, position*, after_id:string -
get_site_overview
— Abstracted site map — pages, collection items, theme tokens, per-page section types and headlines — without dumping the full primitive tree. Also reports PUBLISH STATE: the `publish` digest (is_live, shell state, per-kind live/edited/draft counts, has_unpublished_changes) plus a `state` ('live'|'edited'|'draft') on every page and collection item — use it to answer "what's live?" / "is anything unpublished?". SCOPE: this is the orientation + publish-state tool. Its `editable_nodes` is a capped, flat PREVIEW of text-bearing nodes — it does NOT show form fields, data-borne copy (accordion items, banner link labels, form success messages), collection items, detail-template copy, or slots, so it is the wrong surface for a copy pass: call get_site_manifest for that. For the full nested node tree (ids + nesting, minus props), call get_site_tree.
site_id:string* -
get_site_tree
— Return the STRUCTURAL node tree of a page — the container hierarchy (sections, columns, cards, groups) and every node's id + type + a short text label — WITHOUT the full props payload, so it stays small. Use this when you need to target a CONTAINER, not just text: moving a section, restyling a column, inserting a child, or removing a block. **Pass slug:'header' / 'footer' / 'pageLayout' (or 'shell' for all three) to read the site SHELL** — the chrome shared by every page. That is the ONLY way to see how shell nodes nest: get_site_manifest lists them flat, so insert_nodes/move_nodes calls built from it guess at parentage and get rejected. A shell edit lands on every page at once. The other three readers each own a different question: get_site_manifest is the one for COPY (it alone shows form fields, data-borne copy, collection items, detail-template copy and slots); get_site_overview is for orientation and PUBLISH STATE, and its node list is a capped preview, not a copy inventory; get_site returns page/theme/publish summary with no node tree at all. get_site_tree is the one that gives the full NESTING with ids, minus the props. Reads the DRAFT version. Read-only.
site_id:string*, slug:string -
get_site_manifest
— Return the customization manifest for an EXISTING site — every patchable node id with its current text, plus the things no other read tool shows: each FORM's complete field list, copy that lives in node data rather than in text nodes (accordion/FAQ items, banner link labels, form success messages), slot tags, and each COLLECTION's items — read live from content_items, so they reflect every add/edit/delete you have made, not the list the template shipped. This is the same structure create_site_from_template returns, so it is the tool to call when you come back to a site you did not just create and want to edit it — build one patch_nodes call from it. Prefer this over get_site_tree for copy work: get_site_tree gives the container hierarchy with 60-char text previews and does NOT show form fields or data-borne copy, which is the copy most likely to still be the template's. Pass page_slug to scope a large site to one page. Also returns the theme summary (palette + font families) and draft_updated_at — keep it; on a later turn, if it has not changed, the pages, header/footer and theme have not either. It does not track collection items (those are read live in every response). Reads the DRAFT version. Read-only.
site_id:string*, page_slug:string -
read_rendered_page
— THE DEFAULT WAY TO CHECK YOUR WORK. Fetch a page's SERVER-RENDERED text via the preview URL — the visible copy, headings, and (for collection/list pages) the expanded items — in ~35ms with no browser. Call it on every page you touched, before showing the user anything. It is what catches the failure you cannot otherwise see: template copy that survived your edit. A consultant template's funding-stage dropdown on a bike shop, a US Medicare FAQ on a UK dental practice — both shipped because nobody read the page back, and neither looks like an error in a diff. Prefer this over screenshot_page, which runs a real browser, takes ~40x longer, and answers a different question (how it LOOKS, not what it SAYS). Read-side pair to get_site_tree: that shows STRUCTURE, this shows RENDERED CONTENT. Reads the draft via the preview URL. Read-only.
site_id:string*, slug:string -
get_collection_tokens
— Return EXACTLY what you can interpolate in a collection's row/detail template ({{…}} placeholders): every declared content field PLUS the auto-exposed route tokens `{{slug}}` (the item's slug) and `{{url}}` (the full detail path, pathPrefix + slug). Call this before writing a collection template so you don't guess a token that silently resolves to empty — the classic dead-link bug is writing href="/blog/{{slug}}" without knowing slug is a valid token. Read-only.
site_id:string*, content_type:string* -
list_card_designs
— The choices set_card_design accepts for a collection list's cards: 'as-designed', the plain arrangements, and the design library (cards lifted from the hand-tuned templates, grouped photo-on-top / text-over-photo / words-only), plus every style setting's allowed values. Pass site_id + list_node_id to also get which choices fit that card (a photo design needs a card that shows a photo) and its current design and style. Read-only.
site_id:string, list_node_id:string -
set_card_design
— Change how every card of a collection list looks, in one call: `design` swaps the whole card (a library design from list_card_designs — each takes the site's own fonts and colours and keeps every field the card shows — a plain arrangement, or 'as-designed' to put the original back), and `style` adjusts it (surface, corners, padding, photo shape, text alignment, hover). Prefer this to rewriting a card template with patch_nodes/insert_tree: it cannot drop a field, break the card's link or lose the way back. Writes one draft version.
site_id:string*, list_node_id:string*, design:string, style:object -
preview_collection_item
— Render a collection's DETAIL template against one specific draft item and return the resulting text + links + any problems — WITHOUT a browser and WITHOUT publishing. Use it right after add_content_item / editing a template to catch silent-success bugs before they go live: unresolved {{placeholders}}, and links that still contain braces. Complements get_site_tree (structure) and read_rendered_page (live SSR text). Read-only.
site_id:string*, content_type:string*, slug:string* -
get_site_brief
— Read the durable design brief for a site — vibe, category, brand voice, palette name, fonts, tagline, audience, the last 20 design decisions, AND a `design_system` block auto-extracted from the latest fixture (theme colors, typography pair, spacing scale, dominant section padding, icon density, section shape variety). Use this at the START of any editing session to recover context — it tells you what the site's design language already is so subsequent edits stay consistent. Returns has_brief=false when no brief has been saved yet.
site_id:string* -
get_site_changes_since
— Compact diff between a named snapshot (live or previous) and the current draft. Lists added/removed pages, pages whose tree changed, and whether the theme or shared header/footer changed. Use this to summarize what's pending publish (since='live') or everything that's happened including the last publish (since='previous'), instead of dumping full snapshots.
site_id:string*, since:string -
list_site_copy
— List every piece of copy on the site so you can rewrite it: scans the latest draft and returns every rewriteable text field — heading.data.text, text.data.content, rich-text.data.content, button.data.text and link.data.text — grouped by {page_slug, node_id, node_type, field, current_text}. Covers BOTH page bodies AND the shared chrome: header, footer, and pageLayout nodes are returned with page_slug set to 'header' / 'footer' / 'pageLayout' — that chrome is where a template's brand name lives, so rewrite it too or the old brand ships under the new identity. The `instructions` argument is echoed back so the caller knows the rewrite intent (e.g. 'make it more formal', 'shorten by 30%'). This tool does NOT mutate the site and does NOT call any LLM (Sitelas is credit-free over MCP). Compose the rewrites yourself, then ship them via patch_nodes (one {node_id, text|data_patch} entry per item — patch_nodes resolves ids in pages AND header/footer/pageLayout; use data_patch for the `title` field; the `text` shorthand already routes to data.label for nav entries, so those apply as {node_id, text}). An entry may carry `href` — that is the node's link DESTINATION, shown as context, never as copy to rephrase. Leave it alone unless your new wording changes what it should point at (an email address or the old brand's domain in the label); then patch `href` in the SAME patch_nodes entry, or the visible address and the mailto: disagree. ALSO returns `content_items[]` — the prose fields of every collection item ({content_type, slug, field, current_text}); apply those rewrites via `edit_content_item`. NOT included: accordion item titles/bodies — rewrite those via patch_nodes `data_patch`. COVERAGE — read these before you report anything as done: `content_items_total` is how many collection items EXIST on the draft (counted before any cap); `content_items_returned` is how many of them appear in `content_items[]`; `total_items` is only how many entries this response contains, so it is never evidence of coverage. When `truncated` is true, or `content_items_returned` is below `content_items_total`, this response is NOT the whole site: call list_site_copy again with a higher `max_items` (and reach any remainder through list_content_items) until the two numbers match. If you stop before then, your summary must say what you left — e.g. '6 of 16 menu items were not included in this pass' — because renaming the headings above untouched items makes the page read MORE finished than it is. State it as COVERAGE of your own pass, never as a verdict on the user's copy: what you did and did not reach is yours to report, whereas 'your site still carries the template's copy' is a warning the owner has asked not to receive. `coverage_warning` is the sentence to act on when present. READ-ONLY: this tool RETURNS the fields that want rewriting and changes not one of them. Nothing is written until you send the new copy back in a patch_nodes call.
site_id:string*, instructions:string*, max_items:integer -
apply_brand
— Apply a partial brand spec to a site — any subset of {primary, accent, background, text, font_family, heading_family, name, tagline}. Color fields merge into theme.colors; font fields merge into theme.typography. Omitted fields are preserved. If `name` or `tagline` is provided, also best-effort updates the site brief (metadata.brief). Saves as a draft and returns the preview URL. Call screenshot_page if you want to see the result.
site_id:string*, brand:object* -
apply_palette
— Replace the site's color palette. Two modes: (1) explicit spec — required: primary, secondary, accent, background, surface, text; optional: text_secondary, text_muted, border. (2) preset_name — re-apply a preset saved with save_theme_preset (colors + typography); any explicit palette fields override the preset's values. The flat `text` field maps to colors.text.primary; any colors not listed (e.g. semantic.success, selection.background) are preserved from the base theme. Optionally also set typography in the same call via heading_family / body_family (supported Google Fonts load via the platform bundle; unsupported names warn — omit to leave fonts unchanged). Saves as a draft and returns the preview URL. Call screenshot_page if you want to see the result.
site_id:string*, palette:object, preset_name:string, heading_family:string, body_family:string -
save_theme_preset
— Snapshot the site's CURRENT draft theme (colors + typography) into fixture.themePresets[] as a named preset you can re-apply later with apply_palette(preset_name). Pass optional color/typography overrides (primary, accent, background, heading_family, body_family, etc.) to save a tweaked variant without first applying it; omitted overrides keep the current draft values. Saving with an existing preset name REPLACES that preset (no duplicates); max 20 presets per site. Does NOT change the active theme — the draft renders the same before and after.
site_id:string*, name:string, primary:string, secondary, accent, background, surface, text, text_secondary, text_muted, border, heading_family:string, … -
site_health_check
— Walk the latest fixture for a site and surface quality issues — missing image alt text, broken/empty links, empty sections, orphaned pages, missing SEO titles, and copy still carrying the source template's content — form option lists, accordion/FAQ items, banner link labels, placeholder imagery (a random-photo service still in an <img>), example.com links that go nowhere, and US-only wording left on a site that otherwise reads as non-US (Medicare on a practice quoting NHS bands and £ prices). It also checks the site's COLLECTION items (products, blog posts, job openings, publications) against the template's starter rows — those are not in the page tree at all, so they survive a full copy rewrite and go public on publish. It also checks the site SHELL — the one header and footer shared by every page, and the part a copy rewrite reaches last because it is in no page tree — for the template's own business name still being presented as this site's, and for the template's demo contact details (email, phone, social handles) still being published as this owner's. That last group is the one no amount of copy editing fixes, because the strings live in node data or in the content store rather than in text nodes. It also LOADS every page through the preview URL and reports any that fail to render — a page can pass every structural check and still show visitors the error screen. It also MEASURES text contrast on the rendered pages and reports text visitors cannot read (`unreadable_text`, with the node id and its colours) — light text on a light card after a theme change passes every other check. Returns a 0-100 score and a list of issues so you can quickly recommend fixes. Note the score reflects STRUCTURAL checks only — it cannot tell whether the copy suits the business, so a 100/100 site can still read wrong.
site_id:string* -
suggest_next_step
— Look at a site's current shape (pages, sections, header nav) and recent activity (form submissions over 30 days) and return up to 3 prioritized suggestions for what to add or fix next. Use this when the user asks 'what should I do next' or after major edits. Read-only: it returns suggestions and never makes the change itself.
site_id:string* -
explain_design
— Explain the design choices of a site or a specific node. With node_id, returns layout role, color/typography choices, semantic intent, and related theme tokens. Without node_id, summarizes the site's overall design language. No LLM call and no writes — pure structural analysis, read-only.
site_id:string*, node_id:string -
summarize_recent_activity
— One-shot summary of a site's recent activity (default last 7 days, max 90): form submissions broken down by form_type, new contacts, pageviews + uniques, top 3 pages, top 3 referrers. Use this when the user asks 'how's my site doing this week?'. The analytics block reads the same gated data as get_analytics, so on a site whose plan doesn't include analytics this returns billing_gate — use list_submissions / list_contacts directly there instead. Read-only: it reports and changes nothing.
site_id:string*, days:integer -
draft_reply_to_submission
— Returns the original form submission plus a structured reply template (subject, greeting, body, sign-off) for you to adapt into a tailored response. This tool composes a TEMPLATE only — it does not send anything. Use list_submissions to find the submission_id first. Read-only: it neither sends the reply nor marks the submission as read — read_submission is the tool that does that, which is exactly why that one is not read-only and this one is.
submission_id:string* -
top_pages
— Return the most-viewed pages for a site over a trailing window (default 30 days, max 90), with views, unique visitors, and share-of-traffic percentage. Useful for conversion conversations: 'these are the pages doing work — focus your CTA tweaks here'. Reads the same analytics data as get_analytics, so a site whose plan doesn't include analytics gets a billing_gate response — relay it and move on; it carries no price and no link, by design.
site_id:string*, period_days:integer -
set_custom_domain
— Attach a custom hostname (e.g. `example.com`, `www.example.com`, `app.example.com`) to a Sitelas site. Registers the domain with the CDN, stores it against the site, and returns the EXACT DNS records the user needs to add at their registrar — apex domains get an A record (76.76.21.21) plus a www CNAME, subdomains get a single CNAME. Records are returned both structured (`dns_records`) and as a copy-pasteable human-readable list (`dns_instructions`). Relay `dns_instructions` and `next_step` verbatim. After DNS propagates (5–30 min typical), call `verify_custom_domain` to flip the verified flag.
site_id:string*, domain:string* -
list_custom_domains
— List custom domains attached to a Sitelas site. Each entry includes the hostname, whether DNS verification has succeeded, the verification token (when one exists), and when the domain was attached. Use `set_custom_domain` to attach a new domain and `verify_custom_domain` to re-check verification.
site_id:string* -
verify_custom_domain
— Re-check DNS for a custom domain and flip the verified flag if Vercel confirms the records resolve. Call this after the user updates DNS at their registrar. On success, returns `published` plus the live HTTPS URL — which is NULL when the site has never been published, because a verified domain on an unpublished site still 404s; say so and offer publish_site rather than handing over a link. On failure, returns Vercel's specific reason plus the exact records Vercel expected — surface `expected_records` so the user can spot the mismatch (wrong host, wrong target, missing record). Surface `message` verbatim either way.
site_id:string*, domain:string* -
delete_custom_domain
— Remove a custom domain from a Sitelas site. Detaches the domain from the Vercel project (apex + www) and deletes the row from custom_domains. Use when the user wants to free up a typo'd domain to re-attach, swap to a different domain, or stop serving traffic on a custom hostname (the *.sitelas.com subdomain keeps working). Requires `confirm: true` to be deliberate. After deletion, the user should remove the DNS records from their registrar — Sitelas can't do that for them.
site_id:string*, domain:string*, confirm:boolean* -
update_seo
— Set SEO metadata for a site or a specific page. Per-page mode (with `page_slug`) writes into the page's `metadata.seo` and ships as a new draft version — call `publish_site` to push live. Site-wide mode (no `page_slug`) writes into the site's `metadata.seo` and is live immediately, as defaults under each page's own values (see each field). Supported fields: title, description, og_image_url, robots (index|noindex), language (BCP 47 — a page's own for a translated page), and — site-wide only — business (schema.org type, address, telephone, email, logo, same_as for the home page's structured data; use it when the owner asks to appear as a local business in search) and verification (Google Search Console, Bing, Meta or Pinterest ownership tag). Omitted fields are kept; `null` removes one. `get_site` returns the current values, including each page's own.
site_id:string*, page_slug:string, seo:object* -
set_tracking_codes
— Connect the owner's own Google Analytics 4, Google Tag Manager, Meta Pixel or Plausible to their published site. Takes an ID — or the snippet the owner pasted, from which the ID is extracted — never arbitrary script. Omitted providers are kept; `null` disconnects one. Live on every public page at once, no publish needed (never on preview links). Use only IDs the owner gave you. Sitelas has its own visitor analytics (get_analytics); this is for owners who want their numbers in those tools, or to measure ads. Where the owner's visitors are in the EU/UK, tell them these tools may need a cookie consent banner.
site_id:string*, google_analytics, google_tag_manager, meta_pixel, plausible -
generate_sitemap
— Build a sitemap.xml from a site's currently published version. Walks enabled pages and emits one <url> entry per page using the site's live URL (custom domain when verified, otherwise the *.sitelas subdomain). Returns the raw XML plus a parsed entries array. Read-only — does not mutate the site. Sitelas may already auto-serve a sitemap; use this tool to inspect or copy the generated XML.
site_id:string* -
record_decision
— Append a durable decision (with optional rationale) to the site's cross-session memory. Use this whenever you make a non-obvious creative or structural choice the user might want to revisit later — palette swap, copy direction, layout approach, etc. `decision` and `why` are each capped at 500 characters — keep decision to the choice itself and put supporting detail in why. Capped at 50 entries per site (oldest dropped). Returns the new total count and the timestamp recorded.
site_id:string*, decision:string*, why:string -
update_site_brief
— Set or incrementally update the durable site brief (vibe, category, brand voice, palette/font names, tagline, target audience) used as cross-session memory. Merges field-by-field into the existing brief — omitted fields are preserved, and the decisions[] log is left untouched. Call this once after picking a direction, then again whenever the direction shifts.
site_id:string*, brief:object* -
list_content_types
— List every content collection declared on a site, with its per-item field schema (`fields[]`). Schemas are per-site — there is no platform-wide catalog. Each entry includes the collection's `contentType` slug, its `pathPrefix`, whether it's enabled, and the typed `fields[]` (each with `key`, `type`, optional `required`, `label`, `description`, `options` for select fields), PLUS `observed_fields` — keys that actually appear on the collection's items but aren't in the declared schema (the schema is open, so include these when adding an item so it matches the existing ones). Call this before `add_content_item` to discover which fields a collection supports — or before `create_collection` to confirm a contentType isn't already taken.
WHAT EACH `type` HOLDS, because the name does not say: text / textarea / rich-text (HTML) / url / date / select -> string; number -> number; boolean -> boolean; tags -> string[]; **image -> an object { "url": "…", "alt": "…" }, NOT a bare string** (a plain URL is accepted on write and stored as { url }; send `alt` when you have it). That last one is the one that gets guessed wrong.
site_id:string* -
create_collection
— Stand up a new collection on an existing site in one call: append a `collections[]` entry (with `contentType`, `pathPrefix`, `template`, and optional `items[]`), optionally create the index page that hosts the matching `<collection-list>`, and seed initial items into the `content_items` table. After this call:
- `/{path_prefix}/{slug}` resolves each item via Mustache substitution
- the index page's `<collection-list>` iterates the seeded items
- `add_content_item` / `edit_content_item` / `delete_content_item` manage rows afterward.
Use this when the user asks 'add a blog to my site', 'set up case studies', 'add a careers section', etc. Schemas are per-site — pick a `contentType` slug that's unique within the site (call list_content_types to see what's already declared) and ship the `fields[]` schema inline. Writes a new draft version; call publish_site to push live.
site_id:string*, content_type:string*, path_prefix:string*, fields:array*, template:object*, items:array, index_page:object, enabled:boolean -
list_content_items
— List content items (e.g. blog posts, projects) for a site filtered by content_type slug. Optionally filter by visibility ('public' | 'private' | 'all'; default 'all'), with limit/offset paging. Returns each item's id, slug, full content JSON, visibility, and timestamps. Use add_content_item / edit_content_item / delete_content_item to mutate the collection.
site_id:string*, content_type:string*, filters:object -
add_content_item
— Create a new content_items row for a site under a given `content_type` slug — this is the RIGHT tool for adding any repeating detail page (`/projects/<slug>`, `/blog/<slug>`, `/searches/<slug>`, `/publications/<slug>`, `/work/<slug>`, `/talks/<slug>`, `/teaching/<slug>`, etc.) when the site already declares a matching `collections[]` entry. The row is written to the site's DRAFT version, so it shows on the index page's `<collection-list>` and its detail URL `/<prefix>/<slug>` in PREVIEW right away (via the collection's template + Mustache substitution); it goes public on the next `publish_site`. DO NOT use `add_page` for detail pages of an existing collection — that creates a static page that the index won't reflect and sitemap won't auto-emit.
IMAGES IN `content`: source them yourself with `find_images` or `upload_image_from_url` — that is the normal path and needs nothing from the person. An `image`-typed field holds an OBJECT: { "url": "https://…", "alt": "what is in the picture" }. A bare URL string is accepted and stored as { url }, but send `alt` when you can — it is the only description a screen reader gets, and the template may render it. Check the field's declared type with `list_content_types` before composing: a `url`-typed field takes the plain string instead. But if they want THEIR OWN picture on an item (their product shot, their photo of the venue), do not try to carry the file: create the item with the text, then give them `get_editor_link` with `page_slug` set to that item's path (e.g. 'blog/my-first-post') so they can drop the original straight onto it.
`content` is validated against the content_type's JSON schema (lenient/open): `required` fields must be present and non-empty, declared fields must match their type, extra fields are allowed. Include every field the collection's `template` references — missing fields render as empty strings in the detail page. `visibility` defaults to 'public' (anonymous-readable).
SLUG BEHAVIOR (idempotent): re-calling with the SAME slug + identical content is a safe no-op — it returns `success` with `already_existed:true` (no error), so a retried write after a dropped connection won't double-post. Re-using the same slug with DIFFERENT content is a real collision and throws ConflictError — pick another slug or use `edit_content_item` to change the existing row.
If the site doesn't yet have a matching `collections[]` entry, add one first via `create_collection` (composes the collections[] entry + optional index page + items[] in one call). Each site defines its own schemas inline at `collections[i].fields` — there is no global content-type catalog; what shapes exist for a site is whatever the site's draft_fixture declares.
site_id:string*, content_type:string*, slug:string*, content:object*, visibility:string, published_at:string -
edit_content_item
— Update fields on an existing content item. Identify it by `item_id`, OR — when you only know its name — by `site_id` + `content_type` + (`slug` | `title`); `title` resolves fuzzily (exact then contains) and errors with the available titles when there's no unique match. `patch` may include `content` (shallow-merged into existing content JSON), `slug` (rename — the old URL 308-redirects to the new one once published), and/or `visibility`. At least one field is required. When `content` is patched, the MERGED result is validated against the content_type schema (lenient: required present + declared types; extra fields allowed) and rejected with paths if it would leave the item missing a required field. An `image`-typed field holds an OBJECT { "url": "…", "alt": "…" } — a bare URL string is accepted and stored as { url }. `content` is SHALLOW-merged, so patching an image field replaces the whole object: re-send `alt` alongside `url` or it is dropped. Ownership is verified via the parent site's user_id. Throws on slug collision.
item_id:string, site_id:string, content_type:string, slug:string, title:string, patch:object* -
delete_content_item
— Delete a content item by id. It also comes off the live site immediately. Ownership is verified via the parent site's user_id. Returns the deleted item's slug and content_type for confirmation.
item_id:string* -
delete_collection
— Delete a whole collection (a blog, projects, menu, team…): its schema, its listing page (the page at its path prefix) and EVERY item in it. Use this when the user wants a whole section of posts or entries gone. To remove one entry use delete_content_item; never remove a collection with patch_fixture, which leaves all its items behind. The items and the listing page come off the live site immediately, like Delete in the editor; the schema removal stays in the draft until publish_site. Links to the collection elsewhere (menu, footer, buttons) are not changed: they come back in `dead_links` with where each one is — re-point or remove them. Also cleans up items left behind by a collection that is no longer declared. Permanent.
site_id:string*, content_type:string* -
screenshot_page
— Capture a JPEG when the question is genuinely VISUAL — layout, spacing, hierarchy, whether the hero reads as designed, whether the mobile breakpoint collapses cleanly (pass viewport). Returns the page's `text` and `title` alongside the image, fetched concurrently at no extra wall-clock, so you get what the page SAYS as well as how it LOOKS from one call — READ that text, because leftover template copy is the most common way a site ships wrong and it is invisible in an image. Still runs a real browser at ~5s, so when the question is only about wording prefer read_rendered_page at ~357ms. Always captures via the preview URL (preview-{slug}.{rootDomain}), which renders the current draft (or 302s to live when in sync). Read-only.
site_id:string*, slug:string, full_page:boolean, viewport:string -
critique_design
— Returns extracted design metrics for a site (per-page section signatures, CTA counts, heading hierarchy, placeholder text detection, site-wide color/font/spacing usage) for reviewing a site's design quality and producing a structured critique. Useful after composing or editing a site as a self-review pass, before claiming it's done. Different from site_health_check (which covers technical things like missing alt text, broken links). Read-only.
site_id:string*, page_slug:string -
delete_site
— Permanently delete a site — its subdomain row, all version snapshots, all content_items, all submissions, the alias history, attached custom domains (removed from Vercel), any active billing for the site (cancelled), and any media in the storage bucket. IRREVERSIBLE. Use this when the user explicitly asks to scrap a site (e.g. 'delete my-portfolio-3947, I don't want it' or 'I created the wrong template, throw it away'). Requires `confirm: true` to be deliberate. Do NOT call this on user-said-something-vague — ask 'are you sure you want to delete {subdomain} permanently?' first and only call after explicit yes. There is no undo. If the billing cancellation fails, the entire delete is aborted so the user is never charged for a deleted site.
site_id:string*, confirm:boolean*
Overview
What is Sitelas?
professionally designed template with your copy and photos.
How it works
- Describe it. "A one-page site for my bike repair shop, warm and hand-made, with a contact form."
- Preview. The agent sends a preview link. Nothing goes live until you approve.
- Publish. Your site goes live at yourname.sitelas.com, or your own domain on Pro.
- Keep running it from the chat. Rewrite pages, add or remove pages, swap photos, read new contact-form messages and draft replies, then publish the changes.
What you can ask for
- "Rewrite every page in a warmer voice."
- "Add a Pricing page and remove the Blog."
- "Make the colours earthier and use a serif for headings."
- "Show me this week's form messages."
What it builds
Marketing websites for small businesses, freelancers, creators and startups: local services, restaurants, portfolios, clinics, agencies, waitlists. It is not an app builder: no online store checkout, bookings or visitor log-ins.
Connect
- Claude: https://claude.ai/directory/connectors/sitelas
- ChatGPT: https://chatgpt.com/plugins/plugin_asdk_app_6a7a0b3d955881919a5e50754eff56fb
- Any MCP client:
https://sitelas.com/api/mcp(Streamable HTTP, OAuth sign-in on first use)
Pricing
Free: one live site with Sitelas branding. Pro: $9 a month or $90 a year per site, with a custom domain, no branding and analytics.
Docs: https://sitelas.com/docs/agents · Templates: https://sitelas.com/templates
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In