Governed ability
List WPBakery templates
aafm/wpbakery-list-templatesRead only
List WPBakery templates is a governed WPBakery Page Builder ability in Agent Abilities for MCP, a free WordPress plugin that runs an MCP server on your site.
Lists the templates saved in WPBakery Page Builder's own template library on this site: id, source (saved) and name, plus total. With include_content each template's stored shortcode text comes back byte for byte; for a user who may not post unfiltered HTML, a template holding raw HTML, raw JS, a map, a custom onclick setting or Design Options comes back without its content and with content_withheld true. While the Templatera add-on is active, WPBakery's editor shows Templatera's own templates instead, and so does this list: its published template posts (source templatera, id the post id) that the user can edit and whose own role list allows the user's first role, and with for_post_id only those whose own post type list allows that post; templatera_active says which list this is. Requires the edit_posts capability; 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, List WPBakery templates 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 List WPBakery templates 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.
List WPBakery templates 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.
List the templates saved in WPBakery.
Which Templatera templates can I use on page 57?
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 List WPBakery templates.
Does it list Templatera templates?
While Templatera is active, yes, and then it lists those instead, as WPBakery's editor does: the published Templatera templates the user can edit and whose own role list allows the user. templatera_active says which list you got.
Why is a template's content missing?
With include_content, a template holding raw HTML, raw JS, a map, a custom onclick setting or Design Options comes back without its content for a user who may not post unfiltered HTML, and content_withheld is true.
Governed by default, from the first call.
List WPBakery templates 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.