Divi MCP server, with undo on every edit.
A Divi MCP server lets Claude, ChatGPT or Cursor read and edit Divi 4 and Divi 5 pages on a live WordPress site. 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
- Divi tools
- Core set
- Latest release touching it
- 9.1.32
- Releases touching it
- 173
Respira is an independent MCP server. Not affiliated with, endorsed by, or sponsored by Elegant Themes, Inc. Divi is a trademark of Elegant Themes, Inc.
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
- Divi 5 block-based layouts (
divi/*blocks) read and write through native block tools. - Divi 4 shortcode pages: parser walks
post_content,_et_pb_page_layout,_et_pb_layout_content,_et_pb_page_content, four meta sources for maximum compatibility. - 60+ Divi 5 module schemas (sections, rows, columns, text, image, button, heading, blurb, contact forms, dozens more).
- 13-point payload validation: context checks, nesting rules, flexColumnStructure counts, variable references, 16 common mistake patterns caught BEFORE write.
- Auto-wraps bare modules in Section → Row → Column so the Visual Builder never sees invalid nesting.
- Color tokens map to Divi 5's native
et_global_colorsoption. Typography / spacing / breakpoints use Respira-managed options (respira_divi_typography_variables, etc) since Divi has no native equivalents. - Divi Migrator (Divi's own D4→D5 converter) is detected and surfaced through the Migration Copilot at /divi-5-migration-copilot.
- Divi 5 writes are native by default. Every agent write to a Divi 5 page (build_page, inject_builder_content, update_element, update_module, batch_update, apply_builder_patch and the add_* shortcuts) takes
allow_inline_stylesandallow_code_modules, both false unless you say otherwise. A style Divi 5 has a design setting for is written as that attribute, whether it arrives as a settings key, a CSS name or astyle=""on the module's wrapper: text transform, italic, underline, border width, style and colour, opacity, height, z-index, overflow and more. A style with no native place is not written and comes back asunmapped_styles, one entry per style with the element, the property, the value and the reason. A write that adds a divi/code module is refused and names the native module to use. What a page already stores is left as it is, and Divi 4 is unchanged.
Where a human still steps in
- Respira does NOT convert Divi 4 to Divi 5 on its own. Use Divi's native Migrator; Respira helps plan and validate.
- A colour on part of a sentence, a
block in a text module, or a CSS variable other than a Divi global colour has no native Divi 5 setting. By default it is reported inunmapped_stylesrather than written inline;allow_inline_styles: truewrites it the way earlier releases did. - Divi 4 shortcode pages with deeply nested third-party shortcodes can lose attributes on round-trip. Run a duplicate first.
- Theme Builder global layouts (header, footer, body) are read-only in the current release; per-page edits work normally.
Hit one of these and the snapshot gives you a clean way back.
Divi 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 Divi site. Paste it into your AI tool and run.
-
Sync color palette across pages
Read the Divi 5 global color palette. Find every page where a heading uses a custom hex color instead of a palette reference. Suggest the closest palette entry for each and show me the list before changing anything. -
Update CTAs on Divi 4 landing pages
For every Divi 4 page in the "/offers/" path, find the et_pb_button shortcodes and replace the button text "Buy now" with "Start free trial". Snapshot each page first. -
Migrate a single Divi 4 page to Divi 5
Run the Migration Copilot dry-run for the page slug "pricing". Report what would convert cleanly, what needs review, and what would fail.
More recipes, per builder, in the Prompt Book.
Connect a Divi site in two minutes.
Chat apps sign in with the browser. Coding tools take one command. Anything else takes the config below.
One command
Detects Claude Code, Cursor, Codex, Windsurf and more, and writes the config.
npx add-mcp "npx -y @respira/wordpress-mcp-server@latest" Or paste the config
Get the site URL and key from your setup page.
{
"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 on macOS reads
claude_desktop_config.json, notconfig.json. - Prefer no terminal at all? Sign in with your browser from Claude, ChatGPT or Cursor.
What changed for Divi lately.
The last 5 releases that mention Divi, filtered from the same changelog the releases page reads.
-
- Additional CSS changes now show on Divi. Divi writes the Customizer's
-
- Exhale restyle on Divi 4 writes Divi 4 attributes. The style map was
- The Divi 4 emitter refuses a Divi 5 attribute path. A dotted path, or
- A converted row's columns keep their settings on Divi 4. The columns'
-
- respira_purge_cache's description says it also clears Divi's static CSS
-
- Divi 4 sites are no longer taken for Divi 5. The check asked whether the
-
- Exhale fidelity mode now lands on Divi 4. Before, a Divi 4 site rejected
- The Divi 5 Visual Builder opens at full size on a converted page. On a
- A Divi 4 image's link is written as the link. On a Divi 4 site,
Questions people ask about Divi and MCP.
Is there an MCP server for Divi?
Yes. Respira is an independent MCP server that reads and writes Divi in its own format, with first-class reads and writes across the builder structure. It is not made by the Divi team.
Which tools does it use for Divi?
Divi 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 Divi 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.
Looking for the Divi overview, with visuals and the conversion story? Divi features
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.