Pagetool
io.pagetool/pagetool
Serveur MCP OK 41 outils
Build and host websites from a chat: draft free, edit and theme, then publish to your own domain.
Fiche technique
- Auteur
- pagetool.io (espace de noms du registre)
- Dépôt
- —
- Site
- pagetool.io
- Version
- 1.1.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://pagetool.io/api/mcp Streamable HTTP
- Outils
- 41
- Catégories
- —
- Dernière mise à jour
- 17 nov. 2026
- Publication
- 17 nov. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.pagetool/pagetool)<a href="https://latlas.dev/mcp/io.pagetool/pagetool"><img src="https://latlas.dev/badge/statut/mcp/io.pagetool/pagetool.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.pagetool/pagetool)<a href="https://latlas.dev/mcp/io.pagetool/pagetool"><img src="https://latlas.dev/badge/fiche/io.pagetool/pagetool.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://pagetool.io/api/mcp
- Dernier résultat
- OK 28 nov. 2026, 11:08
- Temps de réponse
- 1 394 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- pagetool-agent-platform 1.0.0
- Outils
- 41
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 11:08 | OK | 1 394 ms | 41 |
Outils exposés (41, réponse à 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| business_name | string | oui | The business or site name. Required, max 120 chars. |
| template | enum: "storefront" | "event" | "shop" | "services" | "nonprofit" | non | Optional 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… |
| tagline | string | non | Short tagline/subheading, max 200 chars. |
| sections | string | non | Comma-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_email | string | non | Contact email shown in the contact section, if included. |
| contact_phone | string | non | Contact phone shown in the contact section, if included. |
| contact_address | string | non | Contact address shown in the contact section, if included. |
| palette_primary | string | non | Primary brand colour as a #rrggbb hex string. Defaults to #2563eb. |
| palette_neutral | string | non | Neutral text/background colour as a #rrggbb hex string. Defaults to #0f172a. |
| font_heading | string | non | Heading font family name. Defaults to Inter. |
| font_body | string | non | Body font family name. Defaults to Inter. |
| content_json | string | object | non | Per-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_name | string | non | Optional display name for the site row (defaults to business_name). |
| draft_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| html | string | non | The 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. |
| pages | array<object> | non | Build 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_name | string | non | Optional display name for the site (defaults to the document title, or "Imported site"). |
| draft_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| page | string | non | Which page of the site, as its path ("/about", "/contact"). Omit for the home page. See list_pages. |
| site_key | string | non | The site to edit. Defaults to the caller's current draft site when omitted. |
| index | integer | non | The 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_id | string | non | The 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). |
| field | string | non | Which 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… |
| remove | boolean | non | When true, removes this section and its descendants instead of editing it (with field "items[n]": removes that one card). |
| add_item | object | non | Adds 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. |
| content | string | non | New text content for this section. |
| title | string | non | New title attribute for this section. |
| class_name | string | non | New Tailwind class string for this section. |
| href | string | non | New link target (http:, https:, mailto:, tel:, a path starting with /, or an in-page anchor like #pricing). |
| src | string | non | New image/media source (same URL scheme rules as href). |
| alt | string | non | New alt text for an image section. |
| html_id | string | non | New HTML id for the node (e.g. "contact" for #contact anchor links). |
| subtype | string | non | New subtype for this section. |
| level | integer | non | New heading level (1-6) when this section is a heading textBox. |
| band | enum: "match" | "light" | "dark" | non | Games list section only: its band. match (default) = the page's own look; light or dark forces a readable light or dark band. |
| heading_class | string | non | Games 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_style | enum: "plain" | "match" | non | Games 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. |
| stage | boolean | non | true = 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_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| page | string | non | Which page of the site, as its path ("/about", "/contact"). Omit for the home page. See list_pages. |
| site_key | string | non | The site to add to. Defaults to the caller's current draft site when omitted. |
| kind | enum: "hero" | "about" | "services" | "features" | "gallery" | "testimonials" | "pricing" | "faq" … | non | The 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_json | string | object | non | This 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… |
| position | integer | non | 0-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. |
| html | string | non | Instead 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. |
| colors | object | non | Optional, 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. |
| stage | boolean | non | true = 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_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | non | The site to add a page to. Defaults to the caller's current draft site when omitted. |
| path | string | oui | The new page's path, e.g. "/about" or "/contact": lowercase letters, digits and hyphens, at most 19 characters. Link to it with href="/about". |
| name | string | non | The page name shown in the editor's page list. Defaults to one made from the path ("Contact Us"). |
| html | string | non | Build the page from this HTML (same importer as create_site_from_html). Omit to compose it from sections instead. |
| sections | string | non | Comma-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_json | string | object | non | Per-section content keyed by section kind, exactly as create_site_from_brief's content_json. Styled with the site's own palette and fonts. |
| stage | boolean | non | true = 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_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| page | string | non | Which page of the site, as its path ("/about", "/contact"). Omit for the home page. See list_pages. |
| site_key | string | non | The site to list. Defaults to the caller's current draft site when omitted. |
| stage | boolean | non | true = 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_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| draft_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | oui | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | non | The site whose pages to list. Defaults to the caller's current draft site when omitted. |
| draft_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | oui | The site to remove a page from. |
| path | string | oui | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | non | The site the page belongs to. Defaults to the caller's current draft site when omitted. |
| path | string | non | The page to replace, e.g. "/about". "/" (the home page) is allowed. Defaults to "/". |
| html | string | oui | The 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. |
| stage | boolean | non | true = 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_sections | boolean | non | true = 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_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| domain | string | oui | The 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_key | string | non | The site this domain is for (optional; for your own bookkeeping). |
| dry_run | boolean | non | true = 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| domain | string | oui | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | oui | The site you reviewed. |
| version | string | oui | The 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. |
| verdict | enum: "pass" | "revise" | oui | pass lets the operator publish this exact version; revise blocks it until a new version passes. |
| items | array<string> | non | What must change (up to 50 short items). Required in practice for revise. |
| note | string | non | Optional 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | oui | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| domain | string | oui | The published domain to check, e.g. "angelamcgraw.com". |
| name | string | non | The person or business the title and og tags must name. Defaults to the site name. |
| stored | boolean | non | true = 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| page | string | non | Which page of the site, as its path ("/about", "/contact"). Omit for the home page. See list_pages. |
| site_key | string | non | The site whose undo history to list. Defaults to the caller's current draft site when omitted. |
| draft_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| page | string | non | Which page of the site, as its path ("/about", "/contact"). Omit for the home page. See list_pages. |
| site_key | string | non | The site to restore. Defaults to the caller's current draft site when omitted. |
| version_id | integer | oui | The version to restore, from list_versions. The current page is saved as a version first, so a restore can itself be undone. |
| draft_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| url | string | non | Public 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_base64 | string | non | The 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. |
| filename | string | non | Optional original file name, for your own reference; the type is detected from the bytes. |
| format | enum: "webp" | "jpeg" | non | Stored 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_key | string | non | The 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_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | non | The site the record is about. Defaults to the caller's current draft site when omitted. |
| business_name | string | non | The client business name. Null clears it. |
| contact_name | string | non | The person to talk to at the business. Null clears it. |
| contact_email | string | non | Their email. Null clears it. |
| contact_phone | string | non | Their phone. Null clears it. |
| source_urls | array<string> | non | The business's own pages the site's facts came from (http/https, max 20). Replaces the stored list. |
| status | enum: "prospect" | "pitched" | "managed" | "declined" | "transferred_out" | non | Where the relationship stands. |
| notes | string | non | Free-text notes (max 5000 chars). Null clears them. |
| draft_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | oui | The managed site to hand over to a departing client. |
| include_domain | boolean | non | Move 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | non | The site whose staged changes should go live. Defaults to the caller's current draft site when omitted. |
| draft_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | non | The site whose staged changes should be dropped. Defaults to the caller's current draft site when omitted. |
| draft_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | non | The site to theme. Defaults to the caller's current draft site when omitted. |
| palette_primary | string | non | New primary brand colour as a #rrggbb hex string. |
| palette_neutral | string | non | New neutral text/background colour as a #rrggbb hex string. |
| font_heading | string | non | New heading font family name. |
| font_body | string | non | New body font family name. |
| favicon_url | string | non | The 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. |
| stage | boolean | non | true = 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_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | non | The site to preview. Defaults to the caller's current draft site when omitted. |
| share_id | string | non | Alternative lookup by share id, honoured only when it belongs to the caller. |
| draft_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | non | Optional 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | oui | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| draft_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | A full domain (name.tld) or a bare name to check across TLDs. |
| tlds | string | non | Comma-separated TLDs to check a bare name against, e.g. "com,io". Ignored when query is a full domain. |
| limit | integer | non | Max 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| domain | string | oui | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| kind | enum: "domain" | oui | What is being bought. Only 'domain' is available in chat today. |
| item | string | oui | The exact thing being bought; for kind='domain', the full domain name. |
| consent_confirmed | enum: "user_confirmed" | oui | Pass '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_item | string | oui | The 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_cents | integer | oui | The 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_statement | string | oui | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| domain | string | oui | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | oui | The site the business is paying for (must be yours, and not yet live on a domain). |
| domain | string | oui | The domain to register for them, bare, e.g. "joesbakery.com". Must be available; .com/.net/.org and other Cloudflare endings for now. |
| price_cents | integer | non | Custom price in cents per interval. Omit for the default ($25/month). Required when the domain costs more than $20/year. |
| interval | enum: "month" | "year" | non | Billing interval. Defaults to month. |
| business_name | string | non | The business name shown on the pay page. |
| contact_email | string | non | The business owner's email, for your records (Stripe also collects it at payment). |
| dry_run | boolean | non | true = 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| code | string | non | The link code: the pcl_… part at the end of pay_url. |
| site_key | string | non | Or 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 ' are decoded. Max 120 characters. Signed-in accounts only. Free.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | non | The site to rename. Defaults to the caller's current draft site when omitted. |
| name | string | non | The 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_title | string | non | Optional 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_description | string | non | Optional 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_url | string | non | Optional 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. |
| stage | boolean | non | true = 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_token | string | non | The 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | oui | The site the form belongs to. Must be yours. |
| stage | boolean | non | true = 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_key | string | non | Omit to create a new form; pass an existing form_key (from a previous call) to update that form. |
| name | string | oui | The form's name, used in the notification subject " : new ", e.g. "Open mic sign-up". 1-120 characters. |
| recipient_email | string | oui | Where entries are emailed. Stored on the server only; never appears in the page. |
| fields | array<object> | oui | 1-20 fields, in display order. |
| submit_label | string | non | Button text. Default "Send". Max 60. |
| success_message | string | non | Shown 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}!" |
| classes | object | non | Optional 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | oui | The site whose form entries to list. Must be yours. |
| form_key | string | non | Optional: only entries from this form. |
| limit | integer | non | How many entries, newest first. Default 50, max 200. |
| include_preview | boolean | non | Also 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | non | The site whose visits to read. Must be yours (or granted to the operator token). |
| days | integer | non | How 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site_key | string | oui | The site to publish. |
| domain | string | oui | The domain to publish to, e.g. "example.com". |
| confirm | boolean | non | Set 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| domain | string | non | Optionally 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| draft_token | string | non | The 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. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://pagetool.io/api/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http pagetool https://pagetool.io/api/mcpCustomize > Connectors > + Add > Add custom connector ; Name : pagetool ; URL : https://pagetool.io/api/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : pagetool ; Server URL : https://pagetool.io/api/mcp ; Create as a plugin{
"mcpServers": {
"pagetool": {
"url": "https://pagetool.io/api/mcp"
}
}
}{
"mcpServers": {
"pagetool": {
"type": "http",
"url": "https://pagetool.io/api/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"pagetool": {
"url": "https://pagetool.io/api/mcp"
}
}
}{
"mcpServers": {
"pagetool": {
"httpUrl": "https://pagetool.io/api/mcp"
}
}
}[mcp_servers.pagetool]
url = "https://pagetool.io/api/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Pagetool · L’Atlas · Test du
[Pagetool — L’Atlas](https://latlas.dev/mcp/io.pagetool/pagetool)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.