Themes integration
Kadence Theme AI agent tool reference
The Kadence theme keeps its global palette in a JSON option and everything else in theme mods, which it reads whole. WP MCP's theme pair adds a Kadence pack while Kadence is the active theme family: get-kadence-settings reads the allowlisted keys and set-kadence-settings writes them. The vocabulary covers the palette colors, content and narrow widths, base and heading fonts, header and footer backgrounds, the sticky and transparent header, and the footer HTML. The whole batch is validated first, a sub-field write seeds the key with the theme's own default so Kadence never reads a half-empty array, and the stores it touches are snapshotted byte for byte. Theme writes are opt-in.
Kadence Theme in plain language: Kadence MCP.
In practice
How Kadence Theme work goes with an agent.
The Kadence theme splits its settings across two kinds of storage. The global palette lives in a JSON option called kadence_global_palette, with a field naming which of three palettes is live. Nearly everything else is a theme mod, and Kadence reads a stored array whole instead of merging in defaults. A careless partial write would therefore leave a half-empty array behind. WP MCP handles that by seeding a key with the theme's own default before changing one field inside it, so a single value can be changed safely.
List the first nine Kadence palette colors with their current values.
Runs get-kadence-settings, which reads palette1 to palette9 from the active palette in the JSON option, plus the allowlisted theme mods. Read only.
Set palette color 1 to #0f766e and palette color 2 to #115e59.
Runs set-kadence-settings with palette1 and palette2. Both are validated as colors first, then the stores involved are snapshotted and written in one step. Palette entries must be literal colors, not palette references.
Make the header sticky and give the footer a dark background from palette 3.
Runs set-kadence-settings with header_sticky set to one of the allowed values such as "main", and footer_background set to palette3. Color fields accept a palette slug as well as a literal color.
Replace the footer text with a copyright line and a link to the privacy page.
Runs set-kadence-settings with footer_html_content. The HTML is filtered with the same allowlist WordPress uses for post content, capped at 5000 characters, and snapshotted before it is saved.
What your AI can do
Real Kadence Theme operations, every write reversible.
- Read and set the Kadence global palette
- Change base and heading font families and the base font size
- Set content and narrow container widths
- Set header and footer backgrounds, sticky and transparent header
- Edit the footer HTML
- Roll back any settings change exactly
Example prompts
Example Kadence Theme prompts.
Show me the current Kadence palette.
Make the header sticky and set its background to palette color 9.
Switch the base font to Inter at 18 pixels.
Under the hood
The Kadence Theme calls, under the hood.
theme-read({ operation: "get-kadence-settings" })
theme-write({ operation: "set-kadence-settings", args: { settings: { header_sticky: "main" } } }), opt-in; snapshotted
Safety and access
What can be undone on Kadence Theme, and what costs what.
Recoverable on Kadence Theme
- A write snapshots exactly the stores it touches, the theme mods, the palette option, or both together.
- rollback-operation restores them byte for byte, including a half-seeded sub-field.
- A whole batch is one operation, so one rollback reverts every key in it.
Kadence Theme limits and opt-ins
- Writes are off until the site turns on the wpmcp_enable_theme_write filter.
- Only palette1 to palette9 are writable, not the extra semantic colors, and the second and third palettes are not edited.
- Font settings accept a family name and a base size, not a Google Fonts download, and the size is limited to 8 to 72.
- If a setting has no stored structure yet the write is refused with setting_unavailable, and the fix is to save it once in the Customizer.
Free or Pro: The Kadence theme pack is part of the free plugin, including the writes once a site opts in with the theme write switch. Nothing here needs Kadence Pro, and Kadence Pro Elements is a separate Pro integration. Kadence Blocks, the block plugin, is also separate, with its own Pro support for validating and writing blocks.
In the free plugin
The Kadence Theme integration is in the free plugin.
The core Kadence Theme tools ship in the free, GPL plugin with the full snapshot and undo engine, and no trial clock. Pro adds 133 more tools, including Elementor deep editing, the other page builders, the forms adapter pack and, for some integrations, extra operations. The pricing page lists what each tier includes.
Frequently asked
Kadence Theme MCP: questions, answered.
Is the Kadence Theme integration the same as the Kadence Blocks integration?
No. This pack edits the Kadence theme's own settings and is free. Kadence Blocks is a separate block plugin with its own Pro block suite support.
Which header and footer settings can an agent change?
The main header background, the sticky header mode (no, main, top_main, top_main_bottom, top or bottom), the transparent header switch, the footer background, and the footer HTML. Other header builder layout items are not in the allowlist, so they are refused by name.
How wide can the content area be set?
content_width and content_narrow_width take whole pixel values from 300 to 3000. A value outside that range, or a non-integer, refuses the batch before any snapshot or write. Kadence stores each width as a size and a unit, and the unit is kept as px.
Why does the palette depend on the active palette?
Kadence keeps up to three palette lists and one field named active that picks the live one. WP MCP follows that field, so palette1 means the first color of whichever palette is live, and the other two lists are left alone.
Is there an AI agent for Kadence Theme?
Yes, through WP MCP rather than Kadence Theme itself. An agent you choose, such as Claude or Cursor, can read and set the Kadence global palette. WP MCP is a separate plugin, not a built-in AI feature of Kadence Theme. On the undo side: A write snapshots exactly the stores it touches, the theme mods, the palette option, or both together.
Related integrations
More integrations for the same agent.
MCP for Astra
FreeThemes, 2 tools.
MCP for GeneratePress
ProThemes, 2 tools.
MCP for Blocksy
ProThemes, 4 tools.
MCP for Astra Pro Custom Layouts
ProThemes, 2 tools.
MCP for Kadence Pro Elements
ProThemes, 2 tools.
MCP for GP Premium Elements
ProThemes, 2 tools.
Browse the full Integrations hub, or read more on Kadence MCP and the WordPress MCP plugin.