Skip to main content
Glama
WebCake Landing MCP

WebCake Landing MCP

by vuluu2k

WebCake Landing MCP

English · Tiếng Việt

npm version npm downloads GitHub stars MCP

Describe a landing page in plain words — your AI builds it, checks it, and ships it straight to WebCake.

⭐ If this saves you an afternoon of dragging boxes, give it a star — it's a one-dev project and every star keeps it alive.

"Build a landing page for my coffee shop — a hero with a sign-up button, a 3-feature section, and a lead form. Save it to my workspace."

…and a real, editable WebCake page appears in your account. No dragging boxes, no learning the schema, no hand-writing JSON.


🧩 How it works

This server is the bridge between your AI assistant and WebCake. The AI never guesses what a WebCake page looks like — it asks this MCP, which knows the entire element model, validates the result, and saves it for you.

   You              AI assistant            webcake-landing MCP            WebCake
  ┌──────┐  prompt  ┌────────────┐  tools  ┌──────────────────────┐  API  ┌──────────┐
  │ idea │ ───────► │  Claude /  │ ──────► │ • knows the element  │ ────► │  a real  │
  │      │          │  Cursor /  │         │   model + AI hints   │       │ editable │
  │      │ ◄─────── │  Windsurf  │ ◄────── │ • builds + validates │ ◄──── │  page in │
  └──────┘ page URL └────────────┘ result  │ • saves to your acct │       │  WebCake │
                                           └──────────────────────┘       └──────────┘
  1. You ask in plain language — goal, brand, sections, CTA, form fields.

  2. The AI learns the model from the MCP: the element catalog, the absolute-positioning canvas, the event vocabulary — so it builds a real WebCake page, not a guess.

  3. It assembles + validates the full { page, popup, settings, options } JSON. validate_page catches off-canvas boxes, dangling CTAs, and missing form fields before anything is saved.

  4. It persists to your WebCake account — dry-run preview first, then for real.

  5. You get an editor link — open it, tweak, publish. The AI did the heavy lifting.

Why it's reliable

📚 Knows the real model

Serves WebCake's actual element catalog (40+ types — hero, form, countdown, gallery, product list…), each with its exact specials and AI hints, drawn straight from the editor's renderers.

✅ Validates before saving

Structural + semantic checks (unique ids, on-canvas layout, working CTAs, unique form fields) so the page isn't broken when it lands.

🛡️ Safe by default

Every write is dry-run first (preview the request, token masked) — nothing touches your account until you confirm.

✏️ Edits surgically

Ask for one change ("make the CTA green") and it edits only that element — every other id, coordinate, and block stays exactly as it was.

💡 Lead-gen, events, invitations, app promos — or selling COD/online? It speaks WebCake's commerce model too (product lists, variations, cart).


Related MCP server: WebCake Storefront MCP

✨ What you can build

One sentence to your AI → a finished, editable WebCake page. A taste of what people ship with it:

Just say…

🧲 Lead-gen landing

"A SaaS waitlist page — hero, 3 benefits, an email-capture form."

🛒 COD / online store

"A one-product page for my skincare serum — gallery, price, variations, an order form with cart."

🎟️ Event / webinar

"A registration page for Saturday's webinar — countdown, agenda, sign-up form."

💌 Invitation

"A wedding invite — names, date, a map, an RSVP form."

📱 App promo

"A page for my fitness app — phone mockups, feature list, App Store + Google Play buttons."

⚡ Flash sale

"A flash-sale page — big countdown, discounted product grid, a sticky Buy button."

🔗 Link-in-bio

"A link-in-bio for my creator profile — avatar, short bio, 5 link buttons, socials."

🎉 Product launch

"A launch page for v2 — hero, what's-new list, an early-access form."

…then "make the CTA green" or "add a 4th feature" and it edits only that block — every other id and coordinate stays exactly where it was.

🤖 Works in Claude Desktop, Claude Code, Cursor, Windsurf, Augment, Codex, Antigravity, Gemini CLI, Cline, Kiro, OpenCode, or any MCP-capable client — and the reference + generation tools need zero setup, so you can try it before ever pasting a token.


Under the hood

MCP (Model Context Protocol) server that teaches AI agents how to build a complete WebCake landing-page source JSON from a requirement — and persist it to a WebCake backend.

It exposes the element catalog, per-element usage hints + specials, the full page JSON Schema, valid element/page skeletons, a page validator, and tools to create or edit pages on the backend. The AI agent produces the full { page, popup, settings, options, cartConfigs } JSON; create_page persists it and auto-publishes (build + publish_html) so the preview renders immediately (the edit tools save source-only — re-publish via publish_page after edits).

Method

Best for

Auth

npx (local) — runs on your machine

Personal daily use, full control

browser login, a JWT, or none (reference tools)

Hosted URL — use our live server, nothing to install

No Node.js, teams, the claude.ai dialog

your personal ?jwt= link / x-webcake-jwt header

The reference + generation tools (get_generation_guide, list_elements, validate_page, …) and the ingest tools (ingest_html, ingest_url — turn an existing HTML or URL into a layout anchor so the AI can recreate or adapt it) work with zero config; only the persistence tools (create_page, update_page, add_section, patch_page, publish_page, list_pages, find_pages, get_page, list_organizations) need a token. Credentials resolve in order: per-request header → env var → saved auth.json (login).


🚀 Get connected — the 2 main ways

Pick one. Both hand your AI tool (Claude, Cursor, …) the full Webcake landing toolkit. No coding.

① npx — runs on your machine (recommended for personal use)

Zero install, always the latest version, needs Node.js 18+. One line grabs your token and writes the IDE config:

# Opens the browser — click Connect, your installed IDEs are configured (prod)
npx -y webcake-landing-mcp@latest install

# Developers only — step by step: environment, login or JWT, org, IDE(s)
npx -y webcake-landing-mcp@latest install --dev

# Scripts and CI — every supported IDE, even ones not installed yet
npx -y webcake-landing-mcp@latest install --ide all --jwt <your-jwt>

# Remove the server from every IDE config
npx -y webcake-landing-mcp@latest uninstall

Troubleshooting (Claude Desktop): compare the path(s) printed by install with Settings → Developer → Edit Config, and fully quit Claude Desktop (tray icon → Quit) before reopening.

install asks nothing. It connects to production, opens your browser so you can click Connect, then adds the server to every AI app it finds on this computer. Your other servers are kept, and any config file it changes is backed up next to the original as <file>.webcake-landing-backup. No AI app found? It says so and exits with an error: install one and run it again, or name it with --ide.

Need staging or local? --dev opens the step-by-step wizard, or skip it with --env staging / --env local.

Installed with an older version? Run install again. Older versions wrote VS Code's config under the wrong key, so the server never appeared there, and registered Claude Code for the current folder only.

It writes a webcake-landing entry into the right config file for each target: claude-desktop, claude-code, cursor, windsurf, augment (VS Code), codex, antigravity, gemini (Gemini CLI), cline, kiro, opencode, or all. Flags: --dev, --ide, --env, --jwt, --org-id, --api-base/--app-base, --npx/--local, -y — see install --help.

Just want to run the server (configure by hand later)? npx -y webcake-landing-mcp

🛠️ Hand-written per-IDE config, shell-script installers (install.sh/install.ps1), or a cloned local build → docs/manual-install.md.

② Remote URL …/mcp?jwt= — hosted, nothing to install

The server is already live at https://mcp.toolvn.io.vn/mcp — no Node.js, no machine to keep awake. Grab your personal link (your token is baked in) and paste it into your client's Add custom connector / config:

https://mcp.toolvn.io.vn/mcp?jwt=<YOUR_TOKEN>

Two ways to get the link:

Optional extras: &env=prod, &org_id=…, &api_base=…. Hand each teammate a link with their own jwt → per-user, no OAuth. Clients that support headers should send the token as x-webcake-jwt instead of putting it in the URL — the full header ↔ env mapping is in docs/configuration.md.

✅ Best for: no Node.js, team/shared use, the claude.ai connector dialog (URL-only, no headers). ⚠️ The link contains your personal token — treat it like a password, always use HTTPS.


⚙️ Configuration

The quick version — only the persistence tools need any of this:

npx -y webcake-landing-mcp login    # opens the browser once, saves the token to ~/.webcake-landing-mcp/auth.json

…or set WEBCAKE_ENV (local | staging | prod — fills in all base URLs) + WEBCAKE_JWT.

For publish_page to actually put a page live, a build host is needed (it renders the app/app_css that the live publish_html route requires):

  • prod preset auto-configures https://build.webcake.io — no extra setup (the preset applies when the env resolves to prod: WEBCAKE_ENV=prod, --env prod, or x-webcake-env: prod).

  • For staging/local, set WEBCAKE_BUILD_BASE=<url> or send the x-webcake-build-base header per request.

  • Without it, publish_page falls back to a legacy source-only save with rendered:false, live:false + a warning — nothing goes live.

  • A page is only permanently live with a custom_domain; without one the returned /preview/<page_id> link expires ~10 minutes after the publish.

Everything else — the full env-var table, environment presets, per-request headers for the hosted server, the login browser flow (+ backend contract), and how to grab a JWT by hand — lives in docs/configuration.md.


📚 Docs

Guide

What's inside

Connect your IDE / claude.ai

Step-by-step connection for every client (npx & hosted URL), troubleshooting table.

Configuration

Env vars, --env presets, browser login, per-request headers, getting a JWT.

Tools reference

All 23 tools in detail + the step-by-step workflow + model notes.

Usage examples

Three end-to-end walkthroughs: build from a brief, surgical edit, inspect a type.

Manual / advanced install

Shell installers, cloned builds, hand-written per-IDE config.

Page-element schema

The full element-model reference (+ every special/event).


🧰 The tools at a glance

23 tools in five groups — full descriptions in docs/tools.md:

Group

Tools

Needs

Reference

get_generation_guide · list_elements · get_element · get_page_schema

nothing

Generation

new_element · new_page_skeleton · validate_page · layout (exact centering/row/grid/stack coordinates, both breakpoints)

nothing

Media

search_images (real Pexels stock photos) · get_icon_svg (Material Symbols / Font Awesome icon names → inline SVG via Iconify) · upload_images (re-host external images, data: URIs, or local file paths from the user's machine — files into your media collection when Webcake creds and an org are available; the org is required and must match the page's, so settle it up front — 1 org auto-selects, 2+ with none chosen returns organization_required + the list; no JWT → the public CDN) · render_preview (screenshot a page/URL so the model can see + compare it)

nothing

Ingest

ingest_html · ingest_url (recreate an existing page)

nothing

Persistence

list_organizations · create_page · list_pages · find_pages · get_page · update_page · add_section · patch_page · publish_page

WEBCAKE_API_BASE + WEBCAKE_JWT

Every write defaults to dry_run=true — it previews the exact request (token masked) and only touches your account when you re-run with dry_run=false.

Suggested prompt

Build me a WebCake landing page for &lt;brand/offer&gt;. Use the webcake-landing MCP: call get_generation_guide, new_page_skeleton, then get_element for each element type you use, assemble the { page, popup, settings, options } JSON, validate_page until zero errors, then create_page (dry-run first).


⭐ Like the idea? Drop a star

This is a solo, open-source project — every ⭐ genuinely keeps it moving and helps other builders discover it.

  • ⭐ Star the repo — 2 seconds, huge motivation.

  • 🐛 Open an issue — a bug, a missing element type, or just an idea.

  • 🔁 Share it with anyone still building landing pages box by box.

Star History Chart

Built with ❤️ for the WebCake community. Thanks for being here.

Available Tools

27 tools
add_sectionAInspect

Appends one or more section nodes to the end of an existing page's page array, server-side: only the new sections are sent, and the backend rejects element ids that already exist on the page. The sections are validated first. dry_run defaults to true: it validates, caches the payload under a draft_id and previews the request; dry_run:false appends. A validation failure also returns a draft_id, which patch_page accepts for element-level fixes. Section-level saves cannot change page settings, so font weights that need new font links are reported in font_weights_notice. Requires Webcake credentials.

Inputs: page_id (required), dry_run, draft_id, sections, +1 more.

api_callA
Destructive
Inspect

Run any operation from api_find by id (GET, POST, PUT, PATCH, DELETE). Writes default to dry_run:true and return exactly what would be sent — show the user, then repeat with dry_run:false. Refuses writes to routes a dedicated tool owns (it names the tool) and irreversible account operations (page/domain deletion, org members/roles/transfers, permissions, billing, credentials). Required keys are checked against the call sheet before sending.

Inputs: id, body, path, pick, +6 more.

api_findA
Read-only
Inspect

Search the FULL Webcake landing backend API (488 operations the account's token can call — datasets/records, domains, form data, tags, UTM, campaigns, media library, org/teams, page settings…, far more than the dedicated tools cover). With query: one line per match id — Controller.action (body/query keys, * = required) [permission] ⇒ tool: dedicated tool if one exists. With id: the call sheet (host, path params, body/query keys with nested fields, required keys, permission). Prefer a dedicated tool when one is listed; use api_get / api_call for the rest.

Inputs: id, limit, query, method.

api_getA
Read-only
Inspect

Run a READ-ONLY (GET) operation from api_find by id. Use pick / max_items to keep the result small; pass org_id for organization-scoped data. Refuses anything that is not a GET.

Inputs: id, path, pick, query, +4 more.

clone_pageA
Read-only
Inspect

Clones any web page into a Webcake landing page by MEASURING it in a real browser (headless Chrome via Playwright, JavaScript executed — works for React/Vue/Next sites too). The page is loaded at 1200 px and at 420 px; every visible text, image, button, painted box, divider, svg icon and form is recorded with its box, rotation and typography and placed on the landing canvas: desktop boxes scaled onto 960, mobile boxes as measured on 420 (elements the mobile layout hides get config.hide on mobile; mobile-only ones are hidden on desktop). Links become open_link events; fixed elements are pinned; a sticky header becomes the section's native sticky (a-t). Effects, native first: gradients (also gradient text), filters/backdrop blur, rotation and AOS / animate.css / WOW entrance animations map onto native settings; an overflow:hidden box whose content spills out becomes a clipping group (custom_css overflow:hidden); the page's own :hover rules (also ancestor rules like .card:hover img, applied on the element itself) + transitions and its looping CSS animations (@keyframes) become settings.extra_css scoped to #w- (the one thing no native setting covers); icon-font stylesheets go to settings.bhet; self-hosted @font-face fonts to settings.fontGroups. Forms keep every control as its native field (select with options, radio, checkbox-group, textarea, date, file), also forms without a tag. Interactive parts stay interactive, natively: accordions / FAQs (, Bootstrap collapse, aria-expanded panels) become a click→collapse on the question that collapses the answer on load; tab sets ([role=tabpanel], .tab-pane) become a carousel switched by its tab buttons (change_tab); modals hidden on load (.modal, , [role=dialog], .popup…) become landing popups, and the buttons/links that open them get open_popup; #anchor links get scroll_to; sliders (Swiper, Slick, Splide, Owl, Bootstrap carousel, Glide, Flickity, Keen, Embla) become a carousel of slides (hidden slides measured too, library clones skipped); YouTube / Vimeo / become the video element. Multi-colour svgs (logos, illustrations, gradients) become images of themselves; single-colour icons stay native svg masks. The source is validated like a save and cached: the result carries draft_id — save it with create_page({ draft_id, dry_run:false }). Robust to real sites: cookie / consent / newsletter overlays are dismissed (their accept / close clicked) and chat widgets left out before measuring, a fixed site header becomes the sticky first section, app shells that scroll inside a full-height box are unlocked, reveal-on-scroll content is scrolled into its shown state, a tall (also through a lone wrapper div) is split into its sections, overlapping (angled) sections keep their stacking, content clipped by overflow:hidden is cropped (images keep a crop), measured text heights are kept (config.virtualHeight), every colour is rgba(), and desktop/mobile elements are matched by DOM path, else by their text / picture. Approximations: an ancestor :hover fires when the element itself is hovered, other iframes become html-box embeds, content a site renders differently on each load may shift. Needs Playwright on the host (playwright-core + Chrome, or CHROME_BIN). No credentials, no writes.

Inputs: url, html, name, base_url.

create_pageAInspect

Creates a new page in the user's Webcake account from a page source { page, popup, settings, options, cartConfigs }, saves it, and then publishes it (builds the rendered app on the Webcake build host and publishes it through the editor's publish route) so its preview renders; publish:false skips publishing, and a failed publish does not fail the create (result.publish reports the outcome). Before validating it applies deterministic layout corrections (off-canvas boxes, elements below wrapped text, containers grown to fit) and lists them in auto_fixed. External images and self-hosted font files in the source are re-hosted on Webcake's CDN during the save. dry_run defaults to true: it validates, caches the source under a draft_id, and returns the request it would send with the token masked; dry_run:false performs the create. A draft_id (from a validation failure, dry run, or timed-out create) re-runs from the cached source. Organization: explicit organization_id ('personal' = no organization), then WEBCAKE_ORG_ID / x-webcake-org-id, then automatic — no organizations → personal, exactly one → selected (organization_auto_selected:true), two or more → ok:false with the organization list. A page without a custom domain has a preview link that renders for about 10 minutes after each publish. Requires Webcake credentials.

Inputs: name, source, dry_run, publish, +2 more.

find_pagesA
Read-only
Inspect

Searches the account's pages by name, domain and/or page id. Filters are AND-combined; name and domain are case-insensitive substrings, and domain matches custom_domain or default_domain. Each result includes id, name, organization_id, custom_domain, default_domain and updated_at. With no filters it returns the most recently updated pages. Requires Webcake credentials.

Inputs: name, limit, domain, page_id, +1 more.

get_elementA
Read-only
Inspect

Returns usage details for one element type, or for several via types: [...]: a summary, when it applies, key specials fields, a sparse skeleton node (the server fills omitted boilerplate), for common types a filled example, keys (one line per specials/config/styles key the published renderer READS — meaning, value type, enum, default — plus no_effect: keys stored but never rendered) and relations (where it must sit, parents/children on real pages). types returns { elements: { [type]: details } }; type returns a single doc.

Inputs: type, types.

get_generation_guideA
Read-only
Inspect

Returns the page-building conventions reference: output shape, the absolute-positioning coordinate system, event vocabulary, and the recommended workflow.

Inputs: no named parameters.

get_icon_svgA
Read-only
Inspect

Resolves icon-font names into inline SVG markup via the public Iconify API (https://iconify.design/docs/api/). Accepts Material Symbols refs ("ms:verified"), Font Awesome refs ("fa:chart-line"), Iconify ids ("mdi:home"), or bare names (treated as Material Symbols); underscores become hyphens, and Material Symbols resolve to the outlined variant with a filled fallback. These are the same ms: / fa: refs that ingest results report in block.icon. Returns { icons: { "": { ok, svg, iconify } } }. In Webcake an icon renders as an SVG mask on a rectangle element: the SVG goes in responsive.desktop.config.svgMask and responsive.mobile.config.svgMask (each breakpoint is read separately), the visible color comes from styles.background (the SVG's own fill is ignored), and the mask is stretched to the box (preserveAspectRatio='none'), so a square box keeps its proportions. No Webcake credentials needed.

Inputs: icons (required).

get_pageA
Read-only
Inspect

Fetches an existing page's source tree { page, popup, settings, options, cartConfigs } with its name, organization_id and source_version. By default the tree is compacted: boilerplate shared by every element (properties, runtime, empty events/children, per-breakpoint config and factory-default style keys) is stripped, giving the same sparse shape the save tools accept and re-hydrate. compact:false returns the raw stored tree. outline:true returns only a one-line-per-element tree (id type "text…" d:left,top,w×h m:left,top,w×h [hidden-on-mobile] [events:n], indented by depth) — read it first, then fetch one element with element_id (its subtree + parent_id + path). draft_id reads a cached draft instead of a live page. Requires Webcake credentials for page_id.

Inputs: compact, outline, page_id, draft_id, +2 more.

get_page_schemaA
Read-only
Inspect

Returns the full JSON Schema (Draft 2020-12) of a Webcake page source object { page: [...], settings: {...} } for structural reference and validation.

Inputs: no named parameters.

ingest_htmlA
Read-only
Inspect

Parses an HTML string into a reference AST for rebuilding the page in Webcake: title, description, og_image, language, and sections classified by role (header, hero, features, about, form, cta, gallery, testimonials, pricing, faq, footer, unknown), each with headings, paragraphs, images, CTAs, links, form fields and a size_hint (desktop section height in px — from CSS when explicit, else estimated). Also returns top colors, fonts, palette and background_images; for Tailwind-CDN pages (e.g. Google Stitch) the palette and design_tokens (spacing grid, corner radii, type scale) come from the page's tailwind.config. detail:'compact' (default, ~2–5 KB) or 'full' (up to ~25 KB: per-section blocks such as cards and steps, lists, gradients, images as { src, alt }, and widgets — the cleaned HTML + CSS of composite visuals such as device mockups). Fonts: font_groups lists self-hosted fonts from @font-face rules in the settings.fontGroups shape; typography and per-section text_styles give the computed font size (desktop and mobile), weight, family, line height and letter spacing. Absolute-canvas builder exports (LadiPage-family or Webcake-published HTML) are detected and converted deterministically into a complete Webcake page source, with clone_notes listing approximations and canvas_summary summarizing per-section geometry; external images in that source are re-hosted automatically when it is saved. Garbled Vietnamese text (UTF-8 read as Latin-1) is repaired, with a warning. No credentials, no writes.

Inputs: html (required), detail, intent, base_url, +1 more.

ingest_urlA
Read-only
Inspect

Fetches a public webpage (GET, 10 s timeout, 2 MB cap) together with its external stylesheets and @imports, and parses it into the same reference AST as ingest_html: role-classified sections with size_hint heights, palette, design tokens, self-hosted fonts (font_groups), computed typography, images, and — with detail:'full' — per-section blocks, lists and widgets. Absolute-canvas builder exports (LadiPage-family or Webcake-published pages) are detected and converted deterministically into a complete Webcake page source with clone_notes and canvas_summary. JavaScript is not executed, so client-rendered sites (React/Vue/Next.js) may return little content; the result then carries a warning that the body was empty. Fetches are restricted to public hosts (private and link-local addresses are blocked). No credentials, no writes. Docs: https://github.com/vuluu2k/webcake-landing-mcp/blob/main/docs/tools.md

Inputs: url (required), detail, intent, sections.

layoutA
Read-only
Inspect

Computes on-canvas coordinates (top/left/width/height) for a group of elements on both breakpoints. Modes: 'center' (one box centered on the canvas), 'row' (N boxes in a centered horizontal row on desktop, stacked into one column on mobile), 'grid' (N uniform cells in cols columns, stacked on mobile), 'stack' (a vertical list down the content column). Respects the page margins (content column 80–880 on desktop and 20–400 on mobile by default). Returns one box per item in input order, plus notes for off-canvas or over-wide inputs. Pure computation: no credentials, no network.

Inputs: mode (required), gap, top, cols, +12 more.

list_elementsA
Read-only
Inspect

List every supported element type, grouped by category, with a one-line summary and whether it is a container (can hold children).

Inputs: no named parameters.

list_organizationsA
Read-only
Inspect

Returns the account's Webcake organizations (id, name, is_default). The default org (type===1, usually the personal workspace) is where pages normally go. Needs WEBCAKE_API_BASE + WEBCAKE_JWT.

Inputs: no named parameters.

list_pagesA
Read-only
Inspect

Lists the pages owned by the account (id, name, organization_id, updated_at), most-recent first. Pages are scoped per organization: pass organization_id (an id, or 'personal'); with 2+ organizations and none chosen it returns ok:false reason:'organization_required' with the list. Needs WEBCAKE_API_BASE + WEBCAKE_JWT.

Inputs: organization_id.

new_elementA
Read-only
Inspect

Returns the node the Webcake editor drops for a type, in the sparse authoring shape: a fresh id, the editor default look (colours, font, border, size) and settings for both breakpoints, and its default children (a form with name + phone fields and a submit button, a carousel with slides, a grid with items). Images are sized placeholders to replace. properties, runtime, empty events and per-breakpoint config are omitted because the server fills them from factory defaults on validate and save.

Inputs: type (required), name.

new_page_skeletonA
Read-only
Inspect

Returns an empty, complete top-level page source { page:[], popup:[], settings, options, cartConfigs } in the Webcake editor's shape. desktopWidth (960 or 1200) and mobileWidth (420 or 360) set settings.width_section, the canvas width that all element coordinates are measured in.

Inputs: mobileOnly, mobileWidth, desktopWidth.

patch_pageA
Destructive
Inspect

Edits a page by element id without sending the whole source. The target is either a live page (page_id) or a cached draft (draft_id) returned by a failed or dry-run create_page, add_section or update_page call. Ops: {op:'update', id, type?, specials?, styles?:{desktop?,mobile?}, config?:{desktop?,mobile?}, events?, properties?} shallow-merges fields (op defaults to 'update'; it cannot delete existing keys), {op:'replace', id, element} swaps the node, {op:'remove', id} deletes it (events elsewhere that targeted it are reported in dangling_events), {op:'add', parent_id, element} appends a child to a container; element may be sparse. {op:'move', id, parent_id?, index?, desktop?:{left?,top?}, mobile?:{left?,top?}} reparents and/or reorders (z-order = child order), keeping the element visually in place unless left/top are given. {op:'duplicate', id, parent_id?, offset?:{desktop?:{x,y},mobile?:{x,y}}, count?} deep-copies with fresh unique ids (internal event targets remapped); copy i is shifted by offset×i. {op:'style', id|match, desktop?:{…}, mobile?:{…}} merges styles. update/style/remove accept match:{type?, text?, section_id?, within?} instead of id (text = case-insensitive substring, tags stripped; within = a container id) and apply to every match, refused above limit (default 50); matched_ids are reported. The server loads the source, applies the ops, validates the whole merged tree (errors block the save) and saves: a live page is updated in place, a create draft becomes a new page, a section draft is appended, and an update draft is re-saved. With a draft_id and no patches, the cached draft is committed as-is (the retry after a timeout). dry_run defaults to true (load, merge, validate, preview; no write); dry_run:false saves. Requires Webcake credentials; a page_id patch reads the live page, so it needs them even on a dry run.

Inputs: force, dry_run, page_id, patches, +2 more.

publish_pageA
Destructive
Inspect

Publishes an existing page: builds the rendered app on the Webcake build host (POST /render/build; https://build.webcake.io in production, overridable with WEBCAKE_BUILD_BASE / x-webcake-build-base) and then creates or updates the published record that public serving reads. With custom_domain (already pointed at Webcake) the page is served at that domain; when omitted, the page's currently attached domain is reused; with no domain, or custom_domain:'', only the preview link (/preview/<page_id>) is returned, and it renders for about 10 minutes after the publish. Without a build host, or if the build fails, it falls back to a source-only publish that saves a version but serves nothing, and returns a warning. dry_run defaults to true and makes no network calls; dry_run:false builds and publishes. Requires Webcake credentials.

Inputs: page_id (required), dry_run, custom_path, custom_domain, +1 more.

render_previewA
Read-only
Inspect

Renders a public URL to a PNG screenshot and returns it as an image. page_id targets a created page's preview URL (/preview/); url targets any public page and takes precedence. full_page (default true) captures the whole scrollable page and width sets the viewport; tiles:true returns a tall page as several top-to-bottom band images (requires a self-hosted Playwright host via RENDER_SCREENSHOT_BASE, otherwise a single image is returned). Engine: Microlink's free tier by default (API: https://microlink.io/docs/api/getting-started/overview; about 50 requests/day per IP — when rate-limited the result is ok:false with HTTP 429), or a self-hosted screenshot proxy set by RENDER_SCREENSHOT_BASE / x-render-screenshot-base; MICROLINK_API_KEY / x-microlink-key raises the quota. A page published without a custom domain serves its preview for about 10 minutes after the last publish; after that the preview shows 'Preview page is expired'. Docs: https://github.com/vuluu2k/webcake-landing-mcp/blob/main/docs/tools.md

Inputs: url, tiles, width, page_id, +1 more.

search_imagesA
Read-only
Inspect

Searches Pexels stock photos (API: https://www.pexels.com/api/documentation/) by short English subject queries. Each photo includes hotlinkable URLs at several sizes, a sizes map with each variant's pixel dimensions, avg_color, and the photographer's name and attribution URL; the response also includes a size_guide mapping slot widths to variants (hero/banner ~940–1880px → large/large2x, card ~350px → medium, avatar → tiny). queries: [...] runs several searches in parallel and returns { queries: { [q]: result } } — pick:'best' (default) keeps only the top photo per query, pick:'all' the full list; query runs a single search. Works without configuration through a shared hosted proxy; a PEXELS_API_KEY env var or x-pexels-key header uses a personal Pexels quota.

Inputs: page, pick, size, color, +4 more.

update_pageA
Destructive
Inspect

Replaces an existing page's stored source with an edited tree (source only; the published build is not refreshed). Validates first. Concurrency check: the save is refused with page_changed_externally when the page was edited elsewhere since it was last read (base_version, or the version the server recorded), or with unverified_overwrite when an unverified save would delete live element ids; force:true overrides. dry_run defaults to true: it validates, caches the source under a draft_id and returns the masked request; dry_run:false saves. A draft_id from a dry run or a failed/timed-out update re-runs from the cached source. Requires Webcake credentials.

Inputs: force, source, dry_run, page_id, +3 more.

upload_imagesAInspect

Re-hosts images on Webcake's CDN (statics.pancake.vn) and returns a map from each original entry to its hosted URL. Accepts up to 20 entries per call, processed in parallel, up to 200 MB each: http(s) image URLs, data:image/…;base64 URIs, and — only when the server runs locally over stdio — local file paths (absolute, ~/, file://, or Windows drive paths; rejected per entry on the remote HTTP transport). Upload target: with Webcake credentials and a resolved organization, each image is filed into that organization's media collection (the library the Webcake editor's media picker shows) and marked collection:true with its asset_id; without credentials the public CDN endpoint is used (the URL works, but the image is not in any collection: collection:false). Organization resolution: organization_id, then WEBCAKE_ORG_ID / x-webcake-org-id, then automatic selection when the account has exactly one organization; with two or more and none given, the result is ok:false with reason:'organization_required' and the organization list. dry_run defaults to false, because this only adds images to the media library and changes no page data; dry_run:true lists what would be processed without any network or filesystem access.

Inputs: urls (required), dry_run, in_folder, organization_id.

validate_pageA
Read-only
Inspect

Validates a page source against the JSON schema and semantic rules: unique ids, dangling event targets, children only on container types, missing field_name, top-level types, and form-data bindings (duplicate field_name within one form; dangling promoId / connectedSurvey / connectedForm / set_field_value targets). Before validating it applies deterministic layout corrections (off-canvas boxes moved on-canvas, elements below wrapped text moved down) and lists them in auto_fixed. Returns errors (structural problems that block saving) and warnings (visible layout defects such as overlapping text, off-canvas bounds, or empty bands).

Inputs: page (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 27 tools

    Disambiguation4/5

    Most tools map to clearly distinct stages of the landing-page workflow (ingest/clone, element inspection, layout, validate, create/update/patch, publish, assets), and descriptions make the intended use clear. A few pairs still overlap and could be misselected: list_pages vs find_pages, create_page vs publish_page, get_page vs get_page_schema, and ingest_url vs clone_page (static parse vs real-browser clone).

    Naming Consistency4/5

    All tools use snake_case and most follow a verb_noun pattern, with a predictable api_* family for the generic backend tools. Minor deviations exist: new_element/new_page_skeleton use 'new' while the page tool uses create_page, and 'layout' is a bare noun rather than a verb-led name.

    Tool Count2/5

    At 27 tools this surface is heavy, above the 25-tool threshold where tools start to feel excessive. The broad landing-page-builder domain justifies many of them, but there are clear consolidation opportunities (ingest_html/ingest_url, list_pages/find_pages, elements docs/node helpers).

    Completeness4/5

    The set covers the core lifecycle well: inspect schema/elements, clone or ingest sites, compute layout, validate, create/update/patch/add_section, re-host assets, and publish. The main gaps are deliberate exclusions such as page deletion and explicit page-metadata (name/domain) editing, which agents cannot fully work around with the dedicated tools.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers