Skip to content

Visual Composer MCP tools

Available in EMCP 3.17.0. Visual Composer Website Builder stores its editable graph separately from frontend HTML. EMCP Pro treats those as a pair: a staged document needs native elements plus matching rendered HTML and page CSS. Changing the graph alone is not a complete page update.

  1. Check installed versions. Visual Composer Website Builder 45.16.2 through 45.16.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.

Installed schemas are read from local builder bundles. Tools cover drafts, complete document staging, local library discovery, recovery, discard and explicit publication. The authoring contract does not compile arbitrary React elements on the PHP server.

Read installed schemas and existing editable and rendered artifacts.

Prepare a native graph with matching wrappers and page CSS.

Check a native editor save and frontend responsive styles before publication.

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
visual-composer-get-contextReadRead installed version, native access and optional feature availability.None
visual-composer-list-elementsReadDiscover installed elements without downloading Hub assets.None
visual-composer-get-element-schemaReadRead the installed element attribute schema and native defaults.tag
visual-composer-list-pagesReadList accessible native pages.None
visual-composer-get-pageReadRead native published content, staged document, editor URL and current hash.post_id
visual-composer-create-pageWriteCreate an empty native draft page.title
visual-composer-stage-documentWriteStage paired native elements, rendered HTML and page CSS. All three artifacts are required. Does not change the live page. Read the skill and schemas first.post_id, expected_hash, elements, html, css
visual-composer-get-page-stylesReadRead staged and published page CSS.post_id
visual-composer-get-design-settingsReadRead global custom CSS. Global settings remain read-only.None
visual-composer-list-libraryReadList accessible local templates and available optional theme documents.None
visual-composer-get-library-itemReadRead an accessible local template or optional theme document.post_id
visual-composer-apply-templateWriteCopy a local custom template and its rendered artifacts into a draft. Hub downloads and linked/global templates are not changed.post_id, expected_hash, template_id
visual-composer-list-revisionsReadRead the latest ten staged document snapshots.post_id
visual-composer-restore-revisionWriteRestore a complete paired document snapshot into staging.post_id, expected_hash, revision_id
visual-composer-discard-draftWriteDiscard EMCP staging and retain the native published document.post_id, expected_hash, confirm
visual-composer-publish-pageWritePublish the staged element document, HTML and CSS together. Requires confirmation and native publication permission.post_id, expected_hash, confirm

Inspect this Visual Composer draft and prepare a matching native graph, HTML and CSS. Stage the document and verify the native editor before publication.

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 supported Visual Composer Website Builder. This is separate from WPBakery.
  • Native data and rendered HTML/CSS must match; arbitrary server-side element rendering is not provided.
  • Global design writes, remote Hub downloads, linked template edits and optional Theme Builder assignments are excluded.

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 Visual Composer integration overview, builder setup guide and agent skills.