Skip to main content
Glama
WebCake Storefront MCP

WebCake Storefront MCP

by vuluu2k

English · Tiếng Việt

npm version npm downloads GitHub stars MCP

Describe a store page in plain words — your AI builds it, validates it, and publishes it to your WebCake storefront.

⭐ If this saves you an afternoon of dragging blocks around, give it a star — every star keeps a solo project alive.

"Build a page for my coffee shop — a hero with a Shop Now button, a product grid, and an order form. Save it and publish."

…and a real, editable page appears on your WebCake/StoreCake site. No dragging blocks, no learning the schema, no hand-writing JSON.


🧩 How it works

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

   You              AI assistant          webcake-storefront MCP          WebCake / StoreCake
  ┌──────┐  prompt  ┌────────────┐  tools ┌───────────────────────┐  API ┌──────────┐
  │ idea │ ───────► │  Claude /  │ ─────► │ • knows the BuilderX  │ ───► │  a real  │
  │      │          │  Cursor /  │        │   component model     │      │ editable │
  │      │ ◄─────── │  Windsurf  │ ◄───── │ • builds + validates  │ ◄─── │  page on │
  └──────┘ live URL └────────────┘ result │ • saves + publishes   │      │ your site│
                                          └───────────────────────┘      └──────────┘
  1. You ask in plain language — goal, brand, sections, products, form fields.

  2. The AI learns the model from the MCP: the element catalog, the CSS-grid layout, the breakpoints — so it builds a real storefront page, not a guess.

  3. It assembles + validates the { sections: [...] } page source. validate_page catches duplicate ids, broken grids, and form fields without a name before anything is saved.

  4. It saves to your site — dry-run preview first, then for real — and publish_site makes it live.

  5. You get the preview URL — open it, tweak in the editor, done.

Why it's reliable

📚 Knows the real model

Serves 130+ BuilderX component types (text, image, button, form, product grid, cart, countdown, gallery…) ported straight from the builder's own factory — the exact same shapes the editor produces.

✅ Validates before saving

Structural checks (unique ids, valid grid, form fields with names, working event targets) so the page isn't broken when it lands.

🛡️ Safe by default

Every write is dry-run first — preview the change, nothing touches your site until you confirm.

✏️ Edits surgically

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

💡 Selling COD or online? It speaks the full commerce model too — products, variations, cart, orders, promotions, combos.


Related MCP server: WebCake Landing MCP

✨ What you can build

One sentence to your AI → a finished, editable storefront page:

Just say…

🛒 Product page

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

🏬 Storefront home

"A homepage — hero banner, featured product grid, a newsletter form."

⚡ Flash sale

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

🎟️ Event / webinar

"A registration page — countdown, agenda, a sign-up form."

💌 Invitation

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

📰 Blog / content

"A blog index with featured posts and a subscribe box."

🔗 Link-in-bio

"A link-in-bio — avatar, short bio, 5 link buttons, socials."

…then "make the CTA green" or "add a 4th feature" and it edits only that block.

🤖 Works in Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, or any MCP-capable client — and the build guide + element catalog tools need zero backend calls, so you can explore the model before pasting a token.


Under the hood

An MCP (Model Context Protocol) server that teaches AI agents the WebCake/StoreCake storefront builder (BuilderX) component model and connects them to the backend. The AI produces the full { sections: [...] } page source; build_page creates the page and saves it, and publish_site makes the whole site live.

Beyond page authoring, it exposes your real store: pages & custom code, products, orders, collections, blog articles, promotions, combos, themes, customers, and automation — 40 tools loaded (domain tools take an action), plus api_find / api_call for the 775 backend routes no tool covers.

Method

Best for

Auth

npx (local) — runs on your machine

Personal daily use, full control

browser login, or a token + session

Remote (serve) — self-host Streamable-HTTP

Teams, the claude.ai dialog, always-on

?jwt= link / x-webcake-jwt header

The build + catalog tools (get_build_guide, list_elements, get_element, new_section, validate_page) work with zero config; everything that reads or writes your site needs a token + session.


🚀 Get connected

Pick one. Both hand your AI tool the full storefront toolkit. No coding.

① npx — runs on your machine (recommended)

Zero install, always the latest version, needs Node.js 18+. One line connects your account and configures your AI apps:

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

# Developers only — step by step: environment, login or token, IDE(s)
npx -y webcake-storefront-mcp install --dev

# Scripts and CI — every supported IDE, even ones not installed yet
npx -y webcake-storefront-mcp install --ide all --token <token> --session <session-id>

# Remove the server from every IDE config
npx -y webcake-storefront-mcp uninstall

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-storefront-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.

Targets for --ide: claude-desktop, claude-code, cursor, windsurf, vscode, codex, antigravity, gemini, cline, kiro, opencode, or all. Just want to run the server (configure by hand)? npx -y webcake-storefront-mcp.

② Reconnect your account — no token copy/paste

npx -y webcake-storefront-mcp login

install already does this the first time. Use login when your token expires: it opens the builder's connect page, you click Connect, and your token + session are saved locally and picked up automatically.

Remote URL — self-hosted, nothing per-client to install

npx -y webcake-storefront-mcp serve --port 8787

Then point any client at http://<host>:8787/mcp?jwt=<TOKEN> (clients that support headers can send x-webcake-jwt instead; pick the site in chat with switch_site). Server-side secrets like PEXELS_API_KEY live on the host — handy on a VPS.

⚠️ A ?jwt= link contains your personal token — treat it like a password and use HTTPS in production.


⚙️ Configuration

Two values are required: WEBCAKE_TOKEN (Bearer JWT) and WEBCAKE_SESSION_ID (sent as x-session-id). You pick the site at runtime — just ask in chat and the AI calls list_my_sites / switch_site (your choice is saved and reused next session), so no WEBCAKE_SITE_ID is needed.

Base URLs come from a named environment — set WEBCAKE_ENV (or --env) and you never type a URL:

WEBCAKE_ENV

api

app (login)

preview

local

http://localhost:24679

http://localhost:5173

demo.localhost:24679/<siteId>

staging

https://api.staging.storecake.io

https://staging.webcake.io

staging2.webcake.me/<siteId>

prod (default)

https://api.storefront.webcake.io

https://webcake.io

<site_slug>.webcake.me

Override a preset with WEBCAKE_API_URL / WEBCAKE_APP_URL. Optional, configured server-side: PEXELS_API_KEY (search_images). Token / session / site can also be set in chat via update_auth and switch_site — saved to a local config file at ~/.webcake-storefront-mcp/.

  1. Open the WebCake builder and log in.

  2. Open DevTools (F12) → Network tab → click any API request.

  3. In Request Headers: Authorization: Bearer … → WEBCAKE_TOKEN; x-session-id: … → WEBCAKE_SESSION_ID.

  4. No site id needed up front — in chat, run list_my_sites then switch_site to choose the site (remembered next time).


🧰 The tools at a glance

40 tools (most are families that pick the operation with action) + an API gateway over 775 backend routes. The headline group builds pages; the rest read and edit your live store.

Group

Tools

Needs

Build a page

get_build_guide · list_elements · get_element · new_element · new_section · new_page_skeleton · validate_page · build_page · add_section

catalog tools: nothing

Media & ingest

search_images (Pexels) · upload_images (CDN) · ingest_html · ingest_url (recreate a reference page)

—

Pages & code

list_pages · get_page_source · search_page_elements · get_page_element · update_page_element(s) · create_page · update_page · update_page_source · custom CSS/JS · page contents · global sections · publish_site

token + session

Commerce

products · orders · collections · promotions · combos

token + session

Content & store

blog articles · themes / site style · apps · customers · send_mail

token + session

Backend code

HTTP-function CRUD (get_http_function, edit_http_function, run_function, debug_function…)

token + session

Context

get_current_context · list_my_sites · switch_site · update_auth · toggle_confirm_mode

token

Site plans

get_site_subscription (current plan, status, days left) · count_my_sites (by plan / custom domain / trash) · list_plans

token

Every write defaults to dry_run=true — it previews the exact change and only touches your site when you re-run with dry_run=false.

💬 Suggested prompt

Build me a WebCake storefront page for &lt;brand/offer&gt;. Use the webcake-storefront MCP: call get_build_guide, list_elements, build the sections with new_section, validate_page until zero errors, then build_page (dry-run first) and publish_site.


⭐ Like the idea? Drop a star

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

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

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

  • 🔁 Share it with anyone still building store pages block by block.

Star History Chart

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

Available Tools

39 tools
api_callAInspect

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. Required keys are checked against the call sheet before sending.

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

api_findA
Read-only
Inspect

Search the FULL WebCake backend API (676 operations the storefront account can call — far more than the dedicated tools cover). With query: one line per match id — Controller.action (body/query keys, * = required) ⇒ tool: dedicated tool if one exists. With id: the call sheet (path params, body/query keys with their nested fields, required keys, permission needed). 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. site_id is filled from the current site. Use pick / max_items to keep the result small. Refuses anything that is not a GET.

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

appA
Destructive
Inspect

Apps of the site (install, configure, remove). Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • list_apps: Which applications are installed / enabled on the site — and which are not — in ONE call.

  • get_app: Get one installed app by its type code (returns null if not installed).

  • install_app: Install (register) an application on the current site so its features become usable.

  • uninstall_app: Uninstall (remove) an installed application from the current site.

Inputs: action (required), id, app, help, +2 more.

blogA
Destructive
Inspect

Blog articles and blog categories. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • list_articles: List blog articles (metadata only, without HTML content).

  • get_article: Get article details by ID (includes the full HTML content)

  • create_article: Create a blog article so blog/post pages (post-list, grid-blog, post-overlay) have content.

  • update_article: Update a blog article.

  • delete_article: Delete blog articles (soft delete — they disappear from the site)

  • create_blog_category: Create a blog/article category.

  • update_blog_category: Update a blog/article category (name, description, image, slug, SEO).

Inputs: action (required), id, ids, seo, +17 more.

builder_refA
Read-only
Inspect

Reference for composing pages: elements, attributes, events, bindings, schema, guides, section templates. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • get_build_guide: Get the BuilderX page authoring guide: page shape, the grid layout model, styling, breakpoints, forms/data, and the build workflow.

  • get_intake_guide: Get the INTAKE questionnaire + build flow to run BEFORE creating a new site/store/page.

  • list_elements: List all BuilderX element/component types you can place on a page, grouped by category with a one-line summary and whether each is a container.

  • get_element: Get the full detail of an element type: category, container flag, summary, KEYS — one line per specials/config key the published renderer reads (`key: meaning · type · one of a|…

  • list_events: List every interaction EVENT you can attach to a node: the triggers (eventName: click/hover/success/submit/…) and the actions (open_page, scroll_to, toggle, open_popup, add_to_c…

  • list_bindings: List every dynamic-data BINDING target: the datasets (product, cart_item, order, order_item, post, category, customer, customer_address, …) and their exact field names ('product…

  • get_page_schema: Get the authoritative JSON Schema (Draft 2020-12) for a page source { sections: [...] } — the structural contract for every node (id/type/specials/runtime{style,config}/childr…

  • list_section_templates: Browse the designer-made section library (the editor's template picker): ready, styled blocks (hero, product showcase, testimonials, footer…) to start from instead of composing …

Inputs: action (required), help, page, term, +3 more.

build_pageAInspect

Create a brand-new page AND set its full content source in one step. Two-step safety: call with dry_run=true (default) to validate and preview, then dry_run=false to actually create + save. The source must be { sections: [...] } — build sections with new_section. Validation errors block the real save. ONE page per site for type main (homepage) / error / maintain, and slugs are unique per site: a duplicate is refused (dry_run reports blocked:true) and you get the existing page_id to edit instead. Only 'custom' pages can be created over and over.

Inputs: name (required), slug (required), seo, type, +5 more.

cached_resultA
Read-only
Inspect

Large results kept server-side: list and page through them. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • list_cached_results: List the large results currently held in the session cache (id, label, size, age).

  • read_cached_result: Read a slice of a large cached result produced by another tool (look for "cached":true + a cache_id in its output).

Inputs: action (required), help, length, offset, +1 more.

cloneAInspect

Copy an existing web page as native sections (clone_page), or read a page's text/images as a blueprint (ingest_*). Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • clone_page: Clone a web page into NATIVE sections (text/image/button/form/video/container rows — no embed, no custom code).

  • get_clone_script: Get the capture script for clone_page: run it inside the source page with YOUR browser tool when clone_page can't open the page itself (remote server, no local Chrome, a page be…

  • ingest_url: Fetch a public URL and parse it into a structural blueprint (see ingest_html).

  • ingest_html: For a faithful copy of a live page use clone_page (native sections from the rendered layout).

Inputs: action (required), url, help, html, +4 more.

cms_functionAInspect

CMS files and HTTP functions (backend code): read, edit, version, run. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • get_http_function: Get the main HTTP function file.

  • get_http_function_snippet: Read specific function(s) by name.

  • edit_http_function: Edit the HTTP function file by function name — best for targeted changes (fix a bug, rename, add one function).

  • update_http_function: Write the FULL HTTP function file content.

  • create_cms_file: Create a new CMS file.

  • update_cms_file: Update the code content of an existing CMS file

  • save_file_version: Save a version snapshot of a CMS file for rollback

  • restore_file_version: Roll a CMS file back to a saved version in one step: reads the version's content and writes it back to the file.

  • run_function: Run a deployed HTTP function.

Inputs: id, code, help, name, +12 more.

collectionA
Destructive
Inspect

CMS collections (custom data tables) and their records. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • list_collections: List all database collections (tables) for the site.

  • get_collection: Get a specific collection's details including full schema (field names, types, constraints, references) and records

  • create_collection: Create a new collection (custom data TABLE).

  • update_collection_columns: Add or change a collection's custom columns.

  • delete_collection: Delete a collection (table) and all its records by id.

  • query_collection_records: Query records from a collection (custom data table) by table name.

Inputs: action (required), id, help, name, +8 more.

composeA
Read-only
Inspect

Create element nodes from the factory (never hand-write nodes). Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • new_element: Build a single structurally-valid element node from the real builder factory.

  • new_section: Build a complete section node with children laid out in the builder's vertical grid.

  • new_row: Build a multi-column ROW container: children laid out SIDE BY SIDE (not stacked).

  • new_page_skeleton: Return an empty but valid page source: { sections: [] }. Add sections built with new_section, then save with build_page.

Inputs: action (required), hug, help, opts, +8 more.

create_siteAInspect

Create a brand-new storefront site for the current account, then (by default) switch to it and return an EMPTY, CLEAN site (no sample products/categories) ready for element composition. The backend auto-seeds off-theme sample products + categories (and a sample blog); by default this tool DELETES that seed right after creating the site (keep the non-deletable default "All" category) so you start from a blank, on-theme store. Pass keep_seed:true to keep the sample data. The site has NO pages — after this, compose a homepage from elements: get_build_guide → new_section/new_element → build_page (type:'main', is_homepage:true). Note: free accounts are limited to 4 sites (creation fails with a quota error past that).

Inputs: name (required), slug (required), keep_seed, switch_to.

get_current_contextA
Read-only
Inspect

Show current connection context: which site_id, API URL, session, and account info. Call this first to confirm you're working on the right site

Inputs: no named parameters.

get_site_infoA
Read-only
Inspect

Get full site information: name, domain, settings (colors, typography, layout, language, payment methods, etc.) and preview_img — the latest homepage screenshots (1920_1080 desktop / 430_932 mobile), refreshed after publish_site.

Inputs: no named parameters.

get_source_cartA
Read-only
Inspect

Get all cart global sources with compact tree view. Shows full element hierarchy — no need to call get_global_source_detail separately.

Inputs: no named parameters.

global_sectionA
Destructive
Inspect

Global header/footer/custom sections shown on every page. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • list_global_sections: List reusable global sections (Header, Footer, shared content blocks) — SLIM summary only.

  • get_global_section: Get one global section as a COMPACT tree (3-5x fewer tokens than raw JSON).

  • create_global_section: Create a reusable global section (Header / Footer / shared block) the way the builder does: persists a global_section record AND embeds the same section node into page sources s…

  • delete_global_section: Delete a global section (Header/Footer/block) and remove its node from every page source.

  • search_global_section_elements: Search/filter elements within a global section (Header/Footer/block) without dumping the whole tree.

  • get_global_section_element: Get full detail (style, config, specials, events, bindings, responsive bp1..bp4, children IDs) of a single element inside a global section.

Inputs: action (required), id, raw, help, +14 more.

global_sourceA
Destructive
Inspect

Site-wide sources (popups, cart drawer, header/footer sources): list, read, create, edit, translate. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • list_global_sources: List global sources (cart, popup, etc.).

  • get_global_source_detail: Get full detail of a global source — compact tree view showing all elements.

  • create_global_source: Create a new global source component.

  • update_global_source: Replace full source of a global source.

  • delete_global_source: Delete a global source and its published version

  • search_global_source_elements: Search/filter elements within a global source.

  • get_global_source_element: Get full detail of a single element (style, config, specials, events, bindings, responsive, children).

  • update_global_source_element: Update a single element within a global source.

  • update_global_source_elements: Batch update multiple elements in one global source.

  • get_global_source_contents: Get multilingual contents for global sources by component type

  • update_global_source_contents: Update multilingual contents (upsert).

Inputs: action (required), id, help, text, +20 more.

invoke_read_toolA
Read-only
Inspect

Run a READ-ONLY WebCake tool (list_*/get_*/search_*/count_*… — annotations.readOnlyHint in search_tools) by exact name with its arguments. Prefer this over invoke_tool for lookups. Refuses tools that change data.

Inputs: name (required), arguments.

invoke_toolAInspect

Run any WebCake tool by exact name with its arguments (discover names + schemas via search_tools). Arguments are validated before running. For read-only tools prefer invoke_read_tool.

Inputs: name (required), arguments.

list_my_sitesA
Read-only
Inspect

List the current account's PERSONAL sites (team sites are not included). Use this to find a site_id before switching. filter: "all" = active sites (default), "removed" = sites in trash. Each site has status, published_at (set at creation — not proof of publishing), slug, primary domain and has_custom_domain (verified, live, non-default domain). For plans use get_site_subscription / count_my_sites.

Inputs: page, term, limit, filter.

list_tool_groupsA
Read-only
Inspect

List every WebCake tool group, how many tools it has, and whether it is loaded natively or reached on-demand via search_tools + invoke_tool.

Inputs: no named parameters.

orderA
Read-only
Inspect

Orders and customers. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • list_orders: List orders of the site (metadata only).

  • get_order: Get full order details by ID: customer info, items, payment, shipping, discounts, etc.

  • list_customers: List/search the site's customers (browse or segment).

  • find_customer: Find a customer by ID, phone number, or email

Inputs: action (required), by, id, help, +5 more.

pageA
Destructive
Inspect

Pages of the current site: list, create, rename/SEO, delete, read and save the source, content text, preview. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • list_pages: List all pages of the site (metadata only, without source)

  • create_page: Create a new (empty) page.

  • update_page: Update page properties: name, slug, homepage, SEO ("Cài đặt SEO") and settings.

  • delete_page: Delete a page

  • get_page_source: Get page source overview: section count, element type counts, and all custom CSS classes.

  • update_page_source: Directly update the full page source JSON.

  • list_page_contents: List multi-language contents (translations) of the site's pages and global sections.

  • update_page_content: Create/update page content for a specific language.

  • preview_page: LOOK at a saved page before publishing: screenshots of the SAVED (unpublished) draft at desktop and mobile width, through the editor's own Preview host (it renders page.source +…

Inputs: action (required), seo, help, name, +14 more.

page_draftA
Destructive
Inspect

Build a page section by section in a draft, then commit it as one save. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • start_page_draft: Start a page draft (no network).

  • add_draft_section: Append ONE section to a local page draft (NO network — this is the durable per-section cache step that can't time out).

  • get_page_draft: Inspect a local page draft: its meta, the section ids, total section count, and (if a commit is in progress) the page_id + committed_count.

  • list_page_drafts: List local page drafts for the current site (summaries only: id, name, slug, type, section count, commit progress, updated_at).

  • commit_page_draft: Persist a local page draft to the backend INCREMENTALLY (one section per request, 120s timeout each) so no single huge request can time out.

  • clear_page_draft: Delete a local page draft (does NOT delete any backend page already created from it).

Inputs: action (required), seo, help, name, +6 more.

page_elementBInspect

Read and edit single elements on a saved page, or append a section. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • search_page_elements: Search/filter elements within a page source.

  • get_page_element: Get full detail of a single element by its ID (e.g.

  • update_page_element: Update properties of a specific element in page source.

  • update_page_elements: Batch update multiple elements in one page.

  • add_section: Append a section to an EXISTING page's source.

Inputs: action (required), id, help, text, +19 more.

productA
Destructive
Inspect

Products of the store. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • list_products: List products of the site (metadata only: id, name, slug, price, image, status).

  • get_product: Get full product details by ID: name, description, price, variations, images, attributes, SEO, etc.

  • create_product: Create a product so the storefront has real merchandise (grid-product / slider-product bindings need this).

  • update_product: Update an existing product.

  • delete_product: Delete one or more products by id.

  • set_product_published: Publish or unpublish one or more products quickly (without a full update).

Inputs: action (required), id, seo, sku, +17 more.

product_categoryA
Destructive
Inspect

Product categories. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • list_categories: List all product categories of the site

  • create_product_category: Create a product category (so grid-category / a category page has something to show, and products can be filed under it).

  • update_product_category: Update a product category (name, image, description, visibility, SEO).

  • delete_product_category: Delete one or more product categories by id.

Inputs: action (required), id, ids, seo, +6 more.

promotionA
Read-only
Inspect

Promotions and combos. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • list_promotions: List ALL promotions/discounts of the site (every page is fetched for you).

  • search_promotions: Search/filter ALL promotions (every page): by keyword, type, time status (coming_soon/in_progress/finished), active flag.

  • get_promotion: Get full promotion details by ID: name, type, schedule, discount rules, coupon settings, items, bonus products, etc.

  • get_promotion_items: Get products/variations/categories attached to a promotion.

  • get_active_promotions: Get all currently active promotions (is_activated=true and within start_time/end_time range)

  • list_combos: List all combo/bundle products of the site.

  • get_combo_items: Get items (products/variations) and bonus products that compose a combo.

Inputs: action (required), id, help, page, +8 more.

publish_siteAInspect

Publish the whole site live — snapshots all current page sources into the live (published) version. Note: BuilderX publishes at the SITE level, not per page; publishing makes every saved page go live. Two-step safety: dry_run=true (default) runs the preflight and describes what will happen; dry_run=false publishes. Preflight: every saved page through validate_page, site CSS/JS against the ceiling, breakpoints. Any error BLOCKS the publish (fix it first); warnings are listed. After publishing, the live homepage is fetched and checked; success is false when it is still broken (e.g. bps = []).

Inputs: dry_run.

search_imagesA
Read-only
Inspect

Search stock photos (Pexels) for a page/product. IMPORTANT: the storefront only renders images served from the WebCake CDN (image domains are whitelisted) — raw Pexels URLs will NOT display. By default this re-hosts each result on the WebCake CDN and returns a ready-to-use cdn_url (cached, so repeats are free). Use cdn_url for image src / product images. Requires the PEXELS_API_KEY environment variable.

Inputs: query (required), upload, per_page, orientation.

search_toolsA
Read-only
Inspect

Find WebCake tools by keyword across the FULL catalog — including capabilities NOT loaded natively (marketing/CRM, translations, media, appointments, affiliate, reviews, domains/SEO/shipping, brands/tags/ribbons, courses, sale channels, automation…). Returns name, group, description and JSON input schema. Then run one with invoke_read_tool (read-only) or invoke_tool.

Inputs: query (required), group, limit.

site_codeAInspect

Custom code, site-wide or for ONE page (native first: refused when an element can do it). Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • get_site_custom_code: Get custom code of the site (CSS/JS).

  • update_site_custom_code: Update custom code (CSS/JS) for the entire site.

  • append_site_custom_code: Append or prepend code to a custom code field.

  • get_page_custom_code: Read the custom code of ONE page (CSS / JS / head / body slots in page.settings.custom_code), its budget usage, the element ids and custom classes the code can target on that pa…

  • update_page_custom_code: Save custom code for ONE page — only when the element schema can't do what the user asked (NATIVE FIRST: element → its settings/events/bindings → an app → code).

Inputs: action (required), code, help, mode, +12 more.

switch_siteAInspect

Switch to a different site by site_id. All subsequent tool calls will target the new site. The choice is saved to local database — next session will auto-connect to this site. Use list_my_sites first to find the site_id

Inputs: site_id (required).

themeAInspect

Site themes and templates. Pick the operation with action and pass that action's arguments (help:true returns its full documentation and schema).

  • list_themes: List all custom themes of the site.

  • semantic_search_themes: Semantic search across the theme marketplace using bge-m3 embeddings (cosine similarity).

  • list_template_themes: Search/list the public Webcake template marketplace (api.storecake.io).

  • create_site_from_template: Create a NEW site from a marketplace TEMPLATE (the dedicated "use this template" API).

Inputs: action (required), q, help, lang, +7 more.

toggle_confirm_modeAInspect

Toggle update confirmation mode. Controls whether update tools ask for user confirmation before saving.

  • "always_confirm" (default): Shows diff first, requires user approval before saving. Safer.

  • "auto_apply": Applies changes immediately without preview. Faster but riskier. Current mode is saved to database and persists across sessions.

Call this tool when the user says things like: → "tự động xác nhận" / "auto confirm" / "không cần hỏi" / "don't ask" / "apply directly" → mode: "auto_apply" → "hỏi trước khi lưu" / "luôn hỏi" / "always ask" / "confirm before saving" / "xác nhận trước" → mode: "always_confirm"

Inputs: mode (required).

update_authAInspect

Update authentication credentials. All values are saved to local database — next session auto-restores them. Get token and session_id from browser DevTools → Network tab → copy from any API request headers

Inputs: token, api_url, session_id.

upload_imagesAInspect

Convert external image URLs, data: URIs, or LOCAL FILE PATHS into site-hosted CDN URLs by reading/downloading each image and re-uploading it to the WebCake backend. Use this whenever the user supplies their OWN images (their URLs or files from their machine), or a page is built from a reference HTML/URL. The returned CDN URLs go straight into an image element's specials.src / runtime.config.src, or a product/category image. This is REQUIRED for any external image (incl. Pexels search results) because the storefront only renders whitelisted WebCake-CDN image domains. Results are cached per site, so re-uploading the same source is free. Processes up to 20 entries per call in parallel; non jpeg/png/webp inputs are converted to JPEG. UPLOADS BY DEFAULT (dry_run defaults to FALSE — this touches no account data): returns an "images" map (original source → hosted URL). Pass dry_run:true to only preview the entries that WOULD be processed (local paths report whether the file exists + its size) without any network/filesystem upload. Local file paths are only permitted when the MCP server runs locally (stdio); on the remote HTTP transport they are rejected per-entry.

Inputs: urls (required), dry_run.

validate_pageA
Read-only
Inspect

Validate a page source ({ sections: [...] }) against every element's schema. Each message reads [CODE] #id (type) where: problem → fix. errors block saving (duplicate/missing ids, renderer-crash shapes…); warnings render wrong (UNKNOWN_KEY invented/misspelled key, STYLE_KEY not a CSS property, TYPE_MISMATCH, BAD_VALUE outside the allowed values, BAD_PARENT, OUTSIDE_FORM, FIELD_NAME, EVENT/BINDING problems…). Repeated warnings are collapsed per code; summary.by_code counts all. Always run this before build_page and fix by code.

Inputs: source, page_id, page_kind.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 39 tools

    Disambiguation2/5

    There are two parallel interfaces: noun-named dispatcher tools (`page`, `product`, `order`, `blog`, `global_source`, `global_section`, `page_element`, `page_draft`, `site_code`, `compose`, `clone`, `api_find`/`api_get`/`api_call`/`search_tools`/`invoke_tool`/`invoke_read_tool`) plus a large set of concrete `verb_noun` tools that perform overlapping operations. Many pairs are nearly indistinguishable (e.g. `page` vs `list_pages`/`create_page`/`update_page_source`; `page_element` vs `get_page_element`/`update_page_element`/`update_page_elements`/`add_section`; `global_source` vs `global_section`; `api_find` vs `search_tools`). An agent has to guess whether to use a dispatcher or a dedicated tool, and several tools intentionally duplicate behavior.

    Naming Consistency3/5

    Most concrete tools follow clean snake_case verb_noun patterns (`list_pages`, `create_global_source`, `update_page_element`). However, the surface mixes that convention with bare noun dispatchers (`page`, `product`, `order`, `theme`, `app`), vague names (`compose`, `clone`, `page_draft`, `builder_ref`), and prefixed meta-tools (`api_*`, `invoke_*`, `search_tools`), so the naming is readable but not uniform.

    Tool Count2/5

    39 tools is far beyond the typical 3-15 range, and the set is bloated by parallel dispatcher and concrete variants of the same operations. Some tools are broad dispatchers meant to reduce surface area, but their sub-operations are also exposed individually, so the count is not justified.

    Completeness4/5

    Coverage is broad: site creation/switching, pages, elements, drafts, publishing, global sources/sections, products, categories, promotions/combos, orders/customers, blog, CMS collections/files/functions, apps, themes, images, and a full-API escape hatch via `api_find`/`api_call`. Gaps are minor (e.g. order write operations, some media/SEO behaviors are only reachable through generic API tools), so agents can work around them.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Enables AI agents to operate a Store Builder site end-to-end — designing pages, filling them with data, reviewing screenshots, and publishing — without human intervention.
      42
      3,872 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables an AI assistant to publish a storefront it built to live hosting, read the live site back, add, update or delete a single page, manage the catalogue, orders and reviews, and restore any earlier version in one call. Hosting requires a paid subscription, and a free pre-publish assessment reports which documented signal calls, contrast pairs or hardcoded prices would fail.
      15 npm
      Apache 2.0