@diviops/mcp-server 1.5.74 → 1.5.75
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 +22 -3
- package/dist/index.js +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,26 @@ The Node.js MCP server inside the DiviOps harness. It gives Claude Code, Codex,
|
|
|
8
8
|
Claude Code <-> MCP Server (stdio) <-> WordPress REST API <-> DiviOps Agent plugin
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## MCP 1.5.
|
|
11
|
+
## MCP 1.5.75 source candidate
|
|
12
|
+
|
|
13
|
+
Adds explicit tool hints for seven existing onboarding tools. Block validation,
|
|
14
|
+
page and layout reads, variable listing and preset auditing are marked read-only.
|
|
15
|
+
Page creation is additive but mutating, including when publishing is requested;
|
|
16
|
+
trash is destructive, including permanent deletion. Existing idempotency hints,
|
|
17
|
+
inputs, handlers and capability checks are unchanged. Dry-run inputs do not
|
|
18
|
+
reclassify a write tool as read-only.
|
|
19
|
+
|
|
20
|
+
Hints describe tool behavior; they do not grant permission or guarantee that a
|
|
21
|
+
client will run without approval. No tool is added and no provider version gate
|
|
22
|
+
is changed. The planned onboarding bundle pairs this candidate with Free Agent
|
|
23
|
+
**1.5.48** and public builder companion **1.4.14**, without introducing a shared
|
|
24
|
+
version floor. Reconnect after a supported MCP update to refresh its tool catalog.
|
|
25
|
+
|
|
26
|
+
Packaging and client verification remain separate from publication. Earlier
|
|
27
|
+
Codex verification used MCP 1.5.74 with explicit tool permissions; it does not
|
|
28
|
+
qualify this candidate or default client approval behavior.
|
|
29
|
+
|
|
30
|
+
## MCP 1.5.74 historical release note
|
|
12
31
|
|
|
13
32
|
Adds the Free `diviops_seo_storage_inspect` tool for four literal Rank Math
|
|
14
33
|
storage keys on one editable page. Pair with Free Agent **1.5.47**, then
|
|
@@ -25,8 +44,8 @@ SCF and TSF behavior is unchanged; Pro is optional and unchanged.
|
|
|
25
44
|
|
|
26
45
|
The merged inspector passed bounded native checks with Rank Math 1.0.280 on
|
|
27
46
|
WordPress 7.1, PHP 8.3.35 and Divi 5.13.1. That feature result does not qualify
|
|
28
|
-
arbitrary future versions
|
|
29
|
-
|
|
47
|
+
arbitrary future versions. Feature verification, exact-package qualification
|
|
48
|
+
and publication are separate evidence.
|
|
30
49
|
|
|
31
50
|
## MCP 1.5.73 historical release note
|
|
32
51
|
|
package/dist/index.js
CHANGED
|
@@ -595,7 +595,7 @@ registerPluginTool("diviops_page_get", {
|
|
|
595
595
|
offset: z.number().int().min(0).max(Number.MAX_SAFE_INTEGER).optional().describe("Byte offset for bounded mode; defaults to zero. Use the returned next_offset."),
|
|
596
596
|
expected_checksum: z.string().regex(/^sha256:[a-f0-9]{64}$/).optional().describe("Required for nonzero bounded offsets; the exact initial full-page content_checksum."),
|
|
597
597
|
},
|
|
598
|
-
annotations: { idempotentHint: true },
|
|
598
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
599
599
|
_meta: { idempotent: "true" },
|
|
600
600
|
}, async ({ page_id, bounded, offset, expected_checksum }) => {
|
|
601
601
|
if (bounded || offset !== undefined || expected_checksum !== undefined) {
|
|
@@ -638,7 +638,7 @@ registerPluginTool("diviops_page_get_layout", {
|
|
|
638
638
|
.default(false)
|
|
639
639
|
.describe("Include full block attrs and raw content (default: false for slim mode)"),
|
|
640
640
|
},
|
|
641
|
-
annotations: { idempotentHint: true },
|
|
641
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
642
642
|
_meta: { idempotent: "true" },
|
|
643
643
|
}, async ({ page_id, full }) => {
|
|
644
644
|
const result = await wp.requestEnveloped(`/page/get-layout/${page_id}`, {
|
|
@@ -1559,7 +1559,7 @@ registerPluginTool("diviops_validate_blocks", {
|
|
|
1559
1559
|
.optional()
|
|
1560
1560
|
.describe("WordPress post/page ID to read post_content from the DB. Requires edit_post capability on the page. Provide exactly one of {content, page_id}."),
|
|
1561
1561
|
},
|
|
1562
|
-
annotations: { idempotentHint: true },
|
|
1562
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
1563
1563
|
_meta: { idempotent: "true" },
|
|
1564
1564
|
}, async ({ content, page_id }) => {
|
|
1565
1565
|
if (page_id !== undefined) {
|
|
@@ -2042,7 +2042,7 @@ registerPluginTool("diviops_page_create", {
|
|
|
2042
2042
|
.describe("Post status"),
|
|
2043
2043
|
dry_run: DRY_RUN_FIELD,
|
|
2044
2044
|
},
|
|
2045
|
-
annotations: { idempotentHint: false },
|
|
2045
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false },
|
|
2046
2046
|
_meta: { idempotent: "false" },
|
|
2047
2047
|
}, async ({ title, content, status, dry_run }) => {
|
|
2048
2048
|
const isolationGate = writerIsolationErrorResult("diviops_page_create", {
|
|
@@ -2075,7 +2075,7 @@ registerPluginTool("diviops_page_trash", {
|
|
|
2075
2075
|
.default(false)
|
|
2076
2076
|
.describe("When true, return the change plan without mutating state."),
|
|
2077
2077
|
},
|
|
2078
|
-
annotations: { idempotentHint: true },
|
|
2078
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true },
|
|
2079
2079
|
_meta: { idempotent: "true" },
|
|
2080
2080
|
}, async ({ post_id, force, dry_run }) => {
|
|
2081
2081
|
const result = await wp.requestEnveloped(`/page/trash/${post_id}`, {
|
|
@@ -2130,7 +2130,7 @@ registerPluginTool("diviops_page_update_status", {
|
|
|
2130
2130
|
// ── Preset Tools ────────────────────────────────────────────────────
|
|
2131
2131
|
registerPluginTool("diviops_preset_audit", {
|
|
2132
2132
|
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 — module presets via top-level `groupPresets.<slot>.presetId`, group presets via `attrs.groupPreset.<slot>.presetId`), 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). Also reports `orphan_default_pointers`: per-bucket `default` pointers that reference a UUID no longer present in `items[]` (caused by past unsafe deletes). Render-safe but blocks Divi's lazy recreate-on-VB-use path; clear via diviops_preset_set_default with unset=true on the affected module/group. Returns the standardized envelope { ok, data?, error: { code, message, hint? } }.",
|
|
2133
|
-
annotations: { idempotentHint: true },
|
|
2133
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
2134
2134
|
_meta: { idempotent: "true" },
|
|
2135
2135
|
}, async () => {
|
|
2136
2136
|
const result = await wp.requestEnveloped("/preset/audit");
|
|
@@ -3918,7 +3918,7 @@ registerPluginTool("diviops_variable_list", {
|
|
|
3918
3918
|
.optional()
|
|
3919
3919
|
.describe('Filter by stored ID prefix only. Does not match labels; for semantic names such as "oa-*" labels, list by type and filter returned labels client-side.'),
|
|
3920
3920
|
},
|
|
3921
|
-
annotations: { idempotentHint: true },
|
|
3921
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
3922
3922
|
_meta: { idempotent: "true" },
|
|
3923
3923
|
}, async (args, context) => {
|
|
3924
3924
|
const { type, prefix } = args;
|