@diviops/mcp-server 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Claude Code <-> MCP Server (stdio) <-> WordPress REST API <-> Divi MCP Plugin
|
|
|
17
17
|
|
|
18
18
|
### 1. Install the WordPress Plugin
|
|
19
19
|
|
|
20
|
-
Download and activate the **DiviOps Agent** plugin
|
|
20
|
+
Download and activate the **DiviOps Agent** plugin — [direct zip](https://github.com/oaris-dev/diviops/raw/main/diviops-agent.zip) or browse the [public distribution repo](https://github.com/oaris-dev/diviops).
|
|
21
21
|
|
|
22
22
|
### 2. Create an Application Password
|
|
23
23
|
|
|
@@ -110,7 +110,7 @@ The server connects via standard WordPress REST API and works with any environme
|
|
|
110
110
|
| `diviops_find_icon` | Search 1,989 icons by keyword (FA + Divi) |
|
|
111
111
|
| `diviops_list_templates` | List available MCP prompt templates |
|
|
112
112
|
| `diviops_get_template` | Get a specific template's block markup |
|
|
113
|
-
| `diviops_preset_audit` | Audit presets with referenced/unreferenced analysis |
|
|
113
|
+
| `diviops_preset_audit` | Audit presets with referenced/unreferenced analysis. Walks both page content and in-registry `groupPresets` chains; exposes `block_ref_count`, `group_ref_count`, `referenced_by_presets` |
|
|
114
114
|
| `diviops_preset_scan_orphans` | List page-referenced preset UUIDs missing from the D5 registry (separates dangling orphans from D4-legacy refs) |
|
|
115
115
|
| `diviops_list_library` | List saved Divi Library items |
|
|
116
116
|
| `diviops_get_library_item` | Get a library item's block markup |
|
package/dist/index.js
CHANGED
|
@@ -564,7 +564,7 @@ server.registerTool("diviops_create_page", {
|
|
|
564
564
|
});
|
|
565
565
|
// ── Preset Tools ────────────────────────────────────────────────────
|
|
566
566
|
server.registerTool("diviops_preset_audit", {
|
|
567
|
-
description: "Audit all Divi module
|
|
567
|
+
description: "Audit all Divi presets (module + group). Each entry reports `block_ref_count` (page-content refs via modulePreset / groupPreset block markup), `group_ref_count` (in-registry chain refs from other presets via attrs.groupPresets), and `referenced` (true if either > 0). Group presets that are chain-referenced also expose `referenced_by_presets` (UUIDs of the presets that wire them in — typically module presets, but type-agnostic). Use this before deleting — orphan-cleanup based only on page refs would silently wipe load-bearing chain-wired group presets (font, border, box-shadow, spacing, button).",
|
|
568
568
|
}, async () => {
|
|
569
569
|
const result = await wp.request("/preset-audit");
|
|
570
570
|
return {
|