MCP for Page Builder CK
MCP for Page Builder CK is a free add-on for MCP for J. It gives an AI app connected to your Joomla site 30 tools for Page Builder CK by Cédric Keiflin, Light or Pro: read how a page is built, add and change rows and blocks, attach styles, restore Page Builder CK's own snapshots, and check a site's pages for problems.
New to MCP for Page Builder CK? This page is the reference manual. For an overview of what MCP for Page Builder CK does, and the download, see its page on cybersalt.com.
Release history. This page documents version 1.0.4. For what changed in each version, see the changelog.
Requirements. Joomla 5 or 6, PHP 8.2 or newer, MCP for J, and Page Builder CK 3.6 or newer, Light or Pro. Tested with Page Builder CK Light 3.6.7 and Pro 3.6.7. Page Builder CK older than 3.6.5 has known, actively exploited security holes (among them CVE-2026-56290): update it first. The add-on is released under the GNU GPL v2 or later.
What's in the package
One plugin, System - MCP for Page Builder CK (element csmcpforjpagebuilderckfree). It adds its tools to MCP for J and has no admin screen of its own. The tools appear in your AI app the next time it asks MCP for J for its tool list. If Page Builder CK isn't installed, each tool says so instead of failing. Page Builder CK Pro's own extras (its library, presets, import and export) are covered by the separate MCP for Page Builder CK Pro add-on.
Installing
Install MCP for J first and connect your AI app to it. Then pick one of these:
- From inside Joomla (recommended). Open Components → MCP for J → Browse MCP Add-ons and install the Page Builder CK add-on. Updates then arrive through System → Update → Extensions.
- From the zip. Download it from the product page and install it in System → Install → Extensions.
First steps
Ask your AI app "Show me how the Open Day page is built". That's read-only: it lists the page's rows, columns and blocks with the ids the other tools use. Then try a small change, such as "Add a two-column row at the end of that page", and open the page in Page Builder CK to see it.
⤢ Click to enlarge
Permissions
The AI can never do more than the Joomla account it acts for could do in Page Builder CK itself. Each tool needs MCP for J's Use permission (reading) or Write permission (changes), and on top of that Page Builder CK's own permissions, set in Page Builder CK's Options on the Permissions tab:
| Tools | The account also needs |
|---|---|
| Every tool, including the lists | Access Administration Interface on Page Builder CK |
| Reading a page's, block's, style's or element's content, and every content change | As above, and Edit (as Page Builder CK's builder needs) |
| Creating or copying a page | As above, and Create |
| Publishing or trashing a page, or setting its state on create or update | As above, and Edit State |
| Deleting a page for good | As above, and Delete |
With Joomla's default permissions, Super Users and Administrators can use every tool, and Managers none. The refusal names what's missing.
⤢ Click to enlarge
The tools
30 tools in 7 groups. Your AI app picks the right one from what you ask.
| Group | Tools | What they do |
|---|---|---|
| Pages | 7 | List, read, create, update, copy, publish or trash, and delete pages. |
| Content | 8 | A page's outline, read one block, add, update, move and delete blocks, replace a page's whole content, and check content before it is saved. |
| Structure | 2 | Add a row with the columns and widths you want; change a row's columns. |
| Styles | 4 | List and read Page Builder CK styles, see which styles a page uses, and set them. |
| Reference | 4 | Saved elements (list and read), categories and fonts. |
| Snapshots | 2 | List the snapshots Page Builder CK keeps of each page, and restore one. |
| Diagnostics | 3 | Edition and versions, the block types that are installed, and a health check. |
Changing a page
A Page Builder CK page is one piece of HTML holding rows, columns and blocks. The tools work on that structure: add_pagebuilderck_row writes a row the way the builder writes it, with its column widths and gutter in step, and the block tools change one block by its id.
⤢ Click to enlarge
Every change is checked before it is saved. Markup that wouldn't come back unchanged when the builder reads it, duplicate ids and unbalanced tags are refused, and the stored page is left as it was. validate_pagebuilderck_content runs the same check on its own.
⤢ Click to enlarge
Page content is HTML, as in Page Builder CK. Page Builder CK stores page HTML as the builder writes it and doesn't run Joomla's text filter on it, so the tools don't either: only accounts you trust with Edit should have it. Page titles lose any HTML tags, as Page Builder CK's own save removes them, and the page's heading tag option must be h1–h6, div, p or span.
A page someone has open is left alone. Page Builder CK marks a page as checked out while someone has it open, and their Save would overwrite a change made meanwhile. Every content change refuses such a page. Pass force_checked_out: true to write anyway. Page Builder CK has no global check-in, so a lock left by an abandoned session stays until it's cleared; the health check lists such pages.
⤢ Click to enlarge
A tool's change doesn't make a new Page Builder CK snapshot (only the builder's own Save does), and the next Save in the builder rewrites the page from the builder's view of it.
Snapshots
Each time a page is saved in the builder, Page Builder CK keeps a snapshot of the version before the save. list_pagebuilderck_backups lists them, and restore_pagebuilderck_backup puts one back. Only a page's own snapshots, from its own folder, can be restored into it, and only the content is restored: the title, state and other settings stay as they are.
⤢ Click to enlarge
Health check
⤢ Click to enlarge
It checks the Page Builder CK version against the known security fixes, and every page for content that isn't safe to edit, duplicate ids, blocks whose type has no enabled plugin, and pages left checked out.
What these tools don't do
- No visual design. Block settings and styles are written as Page Builder CK stores them; how a page looks is still best judged in the builder.
- No Pro library, presets, import or export. Those are in the separate MCP for Page Builder CK Pro add-on.
- No component settings. Page Builder CK's Options are changed in Joomla.
What's been tested
Version 1.0.4 was tested on Joomla 5.4 and 6.1 with PHP 8.4, each with Page Builder CK Light 3.6.7 and then Pro 3.6.7. On each site every tool ran as a Super User on a page built with the tools: a two-column row, a text block added, changed, moved and removed, a style attached and a snapshot restored. All nine content-changing tools were checked against a page another user had open, and the permission checks ran on every tool with Super User, Administrator and Manager accounts and with permissions granted one at a time. The page was checked on the front end as a visitor, through Page Builder CK's {pagebuilderck} tag in an article.
Troubleshooting
| Symptom | Cause and fix |
|---|---|
| No Page Builder CK tools in the AI app | Check that MCP for J is installed, System - MCP for Page Builder CK is enabled in System → Plugins, and the AI app has refreshed its tool list. |
| A tool says the account lacks a Page Builder CK permission | See Permissions. A Super User grants them in Page Builder CK's Options, on the Permissions tab. |
| "is checked out" | Someone has the page open in Page Builder CK. Wait for them to save or cancel, or pass force_checked_out: true. |
| A change is refused with "fatal" problems | The content wouldn't survive the builder reading it back, or repeats an id. Read the problems in the reply; if the stored page itself is broken, replace it whole with write_pagebuilderck_page_content. |
| Visitors get "403" on a Page Builder CK page link | Page Builder CK 3.6.7's own page view needs Edit on Page Builder CK; show the page to visitors through its {pagebuilderck} tag in an article. This is Page Builder CK's behaviour, not the add-on's. |
Getting help
Questions and bug reports are welcome through the Cybersalt support form. Please include your Joomla, PHP, Page Builder CK (Light or Pro), MCP for J and add-on versions, and the tool response that surprised you.
MCP for Page Builder CK is developed by Cybersalt Consulting Ltd. and released under the GNU General Public License v2 or later. It is not made or endorsed by Joomlack.
Reading a page's content needs Edit — click anywhere to closeClose ×
A new two-column row — click anywhere to closeClose ×
A page checked before a change — click anywhere to closeClose ×
A page another user has open — click anywhere to closeClose ×
A page restored from a snapshot — click anywhere to closeClose ×
The health check on a clean site — click anywhere to closeClose ×