Governed ability
Get WPBakery page content
aafm/wpbakery-get-page-contentRead only
Get WPBakery page content is a governed WPBakery Page Builder ability in Agent Abilities for MCP, a free WordPress plugin that runs an MCP server on your site.
Reads the raw post content of a WPBakery page, unchanged. Shortcodes come back exactly as stored, never rendered or stripped, and attribute values keep the form WPBakery stores them in, including its escaped brackets and quotes and base64 encoded values such as raw HTML, so search for text as it is stored. Also returns is_wpbakery_owned, true when WPBakery owns the page or the post is a Grid Builder template. With include_structure it also returns an outline of the shortcode elements (tag, nesting depth, attributes as stored and decoded the way WPBakery reads them, the inner text of an element with no child element, decoded for raw HTML and raw JS, and a fingerprint per element) plus a page fingerprint, to find the text block that holds the text before calling wpbakery-replace-text. The outline stops at 2,000 elements. With include_page_settings it also returns the page custom CSS and the editor status, and the page custom JS only to users who may post unfiltered HTML. Requires edit access to the post; WPBakery's Role Manager settings are not applied. Only while WPBakery Page Builder is active.
How it is governed
The same model as every ability in the plugin, stated for this one.
- Off until you enable it
Like every ability, Get WPBakery page content ships switched off. You turn it on one at a time, and an update never switches on a tool it serves.
- Reads only
It reads data and returns it to your client. Nothing on your site is created, changed, or removed.
- Capability gated
A connection only sees Get WPBakery page content if the user you connected can run it, and the plugin checks that capability again before it executes.
- Every call audited
The call is written to the log in your own database, denials included, with the argument keys and the identifiers it touched, never free-text content.
Get WPBakery page content is one of the 12 governed WPBakery Page Builder abilities. See the full WPBakery Page Builder MCP integration.
See it in action
An illustrative run. Your real calls and data stay on your own site.
Try it with a prompt
Example requests you could paste to your agent.
Show me the raw WPBakery content of page 57.
Show me the element outline of page 57 with each element's fingerprint.
Is page 57 built with WPBakery?
These are illustrative example prompts. The agent runs them as the user you connected, checked against that user's capabilities and written to your audit log.
Frequently asked
Short answers for Get WPBakery page content.
Do I get rendered HTML back?
No. Shortcodes come back exactly as stored, including WPBakery's escaped brackets and base64 encoded values, so search for text as it is stored. is_wpbakery_owned says whether WPBakery owns the page.
What does include_structure add?
An outline of the elements with attributes decoded the way WPBakery reads them, the inner text of each element with no child, and a fingerprint per element, plus a page fingerprint. The WPBakery element tools name an element by that index and fingerprint.
Governed by default, from the first call.
Get WPBakery page content is off until you enable it, scoped to the user you connect, and logged like everything else. Turn on only what you need.
Every ability off until you enable it, capability-gated on every call.