[ [ DOCS · DIVISKIT AGENT ] ]
Diviskit Agent —
documentation.
The REST bridge between your AI client and Divi 5: setup, MCP configuration, tool overview and answers to common questions — as of plugin version 1.7.4.
v1.7.4 · WP ≥ 6.5 · PHP ≥ 8.0 · DIVI 5 · GPL-2.0
01
Setup & client config
The MCP server runs inside your AI client (separately via npm: @diviskit/mcp-server) and connects to the plugin with a WordPress Application Password. The dashboard shows components and status — it is not a chat interface and not proof of an active MCP connection.
- 01Install Diviskit Agent (Plugins → Add New or ZIP upload) and activate — Divi 5 must be active.
- 02Create an Application Password: Users → Profile → Application Passwords, or via WP-CLI:
ddev wp user application-password create admin diviskit-mcp --porcelain
- 03Configure the MCP server in your AI client — site URL, WordPress username and Application Password:
{
"mcpServers": {
"diviskit-mcp": {
"command": "npx",
"args": ["-y", "--package", "@diviskit/mcp-server", "diviskit-mcp"],
"env": {
"WP_URL": "https://example.com",
"WP_USER": "admin",
"WP_APP_PASSWORD": "<application-password>"
}
}
}
}
- 04Verify the handshake —
POST /wp-json/diviskit/v1/handshakemust return"compatible": true:
curl -s -X POST "https://example.com/wp-json/diviskit/v1/handshake" \
-u "user:<application-password>" \
-H "Content-Type: application/json" \
-d '{"mcp_server_version":"1.1.0"}'
# -> { "compatible": true, "capabilities": { ... } }
- 05Install the authoring skills: the plugin ships
bin/install-skills.sh(downloadable from the Diviskit dashboard or atwp-content/plugins/diviskit-agent/bin/) for Devin, Codex, Claude Code, Cursor or a custom directory. Then restart the client and ask the agent to inspect site capabilities.
curl -fsSL -o install-skills.sh \ "https://example.com/wp-content/plugins/diviskit-agent/bin/install-skills.sh" chmod +x install-skills.sh ./install-skills.sh --client devin --scope project # oder: codex | claude | cursor | generic --target <dir>
02
Tools & capabilities
Every response follows the envelope { ok, data } or { ok:false, error:{ code, message, hint } }. Available operations depend on installed versions, WordPress permissions and the capability handshake.
PAGES
Pages & content
diviskit_page_* — list, get, get_layout, create, update_content, update_meta, update_status, trash.diviskit_module_* — get, update, move, clone, lock/unlock.diviskit_section_* — append, get, replace, remove.
DESIGN
Design system
diviskit_preset_* — create, update, delete, audit, cleanup, inspect, reassign, set_default, registry_doctor.diviskit_variable_* — create, list, delete, create_fluid_system, scan_orphans, used_on_page.diviskit_global_color_* · diviskit_global_font_*
LAYOUT
Theme Builder & library
diviskit_tb_template_* · diviskit_tb_layout_*diviskit_template_* · diviskit_library_*diviskit_canvas_* · diviskit_menu_*
CHECK
Validation & diagnostics
diviskit_validate_blocks — catches known silent failures before writes.diviskit_render_preview · diviskit_schema_* — module schema & attribute paths.diviskit_meta_* — info, ping, find_icon, flush_cache, wp_cli.diviskit_rollback_snapshot_* — list, get, delete, restore.
SEO
SEO (The SEO Framework)
diviskit_seo_provider_list · diviskit_seo_metadata_get · diviskit_seo_metadata_update
The agent drives the installed plugin (5.1.4+) — it does not ship its own SEO engine.
PRO
Pro & add-ons
diviskit_scf_* — Secure Custom Fields (basic, Free).diviskit_vk_* — Vendokit commerce (Pro).
The capability handshake reports what the connected site actually supports.
03
Permissions & security
All endpoints require Application Password authentication. On top of that, the WordPress capability model applies:
READ
edit_posts
Read endpoints: pages, layouts, presets, variables, snapshots, schema.
WRITE
edit_pages
Write endpoints: content updates, modules, sections, Theme Builder layouts.
ADMIN
manage_options
Administrative surfaces: preset and variable management. Content creation and status changes additionally require the mapped create/publish capabilities of the post type.
Never share secrets.
Application Passwords, license keys and tokens belong only in your local MCP config or environment variables — never in issues, docs examples, screenshots or repository files.
04
FAQ & troubleshooting
Does it work with Codex or Claude?
Yes. The Diviskit MCP server connects compatible clients — Codex, Claude Code, Claude Desktop, Devin and others — to this plugin. Client configuration and client access are separate from the WordPress plugin.
Does the plugin work without the MCP server?
You can install the plugin and inspect its dashboard independently, but the AI workflow requires the separately installed MCP server and a compatible AI client.
Do I need Divi?
Yes — Diviskit Agent targets Divi 5. Authenticated requests return a divi_unavailable error when Divi is not active.
Can I keep editing the result in the Visual Builder?
Yes. Native Divi modules remain editable in the Visual Builder. Review your agent's output on staging — including responsive layouts — before publishing.
Is every MCP tool included in the Free plugin?
No. Free includes the core site-authoring bridge; selected workflows (e.g. Vendokit commerce) require separate Pro components. The MCP server checks the capability handshake.
How do I refresh the Divi module schema after a Divi update?
Divi updates can change module attribute paths. The schema dump lives at GET /wp-json/diviskit/v1/schema/module/dump-all with a schema_version fingerprint. The dashboard (Diviskit Agent → Schema dump) shows the live fingerprint and the refresh command update_skills.sh.
