MCP for Page Builder CK Pro
MCP for Page Builder CK Pro is a Pro add-on for MCP for J. It adds 17 tools for what Page Builder CK Pro by Joomlack (Cédric Keiflin) adds: exporting and importing pages, saved elements, styles and content-type templates, the saved library and block presets, and style favorites. It works alongside the free MCP for Page Builder CK add-on, which covers pages, rows, columns, blocks, styles and snapshots.
New to MCP for Page Builder CK Pro? This page is the reference manual. For an overview and how to get it, see its page on cybersalt.com.
Release history. This page documents version 1.0.5. For what changed in each version, see the changelog.
Requirements. Joomla 5 or 6, PHP 8.2 or newer, MCP for J, the free MCP for Page Builder CK add-on alongside it, and Page Builder CK Pro, which you buy from Joomlack. Tested with Page Builder CK Pro 3.7.1. Released under the GNU GPL v2 or later.
What's in the package
One plugin, System - MCP for Page Builder CK Pro (element csmcpforjpagebuilderckpro), with no admin screen of its own. Your AI app reaches its tools through MCP for J, like every other add-on.
Two gates
The package needs a Cybersalt Pro membership to download. That's the first gate. The second is Page Builder CK's own: every tool except get_pagebuilderck_pro_status refuses unless Page Builder CK Pro is installed. Page Builder CK decides that by the presence of its pro folder, and the add-on honours that check rather than working around it. A Cybersalt membership doesn't include Page Builder CK Pro. Run the status tool first if a tool says it needs Pro.
⤢ Click to enlarge
Installing
- Subscribe on the sign-up page, or get this and every other Pro add-on with MCP for J Pro — All Access.
- Download the zip and install it in System → Install → Extensions, or paste your download URL into Install from URL. Updates arrive through System → Update → Extensions.
The add-on needs no licence key to run. Your membership only decides whether you can download it and its updates.
Permissions
The AI can never do more than the Joomla account it acts for could do in Page Builder CK itself. On top of MCP for J's own Use and Write permissions, each tool needs the matching permission in Page Builder CK's Options (Permissions tab):
| Tools | Page Builder CK permission |
|---|---|
| The status tool | Access Administration Interface |
| Exports, the library and preset lists, inserting a library item, and all style favorite tools | Access Administration Interface + Edit, as Page Builder CK's own export, library and favorites screens |
| Imports | Access Administration Interface + Create + Edit |
Without Edit State, an imported page, element or style starts unpublished. A refusal names the missing permission and where a Super User can grant it.
⤢ Click to enlarge
The tools
| Group | Tools |
|---|---|
| Status (1) | get_pagebuilderck_pro_status: whether this site has Page Builder CK Pro, and what told us. Works on any edition. |
| Export (4) | export_pagebuilderck_page, export_pagebuilderck_element, export_pagebuilderck_style, export_pagebuilderck_contenttype: a .pbck payload, the same format as Page Builder CK's Export button. |
| Import (4) | import_pagebuilderck_page, import_pagebuilderck_element, import_pagebuilderck_style, import_pagebuilderck_contenttype: a .pbck payload in, with new block ids so its CSS never clashes with what's already on the site. |
| Library and presets (3) | list_pagebuilderck_library, install_pagebuilderck_library_item (put a saved library item into a column of a page), list_pagebuilderck_presets. |
| Style favorites (5) | list_pagebuilderck_style_favorites, save_pagebuilderck_style_favorite, rename_pagebuilderck_style_favorite, delete_pagebuilderck_style_favorite, apply_pagebuilderck_style_favorite. |
Ask in plain language: "Copy the Spring Open Day page to the Autumn site", "Give the sign-up box the same look as the call-out on the home page", or "Which saved library items do we have?"
Style favorites
A style favorite is a block's look saved once and reused: its CSS and its style options, as the Favorites panel in a block's options saves it. Page Builder CK Pro also ships 56 built-in looks, called suggestions. Most replace a block's look; the "shadow" ones add a shadow on top of the look it already has. The tools work exactly as clicking them in the builder does, and favorites you save here show up in the builder for every editor on the site.
⤢ Click to enlarge
⤢ Click to enlarge
⤢ Click to enlarge
⤢ Click to enlarge
Deleting a favorite doesn't change blocks that already use its look: applying copies the style into the block. The built-in suggestions can't be renamed, changed or deleted. Deleting needs confirm: true; without it the tool shows what it would delete.
⤢ Click to enlarge
|ID| stands for the block it's applied to.Export and import
An export is the same .pbck payload Page Builder CK's Export button produces, so you can move it between sites, keep it as a copy, or edit it before importing it again. An import creates a new page, element or style: it never overwrites one. A content-type template import overwrites the existing template for that type only when you pass overwrite: true, and it writes the template's markup and CSS together or not at all.
⤢ Click to enlarge
⤢ Click to enlarge
The library and presets
list_pagebuilderck_library lists the saved library items in media/com_pagebuilderck/libraries, and install_pagebuilderck_library_item puts one into a column of a page, at the start or the end, as dragging it from the builder's library does. list_pagebuilderck_presets lists the option presets for each block type.
⤢ Click to enlarge
Safety rails
- Pages someone has open are left alone. Inserting a library item or applying a favorite refuses a page another user has checked out, because their next Save would undo it. Pass
force_checked_out: trueto write anyway. Page Builder CK never checks pages in on its own, so an old lock can stay after someone closes their browser. - Nothing is overwritten by accident. A page is only written if it hasn't changed since the tool read it; if someone saved in between, nothing is written and the tool says so.
- A page is never changed beyond what you asked. A page whose markup wouldn't survive being read and written back byte for byte is refused.
- Imported titles are cleaned as Page Builder CK's editor cleans them, the page title tag must be h1 to h6, div, p or span, and payloads over 8 MB are refused.
- Page HTML is treated as Page Builder CK treats it. Page Builder CK stores page HTML as written and doesn't run Joomla's text filter on it, so the tools don't either. Give Edit only to accounts you'd trust with raw HTML in Page Builder CK itself.
What's been tested
Version 1.0.5 was tested on Joomla 5.4 and 6.1 with Page Builder CK Pro 3.7.1 and MCP for J 2.16.0: every tool as Super User on real pages, the export and import round trip for each type, the check-out and size guards, every style favorite tool including the merge looks, and every tool as Super User, Administrator and Manager with the result checked against Joomla's own permission check. Then again on the release zip.
Troubleshooting
| You see | What it means |
|---|---|
| "… is a Page Builder CK PRO feature and this site is running the Light (free) build" | Page Builder CK Pro isn't installed. get_pagebuilderck_pro_status shows what the add-on found. |
| "You need 'Edit' permission (core.edit) on Page Builder CK" | The account lacks that permission in Page Builder CK's Options, on the Permissions tab. |
| "Refusing to change page …: it is checked out by user …" | Someone may have the page open in the builder. Wait, or pass force_checked_out: true. |
| A visitor gets "403" on a Page Builder CK page's own link | Page Builder CK 3.6.7 and newer only show its page view to accounts with Edit. Show the page through {pagebuilderck 12} in an article (with the page's id) or a menu item for the article. This is Page Builder CK's behaviour, not the add-on's. |
Getting help
Use the support request form on cybersalt.com, or Components → MCP for J → Support on your site, which adds the details we need.
An account without Edit can't export a page — click anywhere to closeClose ×
The built-in suggestions — click anywhere to closeClose ×
Applying a suggestion to a text block — click anywhere to closeClose ×
Saving that look as a favorite — click anywhere to closeClose ×
The same look on a column — click anywhere to closeClose ×
A saved favorite with its CSS — click anywhere to closeClose ×
A page exported — click anywhere to closeClose ×
Imported, title cleaned, new block ids — click anywhere to closeClose ×
A page someone else has open is left alone — click anywhere to closeClose ×