L'Atlas / MCP servers / Pagetool
MCP server

Pagetool

io.pagetool/pagetool

MCP server OK 41 tools

Get a review See pricing

Build and host websites from a chat: draft free, edit and theme, then publish to your own domain.

Technical sheet

Author
pagetool.io (registry namespace)
Repository
—
Site
pagetool.io
Version
1.1.0
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://pagetool.io/api/mcp Streamable HTTP
Tools
41
Categories
—
Last updated
17 Nov 2026
Published
17 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.pagetool/pagetool.svg?lang=en)](https://latlas.dev/en/mcp/io.pagetool/pagetool)
HTML
<a href="https://latlas.dev/en/mcp/io.pagetool/pagetool"><img src="https://latlas.dev/badge/statut/mcp/io.pagetool/pagetool.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.pagetool/pagetool.svg?lang=en)](https://latlas.dev/en/mcp/io.pagetool/pagetool)
HTML
<a href="https://latlas.dev/en/mcp/io.pagetool/pagetool"><img src="https://latlas.dev/badge/fiche/io.pagetool/pagetool.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://pagetool.io/api/mcp
Last result
OK 28 Nov 2026, 11:08
Response time
1,394 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
pagetool-agent-platform 1.0.0
Tools
41

History

DateResultResponseTools
28 Nov 2026, 11:08OK1,394 ms41

Exposed tools (41, from tools/list, 28 Nov 2026)

create_site_from_brief

Create a site from a brief

BUILD FIRST, ASK LATER. Creates a complete, live draft website in one call - free, instant, no account and no sign-in. Call this as soon as someone asks for a website, using whatever you already know and sensible defaults for the rest, then show them the returned preview_url and refine it with edit_section and set_theme. Do not interview the user first. Composition is deterministic and no language model is involved, so anything you leave blank renders as a visible placeholder rather than invented copy. You can edit or claim this draft for 7 days from creation.

ParameterTypeRequiredDescription
business_namestringyesThe business or site name. Required, max 120 chars.
templateenum: "storefront" | "event" | "shop" | "services" | "nonprofit"noOptional starter template - the same ones people pick in the editor. storefront: products with buy buttons, why-us, shipping FAQ. event: a recurring night - what to expect, rules, sign-up, where. shop: a place to visit - story, hours, photos, map, socials. services: services with prices, reviews, s…
taglinestringnoShort tagline/subheading, max 200 chars.
sectionsstringnoComma-separated section kinds to include, in order, e.g. "hero,about,services,contact". Allowed values: hero, about, services, features, gallery, testimonials, pricing, faq, hours, contact, cta, footer, menu, map, social, header, products, reviews, gamesList. Defaults to hero,about,services,contact…
contact_emailstringnoContact email shown in the contact section, if included.
contact_phonestringnoContact phone shown in the contact section, if included.
contact_addressstringnoContact address shown in the contact section, if included.
palette_primarystringnoPrimary brand colour as a #rrggbb hex string. Defaults to #2563eb.
palette_neutralstringnoNeutral text/background colour as a #rrggbb hex string. Defaults to #0f172a.
font_headingstringnoHeading font family name. Defaults to Inter.
font_bodystringnoBody font family name. Defaults to Inter.
content_jsonstring | objectnoPer-section content, keyed by section kind (the kind must also be in sections), as a JSON string or an object, max 64KB. Keys per kind - hero: heading, body, ctaLabel, ctaHref, image, alt. about: heading, body, image, alt. cta: heading, body, ctaLabel, ctaHref. services / features / testimonials: h…
site_namestringnoOptional display name for the site row (defaults to business_name).
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

create_site_from_html

Create a site from raw HTML

BUILD FIRST. Creates a live draft site from HTML you already have - free, instant, no account and no sign-in, fully deterministic with no language model involved. Call it immediately when the user brings you markup, then show them the returned preview_url. Choose create_site_from_brief instead when you are authoring the site yourself and want every section to stay editable in the Pagetool editor: this route keeps the markup verbatim and the flattening is ONE-WAY. Both routes end in the same hosted, publishable site. Scripts, event handlers and javascript: links are always stripped, and external, data: and framework-internal image URLs are dropped and reported back to you. You can edit or claim this draft for 7 days from creation.

ParameterTypeRequiredDescription
htmlstringnoThe raw HTML to import. A full document or a bare fragment/section both work. Max 2 MB. Include the page CSS in a block - inline and CSS are mapped to the site styling; external stylesheet links are not fetched. To build several pages at once, pass pages instead.
pagesarray<object>noBuild a whole site in one call instead of html: a list of up to 10 pages, each { path, html, name? }, exactly one with path "/" (the home page), e.g. [{"path":"/","html":"..."},{"path":"/about","html":"..."}]. Link between pages with href="/about". Every page is checked before anything is created.
site_namestringnoOptional display name for the site (defaults to the document title, or "Imported site").
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

edit_section

Edit or remove a site section

Changes one node of a site - text, title, styling, link, image, heading level - or removes it and its descendants when remove is true. Address a section with section_id (from list_sections) or index, then aim at the node inside it with field (e.g. "heading", "body", "items[1].title"); list_sections shows every section's fields. Text goes on text nodes only: content aimed at a container is refused with the right field names. Free, and no account is needed for a draft you created.

ParameterTypeRequiredDescription
pagestringnoWhich page of the site, as its path ("/about", "/contact"). Omit for the home page. See list_pages.
site_keystringnoThe site to edit. Defaults to the caller's current draft site when omitted.
indexintegernoThe section (or node) index to edit or remove. Indices SHIFT/renumber whenever an earlier section is removed elsewhere on the page, so an index recorded before a removal may now point at a different section. Prefer section_id; call list_sections first (or after any removal) to get each section's CU…
section_idstringnoThe stable id of the section to address, exactly as list_sections returns it (e.g. "about-1"). It survives removals, unlike index. This ADDRESSES a section; it does not rename anything (use html_id for that).
fieldstringnoWhich node inside the addressed section to change, from that section's fields in list_sections: "heading", "body", "text[n]", "links[n]", "image", "items[n].title", "items[n].body", "items[n].price", "items[n].link", "items[n].image". A card with no link or photo yet: set field "items[n].link" with…
removebooleannoWhen true, removes this section and its descendants instead of editing it (with field "items[n]": removes that one card).
add_itemobjectnoAdds one card to the addressed section (services, features, pricing, products, testimonials...), styled like its last card. Fields not given are left out. The response gives its item number.
contentstringnoNew text content for this section.
titlestringnoNew title attribute for this section.
class_namestringnoNew Tailwind class string for this section.
hrefstringnoNew link target (http:, https:, mailto:, tel:, a path starting with /, or an in-page anchor like #pricing).
srcstringnoNew image/media source (same URL scheme rules as href).
altstringnoNew alt text for an image section.
html_idstringnoNew HTML id for the node (e.g. "contact" for #contact anchor links).
subtypestringnoNew subtype for this section.
levelintegernoNew heading level (1-6) when this section is a heading textBox.
bandenum: "match" | "light" | "dark"noGames list section only: its band. match (default) = the page's own look; light or dark forces a readable light or dark band.
heading_classstringnoGames list section only: heading classes (sizes, weights, uppercase, tracking, padding, rounding, alignment; no colours), e.g. the page's pill style 'inline-block rounded-full px-4 py-1 text-sm font-semibold uppercase'. Default: copied from the page's other headings.
heading_styleenum: "plain" | "match"noGames list section only: plain (default) = the heading takes the page's heading layout, never its colours; match = it also copies the page's pill colours (background and text) from its other section headings, only when they read at 4.5:1 or more. A page with no such coloured heading is unchanged.
stagebooleannotrue = work on a staged copy instead of the live site: preview it at staged_preview_url, then publish_staged or discard_staged. Omit for a normal (immediately live) edit.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

add_section

Add a section

Adds ONE section of any kind (menu, map, faq, hours, ...) to an existing site, styled like the rest of it, without rebuilding the site. Pass content_json with that section's keys (or html with your own markup instead of kind), and position to choose where it goes (default: end, before the footer). Saves an undo version first; stage:true previews it before it goes live. Free. In the result, section_count is the number of nodes in the page tree (nested ones included), NOT the number of sections; listed_section_count is the number of top-level sections and matches what list_sections returns.

ParameterTypeRequiredDescription
pagestringnoWhich page of the site, as its path ("/about", "/contact"). Omit for the home page. See list_pages.
site_keystringnoThe site to add to. Defaults to the caller's current draft site when omitted.
kindenum: "hero" | "about" | "services" | "features" | "gallery" | "testimonials" | "pricing" | "faq" …noThe kind of section to add: hero, about, services, features, gallery, testimonials, pricing, faq, hours, contact, cta, footer, menu, map, social, header, products, reviews, gamesList.
content_jsonstring | objectnoThis section's content, as a JSON string or an object, with the same keys as create_site_from_brief's content_json uses for this kind (e.g. menu: {"heading": "Menu", "items": [{"title": "Latte", "price": "$4", "group": "Drinks"}]}). contact also takes "email", "phone" and "address" (email renders a…
positionintegerno0-based slot among the top-level sections (indexes as in list_sections order). Omit to add at the end, just before the footer if there is one.
htmlstringnoInstead of kind: your own markup for the new section(s), e.g. " ... " with its own . Imported like create_site_from_html (the result includes its import report). Best for sites built from HTML. Give kind or html, not both.
colorsobjectnoOptional, for kind "map" only. Colours for the new map as 6-digit hex like #1a1a1a: background, text, accent (the link). Leave out to match the section next to it on an imported page.
stagebooleannotrue = work on a staged copy instead of the live site: preview it at staged_preview_url, then publish_staged or discard_staged. Omit for a normal (immediately live) edit.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

add_page

Add a page to a site

Adds a new page (e.g. "/about", "/contact") to an existing site, built from html (same importer as create_site_from_html) or composed from sections/content_json in the site's own palette and fonts. Link between pages with href="/about". Respects the plan's page limit; stage:true previews it before it goes live. Free.

ParameterTypeRequiredDescription
site_keystringnoThe site to add a page to. Defaults to the caller's current draft site when omitted.
pathstringyesThe new page's path, e.g. "/about" or "/contact": lowercase letters, digits and hyphens, at most 19 characters. Link to it with href="/about".
namestringnoThe page name shown in the editor's page list. Defaults to one made from the path ("Contact Us").
htmlstringnoBuild the page from this HTML (same importer as create_site_from_html). Omit to compose it from sections instead.
sectionsstringnoComma-separated section kinds to compose the page from when html is omitted: hero, about, services, features, gallery, testimonials, pricing, faq, hours, contact, cta, footer, menu, map, social, header, products, reviews, gamesList. Defaults to about.
content_jsonstring | objectnoPer-section content keyed by section kind, exactly as create_site_from_brief's content_json. Styled with the site's own palette and fonts.
stagebooleannotrue = work on a staged copy instead of the live site: preview it at staged_preview_url, then publish_staged or discard_staged. Omit for a normal (immediately live) edit.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

list_sections

List a site's sections

Lists a site's top-level sections in order - each one's CURRENT index, its stable section_id, its kind, its heading, and its fields (every editable node inside it: heading, body, items[n].title, ... with each node's index and current text) - so you can aim edit_section at exactly the right node with section_id + field. Indices shift whenever an earlier section is removed, so list the sections again after any removal instead of reusing an index you recorded earlier. section_count here is the number of top-level sections listed (the same number as listed_section_count in add_section / edit_section results; their section_count counts every node in the tree). Free, and no account is needed for a draft you created.

ParameterTypeRequiredDescription
pagestringnoWhich page of the site, as its path ("/about", "/contact"). Omit for the home page. See list_pages.
site_keystringnoThe site to list. Defaults to the caller's current draft site when omitted.
stagebooleannotrue = work on a staged copy instead of the live site: preview it at staged_preview_url, then publish_staged or discard_staged. Omit for a normal (immediately live) edit.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

list_sites

List your sites

Lists every site you own, newest first - site_key, name, preview_url and when that preview link expires, whether it is published and on which domain, and when it was created and last changed. Signed in (OAuth) it lists your account; with a draft_token it lists that draft. Read-only and free.

ParameterTypeRequiredDescription
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

archive_site

Archive an unpublished site

Removes one of your own UNPUBLISHED sites from your account so it no longer appears in list_sites (for example test sites). Nothing is deleted: it is the same recoverable archive the dashboard uses. Live sites, and sites with an active client pay link, are refused. Signed-in accounts only. Free.

ParameterTypeRequiredDescription
site_keystringyesThe site to archive. Must be yours and NOT published (a live site is refused).

list_pages

List the pages of a site

Lists every page of a site (home first) with its path, name, draft preview URL and live URL. Use the path as the page parameter of edit_section, add_section, list_sections and the version tools. Free.

ParameterTypeRequiredDescription
site_keystringnoThe site whose pages to list. Defaults to the caller's current draft site when omitted.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

remove_page

Remove a page from a site

Removes one page (not the home page) from your site, using the dashboard's recoverable delete: a version is saved first and the page can be restored. Signed-in accounts only. Free.

ParameterTypeRequiredDescription
site_keystringyesThe site to remove a page from.
pathstringyesThe page to remove, e.g. "/about". The home page cannot be removed.

replace_page_html

Replace a page with new HTML

Re-imports ONE page (the home page too) from new HTML, in place: same address, same share link, same place in the page order, and a version is saved first so it can be undone. Use it to refresh a page built earlier. stage:true previews it before it goes live. Free.

ParameterTypeRequiredDescription
site_keystringnoThe site the page belongs to. Defaults to the caller's current draft site when omitted.
pathstringnoThe page to replace, e.g. "/about". "/" (the home page) is allowed. Defaults to "/".
htmlstringyesThe new full HTML for this page, imported exactly like create_site_from_html (the result includes the import report). The page keeps its address, its place in the page order and its version history; a version is saved first.
stagebooleannotrue = replace a staged copy instead of the live page: preview it at staged_preview_url, then publish_staged or discard_staged. Required with the operator token on a live site.
keep_added_sectionsbooleannotrue = keep the sections added with add_section (reviews, map and the like) after the imported content, in their original order. Default false: the page is replaced and the result lists them in dropped_sections with a warning (an empty list means none were dropped).
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

prowess_buy_domain

Buy the domain for a live build (code prowess)

Operator token only, during a "code prowess" build the owner authorized with a spending cap. Buys ONE domain for the business through our registrar (owner-paid; no customer charge), points it at the server and starts HTTPS. Use dry_run first to compare endings. Exact business name within the cap beats a cheaper near-miss. Auto-renew stays off. Then publish_site and poll publish_status. A refused or unchecked domain ending carries `reason` and a plain `reason_text`: unsupported or price_unavailable mean we do not sell that ending right now; lookup_failed or cap_reached mean it was NOT checked, so search again, and never tell the customer we do not sell it.

ParameterTypeRequiredDescription
domainstringyesThe ONE domain to buy for this business, bare, e.g. "heapy.net". Pick the exact business name on any ending that fits the grant's remaining cap before a cheaper misspelling (heapy.net at $90 beats heeepy.com at $40). Check prices first with dry_run.
site_keystringnoThe site this domain is for (optional; for your own bookkeeping).
dry_runbooleannotrue = quote only: registrar, cost for the minimum term, and whether it fits the cap. Buys nothing.

publish_status

Check whether a domain is live

For a domain your site uses: does DNS point at our server, is the HTTPS certificate in place, and does the page answer? live:true means a visitor can open https:// now. A fresh domain usually takes 5-15 minutes; poll every 20-30 seconds.

ParameterTypeRequiredDescription
domainstringyesThe domain to check, e.g. "heapy.net". Poll every 20-30 seconds after publish_site until live is true.

record_review

Record a review of one exact site version

Reviewer token only. Records pass or revise for one exact version of a site (from list_reviews). The operator token can publish only a version whose latest review is a pass; any edit makes a new version.

ParameterTypeRequiredDescription
site_keystringyesThe site you reviewed.
versionstringyesThe exact version you reviewed: current_draft_version (before publish_site) or current_staged_version (before publish_staged) from list_reviews. Any later edit makes a new version that needs its own review.
verdictenum: "pass" | "revise"yespass lets the operator publish this exact version; revise blocks it until a new version passes.
itemsarray<string>noWhat must change (up to 50 short items). Required in practice for revise.
notestringnoOptional summary of the review (up to 2000 characters).

list_reviews

List reviews and the current reviewable versions

For one site: whether publishing with the operator token needs a review (enforced), the current draft and staged versions (what record_review must name), and the reviews recorded so far, newest first.

ParameterTypeRequiredDescription
site_keystringyesThe site whose reviews and current reviewable versions to list.

live_check

Check a published site the way a visitor and a crawler see it

For a published domain of your site: https root 200, http and www reach https:// / in one hop, title/description/og tags name the site, og:image is a 1200x630 PNG/JPEG, the favicon is the site's own, no editor leftovers, outbound links answer, exactly one h1, no draft badge. Returns PASS/WARN/FAIL per check. stored:true returns the automatic report made about two minutes after publish_site.

ParameterTypeRequiredDescription
domainstringyesThe published domain to check, e.g. "angelamcgraw.com".
namestringnoThe person or business the title and og tags must name. Defaults to the site name.
storedbooleannotrue = return the newest stored report (including the automatic one ~2 minutes after publish_site) without fetching.

list_versions

List a site's undo history

Lists a site's saved versions, newest first - version_id, why it was saved, its label, whether an AI edit made it (ai: true), and when. Every edit_section and set_theme call saves the page first, so any AI edit can be undone with restore_version. A version labelled "AI edit: X" holds the page as it was BEFORE X ran. Version ids are reused once a page has 20 versions, so an id can later hold different content; order is by time, not by id. Free, and no account is needed for a draft you created.

ParameterTypeRequiredDescription
pagestringnoWhich page of the site, as its path ("/about", "/contact"). Omit for the home page. See list_pages.
site_keystringnoThe site whose undo history to list. Defaults to the caller's current draft site when omitted.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

restore_version

Restore a saved version (undo)

Puts a site back to a version from list_versions - the undo button for AI edits. The current page is saved as a version first, so a restore can itself be undone. Free, and no account is needed for a draft you created. Version ids are reused once a page has 20 versions, so re-check list_versions before restoring an old id.

ParameterTypeRequiredDescription
pagestringnoWhich page of the site, as its path ("/about", "/contact"). Omit for the home page. See list_pages.
site_keystringnoThe site to restore. Defaults to the caller's current draft site when omitted.
version_idintegeryesThe version to restore, from list_versions. The current page is saved as a version first, so a restore can itself be undone.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

import_image

Import an image (hosted copy)

Copies a photo from a public URL (e.g. the business's own website) into Pagetool's image store and returns its hosted url. Use that url in content_json (hero/about/card/gallery image), in edit_section src, or in for create_site_from_html - external image URLs are otherwise dropped. JPEG, PNG, WebP, GIF or AVIF up to 10 MB; resized to 1600px WebP and safety-checked. No public URL (e.g. photos the owner took)? Send data_base64 instead - downscale large photos first. Counts against the site owner's image allowance.

ParameterTypeRequiredDescription
urlstringnoPublic http(s) URL of a JPEG, PNG, WebP, GIF or AVIF image (e.g. a photo on the business's own website). Never SVG. Max 10 MB. Give url OR data_base64, not both.
data_base64stringnoThe image itself, base64-encoded (or a data:image/...;base64, URL) - for photos with no public URL, e.g. ones the owner took. Same types and 10 MB limit; downscale large photos before sending. Give url OR data_base64, not both.
filenamestringnoOptional original file name, for your own reference; the type is detected from the bytes.
formatenum: "webp" | "jpeg"noStored format. Default "webp" (smallest). Use "jpeg" for an image you will set as og_image_url (a link-preview share card), because some preview scrapers do not render WebP.
site_keystringnoThe site the image is for; it counts against that site owner's image allowance. Defaults to the caller's current draft site when omitted.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

set_client_record

Save the client record for a site

Saves who a site is for and where things stand: business name, contact name/email/phone, the source pages its facts came from, status (prospect, pitched, managed, declined, transferred_out) and notes. Only the fields you pass change; null clears one. list_sites shows each site's record.

ParameterTypeRequiredDescription
site_keystringnoThe site the record is about. Defaults to the caller's current draft site when omitted.
business_namestringnoThe client business name. Null clears it.
contact_namestringnoThe person to talk to at the business. Null clears it.
contact_emailstringnoTheir email. Null clears it.
contact_phonestringnoTheir phone. Null clears it.
source_urlsarray<string>noThe business's own pages the site's facts came from (http/https, max 20). Replaces the stored list.
statusenum: "prospect" | "pitched" | "managed" | "declined" | "transferred_out"noWhere the relationship stands.
notesstringnoFree-text notes (max 5000 chars). Null clears them.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

create_transfer_code

Create a one-time site transfer link

Creates a one-time link that hands a managed site to a departing client: they sign in or sign up and accept, and the site (and, by default, its domain) moves to their account. The link works once and expires at expires_at; creating a new one cancels the previous one. Signed-in accounts only.

ParameterTypeRequiredDescription
site_keystringyesThe managed site to hand over to a departing client.
include_domainbooleannoMove the site's connected domain with it (default true). When false the site moves unpublished and the domain stays with this account.

publish_staged

Make staged changes live

Makes a site's staged changes (edit_section/set_theme with stage: true) live. The live page is saved as a version first, so this can be undone with restore_version. Free.

ParameterTypeRequiredDescription
site_keystringnoThe site whose staged changes should go live. Defaults to the caller's current draft site when omitted.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

discard_staged

Drop staged changes

Drops a site's staged changes without touching the live site. Free.

ParameterTypeRequiredDescription
site_keystringnoThe site whose staged changes should be dropped. Defaults to the caller's current draft site when omitted.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

set_theme

Repaint a site's theme

Repaints the palette and fonts of an existing site across every section without touching its content or structure - the tool for make it warmer, darker, more corporate. At least one of palette_primary, palette_neutral, font_heading, font_body is required. Free, and no account is needed for a draft you created.

ParameterTypeRequiredDescription
site_keystringnoThe site to theme. Defaults to the caller's current draft site when omitted.
palette_primarystringnoNew primary brand colour as a #rrggbb hex string.
palette_neutralstringnoNew neutral text/background colour as a #rrggbb hex string.
font_headingstringnoNew heading font family name.
font_bodystringnoNew body font family name.
favicon_urlstringnoThe browser-tab icon for the site: an https:// image URL (or a /path on the site), max 500 characters. May be the only field. Without one, customer domains show the first letter of the site name on its primary colour.
stagebooleannotrue = work on a staged copy instead of the live site: preview it at staged_preview_url, then publish_staged or discard_staged. Omit for a normal (immediately live) edit.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

get_preview_url

Get a site's preview URL

Returns the shareable preview URL for a site, plus its expiry. The create tools already return this URL, so call this only when you need it again later. Free, and no account is needed for a draft you created. You can edit or claim this draft for 7 days from creation.

ParameterTypeRequiredDescription
site_keystringnoThe site to preview. Defaults to the caller's current draft site when omitted.
share_idstringnoAlternative lookup by share id, honoured only when it belongs to the caller.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

draft_create

Create anonymous draft site

Mints an anonymous draft identity (a draft token) with no account and no sign-in. You usually do NOT need to call this first: create_site_from_brief and create_site_from_html mint one for you and return it. Use this only when you want the token before composing anything. You can edit or claim this draft for 7 days from creation.

ParameterTypeRequiredDescription
namestringnoOptional display name for the draft site.

export_site_html

Export a site to a self-contained HTML file

Renders a site to a single self-contained HTML file. Paying customers only: requires a signed-in bearer token and an entitlement, so anonymous drafts do not export.

ParameterTypeRequiredDescription
site_keystringyesThe site to export.

draft_claim

Claim a draft into your account

Moves an anonymous draft onto the account of the signed-in user after they have authorized. Call this only once the user has said they want to keep the site - never before, and never as a precondition for building.

ParameterTypeRequiredDescription
draft_tokenstringnoThe draft token to claim. Falls back to the x-pagetool-draft-token header when omitted.

domain_search

Domain search

Checks availability and price for a domain, or for a bare name across a set of TLDs. Free and needs no account. Use it once the user wants their finished draft on a real address. A refused or unchecked domain ending carries `reason` and a plain `reason_text`: unsupported or price_unavailable mean we do not sell that ending right now; lookup_failed or cap_reached mean it was NOT checked, so search again, and never tell the customer we do not sell it.

ParameterTypeRequiredDescription
querystringyesA full domain (name.tld) or a bare name to check across TLDs.
tldsstringnoComma-separated TLDs to check a bare name against, e.g. "com,io". Ignored when query is a full domain.
limitintegernoMax number of results to return (default: all, max 25).

purchase_link

Create payment link

Creates the one Stripe Checkout link that pays for a domain registration and saves the card of the customer, so every later purchase can happen inside this conversation. This is the only time the user leaves the chat - give them the returned URL. Reach for this only after they have asked to publish. A refused or unchecked domain ending carries `reason` and a plain `reason_text`: unsupported or price_unavailable mean we do not sell that ending right now; lookup_failed or cap_reached mean it was NOT checked, so search again, and never tell the customer we do not sell it.

ParameterTypeRequiredDescription
domainstringyesThe full domain to buy, e.g. example.com.

purchase_execute

Charge the saved card

Charges the saved card of the customer immediately for a purchase they have explicitly agreed to in this conversation. Only call it after they have confirmed the exact item and amount in words - this tool moves real money right away. A refused or unchecked domain ending carries `reason` and a plain `reason_text`: unsupported or price_unavailable mean we do not sell that ending right now; lookup_failed or cap_reached mean it was NOT checked, so search again, and never tell the customer we do not sell it.

ParameterTypeRequiredDescription
kindenum: "domain"yesWhat is being bought. Only 'domain' is available in chat today.
itemstringyesThe exact thing being bought; for kind='domain', the full domain name.
consent_confirmedenum: "user_confirmed"yesPass 'user_confirmed' ONLY after the customer has explicitly agreed to this exact purchase and amount in the conversation. Do not set it on your own initiative.
consent_itemstringyesThe item the customer agreed to buy, as they understood it. If it does not match what is being charged, the charge is REFUSED.
consent_amount_centsintegeryesThe exact amount in cents the customer agreed to pay. If it does not match the real server-side price, the charge is REFUSED and nothing happens.
consent_statementstringyesThe customer's own words agreeing to this purchase, relayed verbatim. Must mention the item or the price. Do not invent it — if the customer has not explicitly agreed to this amount, do not call this tool.

domain_register

Register a paid domain

Completes registration for a domain the customer has ALREADY paid for. It never charges, and it never reports success it has not confirmed.

ParameterTypeRequiredDescription
domainstringyesThe full domain to register, e.g. example.com.

create_client_checkout

Create a client pay link

Creates a pay link (pay_url) for a business owner with NO Pagetool account: they pay by card (US cards only) a monthly subscription (default $25/month, or price_cents) that registers the domain, keeps it renewed and puts the site live on it automatically. If they cancel, or stay unpaid past the grace period, the site comes down. The link expires at expires_at. Signed-in accounts only. Free to create; it never charges you. A refused or unchecked domain ending carries `reason` and a plain `reason_text`: unsupported or price_unavailable mean we do not sell that ending right now; lookup_failed or cap_reached mean it was NOT checked, so search again, and never tell the customer we do not sell it.

ParameterTypeRequiredDescription
site_keystringyesThe site the business is paying for (must be yours, and not yet live on a domain).
domainstringyesThe domain to register for them, bare, e.g. "joesbakery.com". Must be available; .com/.net/.org and other Cloudflare endings for now.
price_centsintegernoCustom price in cents per interval. Omit for the default ($25/month). Required when the domain costs more than $20/year.
intervalenum: "month" | "year"noBilling interval. Defaults to month.
business_namestringnoThe business name shown on the pay page.
contact_emailstringnoThe business owner's email, for your records (Stripe also collects it at payment).
dry_runbooleannotrue = quote only: runs every check and returns price, setup fee and registrar, but creates NO pay link.

cancel_client_checkout

Cancel an unused pay link

Retires a pay link that has NOT been paid (give code = the pcl_… part of pay_url, or site_key), so nobody can pay it. Nothing is charged. A link that was already paid cannot be cancelled here.

ParameterTypeRequiredDescription
codestringnoThe link code: the pcl_… part at the end of pay_url.
site_keystringnoOr the site whose open pay link to cancel.

rename_site

Rename a site

Changes a site's display name (shown in list_sites and the dashboard). Plain text; HTML entities like &#39; are decoded. Max 120 characters. Signed-in accounts only. Free.

ParameterTypeRequiredDescription
site_keystringnoThe site to rename. Defaults to the caller's current draft site when omitted.
namestringnoThe new display name, plain text, e.g. "Pappy's Place". HTML entities are decoded. Max 120 characters. One of name / page_title is required; page_title alone retitles the home page without renaming the site.
page_titlestringnoOptional browser-tab / search title for the home page (max 70 characters). Without it, a default home title such as "My Page" (or the old site name) is replaced by the new name; a custom title is kept.
page_descriptionstringnoOptional search-snippet and link-preview description for the home page, 1-300 characters. Write a sentence that makes sense on its own (it is shown out of context). Without it, the first text on the page is used.
og_image_urlstringnoOptional link-preview (share card) image for the home page: an https:// image URL, max 500 characters. Without it, the first image on the page is used.
stagebooleannotrue = put the home page title change on the staged copy (publish_staged makes it live). The operator token always stages on a published site.
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

upsert_site_form

Add or update a form on a site

Declares a built-in form on a site you own: its fields (text, email, textarea, checkbox, month, date, tel, select), the recipient email (kept on the server, never in the page), the button label and the thank-you message. Entries are saved and emailed from Pagetool, behind Turnstile, a honeypot, a minimum fill time, rate limits and field validation. Returns form_key and placeholder_html: put placeholder_html in the page HTML where the form should appear (replace_page_html, or stage then publish_staged). Pass form_key to update an existing form. For any date or month question use a month/date field here (past dates are never offered, and recurring events via occurs drop off once they pass) rather than a raw in page HTML, which the server cannot check. Free.

ParameterTypeRequiredDescription
site_keystringyesThe site the form belongs to. Must be yours.
stagebooleannotrue = stage this form change with the page: visitors keep the live form until publish_staged (discard_staged drops it); preview at staged_preview_url. The operator token always stages on a published site. Omit for an immediately live change.
form_keystringnoOmit to create a new form; pass an existing form_key (from a previous call) to update that form.
namestringyesThe form's name, used in the notification subject " : new ", e.g. "Open mic sign-up". 1-120 characters.
recipient_emailstringyesWhere entries are emailed. Stored on the server only; never appears in the page.
fieldsarray<object>yes1-20 fields, in display order.
submit_labelstringnoButton text. Default "Send". Max 60.
success_messagestringnoShown after a successful entry. Default "Thanks! Your entry was sent." Max 300. May include {field_name} for a text, select, email or tel field, e.g. "Thanks, {name}!"
classesobjectnoOptional Tailwind/CSS class strings to style the form to match the page.

list_form_submissions

List form entries for a site

Lists the entries visitors sent through a site's built-in forms, newest first: the submitted fields, whether the notification email was sent, and when. Optional form_key narrows it to one form. limit defaults to 50 (max 200). No visitor IP data is returned. Test entries sent from a staged preview are left out unless include_preview is true. Entries whose notification email could not be delivered are marked 'Not emailed' and are still listed here. Free.

ParameterTypeRequiredDescription
site_keystringyesThe site whose form entries to list. Must be yours.
form_keystringnoOptional: only entries from this form.
limitintegernoHow many entries, newest first. Default 50, max 200.
include_previewbooleannoAlso list test entries sent from a staged preview (they are marked as preview entries). Default false.

site_stats

Visits to a site

Page views and unique visitors per day for a published site, plus its top pages and the websites that sent visitors. Counted on the server with no cookies; search bots, previews and Pagetool's own checks are not counted. days defaults to 30 (max 90). Free.

ParameterTypeRequiredDescription
site_keystringnoThe site whose visits to read. Must be yours (or granted to the operator token).
daysintegernoHow many days back, including today (UTC). Default 30, max 90.

publish_site

Publish a site to a domain

Puts a finished site live on the domain the user has connected. publish_site takes no payment itself; it requires a signed-in account with the pagetool.sites.write scope and either an active plan or an open free trial. Everything before it - building, editing, theming, previewing - is free and account-free, so build first and come here only when the user says they want to keep the site.

ParameterTypeRequiredDescription
site_keystringyesThe site to publish.
domainstringyesThe domain to publish to, e.g. "example.com".
confirmbooleannoSet true to go ahead when the answer is needs_confirm (publishing here would replace a live domain or take this domain off another of the same user's sites). Show the person the site(s) that will lose this domain, as listed in loses, and resend with confirm: true only after they say yes.

payment_status

Payment and domain status

Read-only, truthful status of the payments and domains of the customer - use it to tell them exactly where their money and their domain stand.

ParameterTypeRequiredDescription
domainstringnoOptionally narrow to a single domain, e.g. example.com.

whoami

Who am I

Reports who the caller currently is: an authenticated account, an anonymous draft holder, or nobody. Never errors on absent credentials. You do not need to call this before building - building needs no identity at all.

ParameterTypeRequiredDescription
draft_tokenstringnoThe draft token returned by draft_create, if you are working on an anonymous draft. Only needed when your client cannot send the x-pagetool-draft-token header.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://pagetool.io/api/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http pagetool https://pagetool.io/api/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : pagetool ; URL : https://pagetool.io/api/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : pagetool ; Server URL : https://pagetool.io/api/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "pagetool": {
      "url": "https://pagetool.io/api/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "pagetool": {
      "type": "http",
      "url": "https://pagetool.io/api/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "pagetool": {
      "url": "https://pagetool.io/api/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "pagetool": {
      "httpUrl": "https://pagetool.io/api/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.pagetool]
url = "https://pagetool.io/api/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Pagetool · L’Atlas · Tested on

Markdown
[Pagetool — L’Atlas](https://latlas.dev/en/mcp/io.pagetool/pagetool)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.