Skip to content

Divi 5 MCP tools

Available in EMCP 3.17.0. The Divi 5 integration covers three distinct jobs: page composition, Theme Builder templates and theme configuration. EMCP Pro exposes native module schemas and document trees for page work, plus dedicated tools for assignments and curated option updates.

  1. Check installed versions. Divi 5.13.x. EMCP Pro is required.
  2. Enable the integration. Open EMCP Tools > Page Builders and select this standalone builder. Gutenberg and enabled block packs remain available.
  3. Connect and inspect. Reconnect your MCP client, read context and schemas, and enable the write tools needed for the task. Start with a draft and inspect the native editor.

Create reusable library layouts or header, body and footer layouts for the Theme Builder. Inspect condition choices before assigning a template, and keep matching focused on the intended pages. Theme Options have their own schema and concurrency hash, so a page edit does not require replacing global configuration.

Read module controls, Theme Builder templates and supported Theme Options.

Edit page content or create a scoped header, body or footer layout and assignment.

Read back page and template state, then check the Divi editor and frontend.

All names use the emcp-tools/ namespace. Read the live input schema for optional fields, enums, limits and confirmation requirements; this table lists required inputs only.

ToolAccessPurposeRequired inputs
divi-get-contextReadRead Divi version, permissions, scope and storage contract. Start here.None
divi-list-elementsReadDiscover installed native modules and authoring support.None
divi-get-element-schemaReadRead installed module attributes, native defaults and allowed parents.type
divi-list-pagesReadList accessible pages and their builder state.None
divi-get-pageReadRead a page, library item or Theme Builder layout as a native tree and content_hash.post_id
divi-create-pageWriteCreate an empty Divi 5 draft page.title
divi-set-page-treeWriteReplace a Divi 5 tree with a current expected_hash; preserves status and creates a revision.post_id, expected_hash, tree
divi-add-elementWriteAdd a native module to a parent; read its schema first.post_id, expected_hash, parent_id, type
divi-update-elementWriteMerge attribute groups, replacing arrays; preserves unrelated attributes.post_id, expected_hash, element_id, properties
divi-move-elementWriteMove a module with descendants; refuses cycles and invalid nesting.post_id, expected_hash, element_id, parent_id
divi-remove-elementWriteRemove a module and its descendants.post_id, expected_hash, element_id
divi-list-libraryReadList accessible local Divi library layouts.None
divi-create-library-layoutWriteCreate an unattached native library layout; edit with page tools.title
divi-get-design-systemReadRead native global colors, variables, presets and breakpoint settings.None
divi-get-theme-optionsReadRead native option schema and safe values. Credentials and executable fields are redacted.None
divi-update-theme-optionsWriteApply validated partial settings, preserving unrelated options; expected_hash is settings_hash.expected_hash, settings
divi-get-theme-builderReadRead native templates, header/body/footer references, assignments and theme_builder_hash.None
divi-list-template-conditionsReadDiscover native assignment rules, including parameterized post/term conditions.None
divi-create-theme-layoutWriteCreate an unattached header, body or footer layout; edit with page tools.title, kind
divi-create-templateWriteCreate a disabled non-default template; attach layouts and assignments explicitly before enabling.expected_hash, title
divi-update-templateWritePartially update title, layout references, enabled state and use_on/exclude_from conditions using native storage.expected_hash, template_id, settings
divi-remove-templateWriteDetach and trash one non-default template; shared layout posts are preserved.expected_hash, template_id, confirm

Create a Divi 5 landing-page draft and a footer layout assigned only to that page. Inspect existing templates first and preserve the default header and assignments.

Read current state before editing and re-read after each save. If a hash is stale, inspect the changed document before rebuilding the request. A successful save is not proof of correct visual output: inspect the native editor and frontend.

  • Requires EMCP Pro and the supported active Divi 5 theme. Divi 4 shortcode layouts are not converted.
  • Theme-management operations require the relevant capabilities and current hashes.
  • Executable fields, credentials, payments, external-action forms and shared-instance modules are excluded from writes. Global presets are discovery-only.

If tools are missing, check versions, dependencies, integration selection, tool switches and user capabilities. Reconnect long-lived MCP clients after plugin updates or selection changes. If output differs after saving, inspect the native document and styles before retrying; do not bypass the adapter with direct metadata writes.

See the Divi 5 integration overview, builder setup guide and agent skills.