Kadence Blocks MCP server, with undo on every edit.
A Kadence MCP server lets Claude, ChatGPT or Cursor read and edit Kadence Blocks pages on a live WordPress site, block by block. With Respira every edit lands on a copy first, and you can undo it for 90 days.
7 days free. No card. Runs on the AI subscription you already have.
- Support
- Full
- Kadence Blocks tools
- Core set
- Latest release touching it
- 9.3.1
- Releases touching it
- 30
Respira is an independent MCP server. Not affiliated with, endorsed by, or sponsored by StellarWP or Kadence WP.
What works today. What still needs you.
Read from the current MCP server release, first-class reads and writes across the builder structure.
Works now
- Kadence Blocks is detected on the site, and a page counts as a Kadence page when it holds at least one
kadence/*block. A page with none is treated as plain Gutenberg. - The blocks Kadence registers on your site (
kadence/rowlayout,kadence/advancedheading,kadence/advancedbtnand the rest) are listed from the block registry, so the agent is only told block names the site has. - Block tree reads with
respira_read_pagereturn the block structure, and per-element writes viarespira_find_element+respira_update_elementkeep attributes and inner blocks. - Blocks you did not ask to change are written back byte for byte. Kadence keeps the only copy of some block markup in the saved content, so Respira never re-serialises an untouched block.
- New elements are Kadence blocks (plugin 9.2.7) when the agent passes builder "kadence" to
respira_build_page,respira_inject_builder_contentor an add_* tool, or when the page already holds Kadence blocks: sections, rows and columns becomekadence/rowlayoutandkadence/column, headings and styled textkadence/advancedheading, buttonskadence/advancedbtn, and images, icons, spacers, dividers, icon lists, accordions and tabs their Kadence blocks, with the markup, ids and attributes Kadence's own editor saves. - Tested on WordPress 7.1 with Kadence Blocks 3.8.0: every block written opens in the block editor without an "unexpected or invalid content" warning, and adding to a page leaves the existing content byte for byte.
- Changing the text of a Kadence block with
respira_update_elementputs the new text inside the block's own markup, so the block stays valid in the editor. - Every write is render-checked: the saved markup is parsed the way WordPress parses it and each block is rendered in process. The result names any broken block, with the
snapshot_uuidthat undoes the write.
Where a human still steps in
- A plain paragraph is written as a core paragraph, as Kadence's own editor does. A type Kadence has no block for, such as a video, falls back to a core block, named in a
library_core_fallbackwarning. On a new page with no builder named, elements are core blocks, and the answer names the builder value to pass. - Exhale, the HTML to page conversion, still writes core blocks on a Kadence site.
- There are no Kadence-specific tools: Kadence pages run on the block editor tools and the universal page tools. Kadence settings that live outside the post content, such as the theme customizer, global palette and typography, are not written through them.
- Kadence Pro dynamic content and conditional display rules are read as attributes; changing them is a job for the Kadence editor.
- An attribute an agent sets by hand on an existing block can still disagree with what Kadence's editor expects. Respira's render check does not catch that, and the editor shows a validation prompt the next time a person opens the page.
Hit one of these and the snapshot gives you a clean way back.
Kadence Blocks runs on the universal tools.
Find, update, move and remove elements, build whole pages, snapshot and roll back. Reads return the builder structure and writes keep it intact.
Three prompts you can paste right now.
Each one assumes Respira is connected to a Kadence Blocks site. Paste it into your AI tool and run.
-
Build a section in Kadence blocks
On a copy of the page "Services", add a Kadence row with two columns: a heading and a short paragraph on the left, a button to /contact on the right. Use builder "kadence" and tell me which elements were written as Kadence blocks. -
Change a button across the site
Find every Kadence advanced button whose text is "Book a call" across published pages. Change the text to "Book a free call" and keep everything else. Snapshot each page first. -
Tighten the headings on one page
On the page "Services", list every Kadence advanced heading with its level. Make sure there is exactly one H1 and no H3 appears before an H2. Make the changes on a copy.
More recipes, per builder, in the Prompt Book.
Connect a Kadence Blocks site in two minutes.
Pick your client and paste. The site URL and key come from your dashboard's MCP setup page, or from Respira › Settings › API keys & MCP in wp-admin (New key). Node.js 20 or newer for the local server.
Claude Code
claude mcp add respira-wordpress --env WORDPRESS_URL=https://yoursite.com --env WORDPRESS_API_KEY=respira_your_api_key_here -- npx -y @respira/wordpress-mcp-server@latest Put in your own site URL and key, run it, then check with /mcp. Every site at once: pass --env RESPIRA_CONFIG_B64=… from your setup page instead of the two values. The full Claude Code guide covers the first edit and undo.
Claude Desktop and Cursor
{
"mcpServers": {
"respira-wordpress": {
"command": "npx",
"args": ["-y", "@respira/wordpress-mcp-server@latest"],
"env": {
"WORDPRESS_URL": "https://yoursite.com",
"WORDPRESS_API_KEY": "respira_your_api_key_here"
}
}
}
} - Claude Desktop, macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Desktop, Windows:
%APPDATA%\Claude\claude_desktop_config.json - Cursor:
.cursor/mcp.jsonin your project
The file is claude_desktop_config.json, not config.json. Every site at once: replace the two env values with RESPIRA_CONFIG_B64 from your setup page.
Codex
codex mcp add respira-my-site --url https://yoursite.com/wp-json/respira/v1/mcp
codex mcp login respira-my-site Run them one at a time. The second opens your browser to sign in to Respira; no key goes in the config. By hand, in ~/.codex/config.toml, then run the login command:
[mcp_servers.respira-my-site]
url = "https://yoursite.com/wp-json/respira/v1/mcp" Browser sign-in, no key
https://yoursite.com/wp-json/respira/v1/mcp Claude Desktop, claude.ai, ChatGPT and Cursor: add a custom connector, paste your site's MCP URL, leave Client ID and Client Secret blank, and approve the sign-in on respira.press. One connector per site.
Any other client
npx add-mcp "npx -y @respira/wordpress-mcp-server@latest" Detects Claude Code, Cursor, Codex, Windsurf and more, and writes the config. Set WORDPRESS_URL and WORDPRESS_API_KEY afterwards.
Common errors
- The server does not show up in /mcp, or the client says it failed to start.
- Cause Node.js is older than 20, or the site URL and key are missing.
- Fix Run
npx @respira/wordpress-mcp-server --doctorin the same shell. It names the missing setting, a bad URL or a refused key.node -vmust print 20 or newer. - ENOENT errors that mention
/_npx/ornode_modules. - Cause The npx cache is damaged, often by an interrupted install.
- Fix Run
rm -rf ~/.npm/_npxand restart the client. Or install once withnpm install -g @respira/wordpress-mcp-serverand userespira-wordpress-mcpas the command. - The browser sign-in opens a "Page not found" on
yoursite.com/authorize. - Cause A Client ID was filled in on the connector, usually the
respira_site_key. - Fix Remove the connector and add it again with the MCP URL only. Leave Client ID and Client Secret blank. Sign-in happens on respira.press, never on your site.
- The MCP address returns 404.
- Cause WordPress is on plain permalinks, so
/wp-json/addresses do not resolve. - Fix In wp-admin open Settings › Permalinks, choose Post name and save once.
- Calls fail with 401, 403, or HTML where JSON belongs.
- Cause A firewall, a bot filter or a challenge page answers before WordPress does, or the host strips the Authorization header.
- Fix Open Respira › Troubleshoot in wp-admin. It runs the checks from the site's own server, names what is in the way and writes a report for your host.
- The agent says it saved, and the live Kadence Blocks page looks the same.
- Cause The edit is on a draft duplicate, waiting for your approval. That is the default on a published page.
- Fix Approve the duplicate in wp-admin under Respira, or from its preview page. Until then the live page stays as it was.
Still stuck? Troubleshooting in the docs, or write to word@respira.press with the first error line.
What changed for Kadence Blocks lately.
The last 5 releases that mention Kadence Blocks, filtered from the same changelog the releases page reads.
-
- Template conditions on Elementor Pro, Brizy Pro, GeneratePress Premium, Kadence Pro, Thrive, Blocksy Pro and SeedProd Pro answer plainly that they are not supported.
-
- Template conditions (plugin 9.3.1+): wordpress_get_template_conditions and wordpress_set_template_conditions read and set where a site template applies, in the same plain words on every builder with the builder's own value beside them.
-
- Kadence Blocks, Spectra, GenerateBlocks and GreenShift pages get their own blocks. Until now, a new element on a block library site was a WordPress core block: ask for a Kadence row with two columns and you got a core group and core columns, with none of Kadence's controls.
- A generic section on a Beaver Builder page shows its content. The shape agents send to every builder, a section holding a heading and text, was saved on Beaver with "section" and "text" as module names. Beaver has neither, so the page showed nothing but its title while the write said success.
- Editing the text of a library block keeps the block. Changing the text of a Kadence Advanced Heading, a Spectra button or another block library block with update_element saved the bare text in place of the block's markup, so the editor flagged it as invalid and the page lost its styling.
-
- Agents are told that Spectra, Kadence Blocks, GenerateBlocks and GreenShift write their own blocks. The block library guidance, the native_generation note in respira_get_builder_info and build_page's builder parameter now say that passing builder "kadence", "spectra", "generateblocks" or "greenshift", or writing to a page that already has the library's blocks, writes the library's blocks, and that anything a library has no block for comes back as a core block in a library_core_fallback warning.
-
- WPBakery pages with many addon elements can be read and edited again. On a WPBakery site running The7 with Ultimate VC Addons, Revolution Slider, Go Pricing and WooCommerce, every builder tool failed: finding an element, reading the page's structure, duplicating it, and every edit, even a one word change on a small draft.
Questions people ask about Kadence Blocks and MCP.
Does Respira write Kadence blocks or core blocks?
Kadence blocks, since plugin 9.2.7, when the agent passes builder "kadence" or the page already uses Kadence: rows and columns, advanced headings, buttons, images, icons, spacers, icon lists, accordions and tabs. A plain paragraph stays a core paragraph, a video is a core embed, and anything else without a Kadence block is a core block that the answer names.
Is there an MCP server for Kadence Blocks?
Yes. Respira is an independent MCP server that reads and writes Kadence Blocks in its own format, with first-class reads and writes across the builder structure. It is not made by the Kadence Blocks team.
Which tools does it use for Kadence Blocks?
Kadence Blocks runs through the universal tools: find, update, move and remove elements, build pages, snapshot and roll back. Reads return the builder structure, and writes keep it.
What happens when the agent gets an edit wrong?
Nothing on the live page. The agent edits a copy first, you approve it inside WordPress, and every write is snapshotted with 90 days of undo.
Do I need a developer or a terminal?
No. Sign in with your browser from Claude, ChatGPT or Cursor and approve the connection once. Coding tools get a one-line command.
Does it work with a Kadence Blocks site that also runs WooCommerce?
Yes. The WooCommerce add-on adds 104 store tools on the same connection, with the same duplicate-first approval flow.
The other builders, same server.
Start with one site. Free for 7 days.
Maker is €9 a month after the trial. No card for the trial, and it runs on the AI plan you already have, so there is no extra AI bill.