@diviops/mcp-server 1.5.77 → 1.5.79
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 +30 -499
- package/dist/index.js +13 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,415 +1,26 @@
|
|
|
1
1
|
# DiviOps MCP Server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
DiviOps connects an MCP client on your computer to the DiviOps Agent plugin on a WordPress site you manage. You can list pages, inspect presets and edit native Divi modules.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Choose a connection guide for [Claude Code](https://github.com/oaris-dev/diviops/blob/main/SETUP.md#claude-code), [Codex CLI (terminal)](https://github.com/oaris-dev/diviops/blob/main/SETUP.md#codex) or [Claude Desktop](https://github.com/oaris-dev/diviops/blob/main/SETUP.md#claude-desktop-json).
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
Claude Code <-> MCP Server (stdio) <-> WordPress REST API <-> DiviOps Agent plugin
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## MCP 1.5.77 release note
|
|
12
|
-
|
|
13
|
-
Use `diviops_component_slot_preview` with DiviOps Agent 1.5.51 on Divi 5.19.1 to inspect a saved component Slot. Supply the page ID, shared definition ID, Slot ID and, when needed, the one-based instance index. The result identifies the owners of the shell and its ordered immediate children and includes checksums for both saved records. Reconnect the MCP client after updating to refresh its tool list.
|
|
14
|
-
|
|
15
|
-
## MCP 1.5.76 historical release note
|
|
16
|
-
|
|
17
|
-
Adds optional `expected_checksum` to module and Theme Builder layout updates.
|
|
18
|
-
Pair with Free Agent **1.5.50** and reconnect to refresh capability evidence.
|
|
19
|
-
MCP refuses guarded requests before dispatch when the required Agent capability
|
|
20
|
-
is absent. Omitting the checksum retains the legacy contract. This is optimistic compare-before-write, not an
|
|
21
|
-
atomic lock. A concurrent edit after the final comparison can still race.
|
|
22
|
-
Existing permissions, validation, backup, recovery and client qualification
|
|
23
|
-
limits remain unchanged. Publication and installation are separate steps.
|
|
24
|
-
|
|
25
|
-
## MCP 1.5.75 historical release note
|
|
26
|
-
|
|
27
|
-
Adds explicit tool hints for seven existing onboarding tools. Block validation,
|
|
28
|
-
page and layout reads, variable listing and preset auditing are marked read-only.
|
|
29
|
-
Page creation is additive but mutating, including when publishing is requested;
|
|
30
|
-
trash is destructive, including permanent deletion. Existing idempotency hints,
|
|
31
|
-
inputs, handlers and capability checks are unchanged. Dry-run inputs do not
|
|
32
|
-
reclassify a write tool as read-only.
|
|
33
|
-
|
|
34
|
-
Hints describe tool behavior; they do not grant permission or guarantee that a
|
|
35
|
-
client will run without approval. No tool is added and no provider version gate
|
|
36
|
-
is changed. The planned onboarding bundle pairs this candidate with Free Agent
|
|
37
|
-
**1.5.48** and public builder companion **1.4.14**, without introducing a shared
|
|
38
|
-
version floor. Reconnect after a supported MCP update to refresh its tool catalog.
|
|
39
|
-
|
|
40
|
-
Packaging and client verification remain separate from publication. Earlier
|
|
41
|
-
Codex verification used MCP 1.5.74 with explicit tool permissions; it does not
|
|
42
|
-
qualify this candidate or default client approval behavior.
|
|
43
|
-
|
|
44
|
-
## MCP 1.5.74 historical release note
|
|
45
|
-
|
|
46
|
-
Adds the Free `diviops_seo_storage_inspect` tool for four literal Rank Math
|
|
47
|
-
storage keys on one editable page. Pair with Free Agent **1.5.47**, then
|
|
48
|
-
restart/reconnect the MCP client to refresh startup capability evidence.
|
|
49
|
-
An older Free Agent returns `capability_missing` without a storage request;
|
|
50
|
-
reconnecting an older MCP binary does not add the new tool.
|
|
51
|
-
|
|
52
|
-
Inspection is permission-checked and bounded. Missing and empty values remain
|
|
53
|
-
distinct; serialized values remain untrusted text, not computed SEO, inherited
|
|
54
|
-
defaults, a write plan or evidence that an interrupted write is safe to retry.
|
|
55
|
-
Existing semantic reads, previews, writes and recovery retain their exact-version
|
|
56
|
-
gates. No automatic fallback, override or global version-floor change is added.
|
|
57
|
-
SCF and TSF behavior is unchanged; Pro is optional and unchanged.
|
|
58
|
-
|
|
59
|
-
The merged inspector passed bounded native checks with Rank Math 1.0.280 on
|
|
60
|
-
WordPress 7.1, PHP 8.3.35 and Divi 5.13.1. That feature result does not qualify
|
|
61
|
-
arbitrary future versions. Feature verification, exact-package qualification
|
|
62
|
-
and publication are separate evidence.
|
|
63
|
-
|
|
64
|
-
## MCP 1.5.73 historical release note
|
|
65
|
-
|
|
66
|
-
Aligned Rank Math and SCF tool descriptions with the reviewed exact version sets.
|
|
67
|
-
Free 1.5.45 improved provider diagnostics; Pro 1.0.19-beta extended its reviewed
|
|
68
|
-
Rank Math controller support. Those releases added no MCP tools or schemas.
|
|
69
|
-
Compatibility remains capability-based; component labels alone do not establish
|
|
70
|
-
installed support.
|
|
71
|
-
|
|
72
|
-
## 1.5.72 historical release note
|
|
73
|
-
|
|
74
|
-
Adds five capability-gated Pro SEO text workflow tools: plan, advance, status/report, recovery plan and recover. Existing Free SEO tools gain bounded operation correlation and exact outcome lookup. Pair with Free 1.5.43 and Pro 1.0.18-beta for the complete reviewed workflow; availability follows capabilities, not a shared version floor.
|
|
75
|
-
|
|
76
|
-
Each advance affects at most one explicit page. After an interrupted request, read status before deciding whether to advance again; do not automatically retry. Single-page authoring and recovery remain Free. Restart or reconnect the MCP client after supported component updates to refresh discovery. Candidate packaging and publication remain separate.
|
|
77
|
-
|
|
78
|
-
## 1.5.68 release note — named site-wide CSS blocks
|
|
79
|
-
|
|
80
|
-
With Free Agent 1.5.39, `diviops_custom_css_get`, `diviops_custom_css_upsert`
|
|
81
|
-
and `diviops_custom_css_restore` read, preview, update and restore named blocks
|
|
82
|
-
in the active theme's native Custom CSS. Writes default to preview and require
|
|
83
|
-
an explicit apply with a fresh checksum. Unrelated CSS and theme options are
|
|
84
|
-
preserved; writes retain a seven-day recovery snapshot.
|
|
85
|
-
|
|
86
|
-
Initialize or reconcile storage through **Divi > Theme Options > General >
|
|
87
|
-
Custom CSS**, save visibly, then read again before applying. Missing or divergent
|
|
88
|
-
native storage is refused. A Customizer save can leave Divi's legacy mirror out
|
|
89
|
-
of sync; the tools do not repair it automatically. CSS support is a bounded
|
|
90
|
-
subset, and changing themes requires a fresh read. Check state after a cancelled
|
|
91
|
-
or failed write before retrying; use the CSS-specific restore tool for recovery.
|
|
92
|
-
|
|
93
|
-
Native editing, frontend rendering, recovery and child-theme isolation were
|
|
94
|
-
verified on WordPress 7.1, PHP 8.3 and Divi 5.13.1. Update both components and
|
|
95
|
-
restart the MCP server.
|
|
96
|
-
|
|
97
|
-
## 1.5.67 release note — WP-CLI term metadata and assignments
|
|
98
|
-
|
|
99
|
-
`term meta list <term-id> --format=json` is available as a default read alongside
|
|
100
|
-
`term meta get`. Term-meta `set`/`update` and post-term `add`/`set`/`remove` require
|
|
101
|
-
individual opt-ins through `DIVIOPS_WP_CLI_ALLOW`; they remain denied by default.
|
|
102
|
-
For example, `DIVIOPS_WP_CLI_ALLOW="term meta update,post term add"` enables only
|
|
103
|
-
those additional commands. Restart the MCP server after changing configuration.
|
|
104
|
-
Existing `*`/`all` configurations acquire the expanded extended set on update.
|
|
105
|
-
|
|
106
|
-
WP-CLI passthrough has no `dry_run`, checksum protection or automatic rollback.
|
|
107
|
-
Read current values before writing and check state before retrying a timed-out
|
|
108
|
-
write. See [WP-CLI security](../docs/wp-cli-security.md) for command tiers.
|
|
109
|
-
|
|
110
|
-
## 1.5.66 release note
|
|
111
|
-
|
|
112
|
-
Cancellation now reaches pending HTTP requests for page listing, variable listing
|
|
113
|
-
and creation, cache flushing, and Theme Builder template trash or preview.
|
|
114
|
-
Cancelling a dispatched write does not prove that WordPress stopped or rolled it
|
|
115
|
-
back; check the resulting state before retrying. This correction does not
|
|
116
|
-
establish the cause of the separately reported four-minute client timeouts.
|
|
117
|
-
|
|
118
|
-
WP-CLI rejection messages now identify the full opt-in command, such as
|
|
119
|
-
`post meta delete`. Existing permissions and opt-in guidance are preserved.
|
|
120
|
-
|
|
121
|
-
Update and restart the MCP server. These corrections require no Free Agent update;
|
|
122
|
-
Free Agent remains 1.5.38 and public builder remains 1.4.11.
|
|
123
|
-
|
|
124
|
-
## Previous 1.5.65 release note
|
|
125
|
-
|
|
126
|
-
Variable scans now report incompatible legacy non-color IDs, whether they are defined, and their known page/preset references. Scan coverage and truncation are explicit. Existing orphan and unused classifications are unchanged. Native page-usage detection is not proof of successful frontend rendering.
|
|
127
|
-
|
|
128
|
-
Existing mixed-case or underscore IDs still need reviewed replacement variables and reference updates. No variable is renamed or deleted automatically; zero known references does not establish that deletion is safe.
|
|
129
|
-
|
|
130
|
-
Pair with Free Agent 1.5.38. Public builder remains 1.4.11.
|
|
131
|
-
|
|
132
|
-
## Previous 1.5.64 release note
|
|
133
|
-
|
|
134
|
-
Adds `diviops_page_settings_get` and `diviops_page_settings_update` with Free
|
|
135
|
-
Agent 1.5.37. Read and update page-wide Content Area and Section backgrounds on ordinary Divi pages. Supports previews, literal colors, transparency and clearing to native defaults, with checksum checks and preservation of unrelated page data. Explicit per-section backgrounds remain intact.
|
|
136
|
-
|
|
137
|
-
Verified on WordPress 7.1, PHP 8.3 and Divi 5.13.1, including native settings
|
|
138
|
-
save/reopen and frontend rendering. Public builder and compatibility floors are unchanged.
|
|
139
|
-
|
|
140
|
-
## Previous 1.5.63 release note
|
|
141
|
-
|
|
142
|
-
With Free Agent 1.5.36, runtime schema discovery accepts registered third-party
|
|
143
|
-
Divi modules and routes their namespaced identifiers without dropping the
|
|
144
|
-
namespace. The Free plugin also supports their module read/update/move and
|
|
145
|
-
Theme Builder block insertion. Native short identifiers remain supported;
|
|
146
|
-
unrelated WordPress blocks are refused and the native schema dump is unchanged.
|
|
147
|
-
|
|
148
|
-
Update both components for the complete correction. Native checks covered
|
|
149
|
-
FluentCart Store Logo, not every extension or version. Public builder remains
|
|
150
|
-
1.4.11. Dependencies and compatibility floors are unchanged.
|
|
151
|
-
|
|
152
|
-
## Previous 1.5.62 release note
|
|
7
|
+
## Quick start
|
|
153
8
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
the result explicitly reports native-theme fallback; invalid inheritance is
|
|
158
|
-
refused before changes. Existing templates are not automatically repaired.
|
|
9
|
+
1. On a WordPress 6.5+ site running Divi 5.1+, activate the free [DiviOps Agent plugin](https://wordpress.org/plugins/diviops-agent/). A [manual plugin ZIP](https://github.com/oaris-dev/diviops/raw/main/diviops-agent.zip) is also available.
|
|
10
|
+
2. In **Users → Profile → Application Passwords**, create a password for your WordPress editor account. Use HTTPS for a remote site.
|
|
11
|
+
3. On the computer running your client, use Node.js 22+ and configure the stdio command below. Set `WP_URL`, `WP_USER` and `WP_APP_PASSWORD` in the client’s private configuration as shown in its connection guide.
|
|
159
12
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
Dependencies and compatibility floors are unchanged.
|
|
13
|
+
```sh
|
|
14
|
+
npx -y --package @diviops/mcp-server diviops-mcp
|
|
15
|
+
```
|
|
164
16
|
|
|
165
|
-
|
|
17
|
+
4. Confirm `WP_URL` points to your intended site and reconnect the client. Ask **“Use `diviops_page_list` to list up to five pages with their IDs and titles.”** A successful read returns the pages your account can inspect. The list can be empty.
|
|
166
18
|
|
|
167
|
-
|
|
168
|
-
preserve layouts referenced by another template. Preview excludes them from
|
|
169
|
-
destructive changes, and both preview and apply report `preserved_layouts`.
|
|
170
|
-
Failed reference checks stop before changes. Unshared cleanup is unchanged.
|
|
19
|
+
Before your first write, follow the [connection check](https://github.com/oaris-dev/diviops/blob/main/SETUP.md#step-5-test-connection) and confirm the target URL matches the site you intend to edit. If you use a known page to check the site, compare its full permalink.
|
|
171
20
|
|
|
172
|
-
|
|
173
|
-
matching tool guidance. Public builder remains 1.4.11. Dependencies and
|
|
174
|
-
compatibility floors are unchanged.
|
|
21
|
+
For native page authoring, load the separate `diviops-divi-5` skill in your client, then verify your first draft on a staging or disposable site. [First-run native Divi verification](https://github.com/oaris-dev/diviops/blob/main/SETUP.md#first-run-native-divi-verification)
|
|
175
22
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
When WP-CLI is configured, `diviops_meta_info` now includes `wp_cli.ignored`:
|
|
179
|
-
the unique, trimmed entries from `DIVIOPS_WP_CLI_ALLOW` that were not recognized
|
|
180
|
-
at startup. Clients can inspect these alongside `allowed` and `extendable`
|
|
181
|
-
even when startup warnings are hidden. Command permissions and matching are
|
|
182
|
-
unchanged. Restart the MCP server after changing the environment configuration.
|
|
183
|
-
|
|
184
|
-
The MCP SDK dependency now requires v1.31.0 or later within v1, incorporating
|
|
185
|
-
its OAuth client credential-routing fix. This package uses the SDK server/stdio
|
|
186
|
-
path. Free remains 1.5.30, public builder remains 1.4.11, and compatibility floors
|
|
187
|
-
are unchanged.
|
|
188
|
-
|
|
189
|
-
## Previous 1.5.59 release note
|
|
190
|
-
|
|
191
|
-
Adds two default WP-CLI reads: `option pluck <option> <key-path>...` for a nested
|
|
192
|
-
option value, and `term meta get <term-id> <key>` for a term-meta field. Existing
|
|
193
|
-
write permissions are unchanged. Restart the MCP client connection after updating
|
|
194
|
-
to refresh the effective command list.
|
|
195
|
-
|
|
196
|
-
Public builder companion 1.4.11 corrects admin-label examples to use
|
|
197
|
-
`module.meta.adminLabel.desktop.value`. Updating npm does not update independently
|
|
198
|
-
installed skills or instructions already read by an agent. Free remains 1.5.30;
|
|
199
|
-
dependencies and compatibility floors are unchanged.
|
|
200
|
-
|
|
201
|
-
## Previous 1.5.58 release note
|
|
202
|
-
|
|
203
|
-
With Free 1.5.30, module preset create/update accepts `group_presets` for native
|
|
204
|
-
root composition, and inspection exposes stored links. The supplied map replaces
|
|
205
|
-
the entire root map; omission preserves links and `{}` clears them. Slot/group
|
|
206
|
-
buckets and existing references are validated, including dry-run. Composition
|
|
207
|
-
requires `preset_composition_v1`; older or unverified plugins refuse it before
|
|
208
|
-
dispatch. Keep `groupPresets` out of `attrs`. Update both components and restart
|
|
209
|
-
the MCP client connection to refresh capabilities.
|
|
210
|
-
|
|
211
|
-
Public builder companion 1.4.10 and Free validation warnings ask for explicit
|
|
212
|
-
heading levels according to document hierarchy, without changing typography or
|
|
213
|
-
warning detection. Updating npm or WordPress does not update independently
|
|
214
|
-
installed skills or instructions already read by an agent.
|
|
215
|
-
|
|
216
|
-
Free 1.5.30, MCP 1.5.58 and public builder 1.4.10 were delivered together.
|
|
217
|
-
Dependencies and compatibility floors were unchanged.
|
|
218
|
-
|
|
219
|
-
## Previous 1.5.57 candidate release note
|
|
220
|
-
|
|
221
|
-
Forwards `diviops_module_update` request cancellation to HTTP dispatch and pending
|
|
222
|
-
response-body reads. This does not establish the cause or resolution of the
|
|
223
|
-
reported four-minute hang. After dispatch, the WordPress write outcome remains
|
|
224
|
-
unknown: cancellation does not verify no changes, a stopped write or rollback.
|
|
225
|
-
Do not automatically retry; inspect readback and existing rollback evidence
|
|
226
|
-
before deciding any later action.
|
|
227
|
-
|
|
228
|
-
Corrects WP-CLI rejection hints to match actual extended opt-in commands.
|
|
229
|
-
Command permissions, allowlists and opt-in requirements are unchanged.
|
|
230
|
-
|
|
231
|
-
Separately prepared Free 1.5.29 generates lowercase IDs for new non-color design
|
|
232
|
-
variables and refuses invalid supplied IDs without silently renaming them.
|
|
233
|
-
Existing IDs and references are not migrated or repaired. Additional module-write
|
|
234
|
-
regression coverage is tests only, not a new serialization fix.
|
|
235
|
-
|
|
236
|
-
Delivered baseline: Free 1.5.28, MCP 1.5.56 and public builder companion 1.4.9.
|
|
237
|
-
Builder content is unchanged, so its version remains 1.4.9. This is source review,
|
|
238
|
-
not exact-package qualification, runtime acceptance or publication. A narrow
|
|
239
|
-
dependency correction pins `proxy-addr` to patched `2.0.8` after the original
|
|
240
|
-
qualification audit failed. Tool schemas, compatibility floors, Pro, Design
|
|
241
|
-
Library, paid skills, primer and launcher remain unchanged. Fresh package
|
|
242
|
-
qualification and hosted validation are authorized but pending; merge remains
|
|
243
|
-
gated on corrected-head review and all applicable checks.
|
|
244
|
-
|
|
245
|
-
## Previous 1.5.56 candidate release note
|
|
246
|
-
|
|
247
|
-
Aligns shipped setup documentation and attribute-reference citations with the
|
|
248
|
-
renamed `diviops-divi-5` skill. Updates three pinned production dependencies to
|
|
249
|
-
address reported advisories: `fast-uri` 3.1.8, `hono` 4.13.7 and `ip-address`
|
|
250
|
-
10.7.1. No DiviOps tool implementation, schema or compatibility-floor change
|
|
251
|
-
is included. Dependency advisories do not establish exploitability in DiviOps.
|
|
252
|
-
|
|
253
|
-
Separately prepared Free 1.5.28 corrects explicit-index targeting of canonical
|
|
254
|
-
empty native Text modules and marks incomplete Inspector consumer reads as
|
|
255
|
-
unavailable. These plugin corrections do not require a new MCP capability or
|
|
256
|
-
raise the minimum MCP version.
|
|
257
|
-
|
|
258
|
-
Public builder companion 1.4.9 preserves existing Free/Pro guidance boundaries
|
|
259
|
-
and carries the renamed skill and preset typography ownership guidance. The
|
|
260
|
-
marketplace plugin identifier remains `divi-5-builder`; it is not the skill name.
|
|
261
|
-
Existing SCF/FluentCart guidance may still link to the old skill directory.
|
|
262
|
-
Keep that working installation until matching companion guidance is available,
|
|
263
|
-
or use an explicitly reviewed link-only migration. Do not leave two discoverable
|
|
264
|
-
builder copies or overwrite local edits. Updating npm or WordPress does not
|
|
265
|
-
update independently installed skills or refresh already-read instructions.
|
|
266
|
-
|
|
267
|
-
This is source preparation, not exact-package qualification, runtime acceptance
|
|
268
|
-
or public delivery. Pro, Design Library and paid-skill delivery remain separate.
|
|
269
|
-
|
|
270
|
-
## Previous 1.5.55 candidate release note
|
|
271
|
-
|
|
272
|
-
With Free 1.5.27, preset deletion supports real dry-run previews and guarded
|
|
273
|
-
`preset_ids` exact-set apply through `preset_delete_exact_v1`. Review the preview
|
|
274
|
-
and pass its registry checksum on apply; bounded reference checks run again.
|
|
275
|
-
Defaults, references and incomplete evidence refuse even with force. Legacy
|
|
276
|
-
single-ID deletion retains its default-only guard, without reference checks.
|
|
277
|
-
MCP refuses new safety parameters on old or capability-unverified handlers.
|
|
278
|
-
These checks are point-in-time, not a transaction or automatic rollback.
|
|
279
|
-
|
|
280
|
-
Native Code content strings may contain literal pseudo-escapes; shared validation
|
|
281
|
-
and write serialization checks still require valid JSON and block delimiters.
|
|
282
|
-
Free 1.5.27 also fixes uncached reads/readback of valid empty page content.
|
|
283
|
-
|
|
284
|
-
`diviops_page_update_content` can retain a successful reviewed dry-run using
|
|
285
|
-
`retain_content:true`; apply with `content_ref` instead of resending `content`,
|
|
286
|
-
keeping the same target, expected checksum and backup intent. References are
|
|
287
|
-
memory-only, MCP-process-local and one-use, expire five minutes from reservation,
|
|
288
|
-
and are limited to eight candidates, 2 MiB each and 8 MiB total. They are consumed
|
|
289
|
-
before apply checks/dispatch, even on failed or uncertain apply: inspect the
|
|
290
|
-
target and review a new dry-run instead of automatically retrying. Existing write
|
|
291
|
-
checks still run. Retention is not approval, a backup, cross-client isolation or
|
|
292
|
-
a reduction in content sent from MCP to WordPress. Direct-content calls remain.
|
|
293
|
-
|
|
294
|
-
Public builder companion 1.4.8 carries exact-ID deletion and retained-content
|
|
295
|
-
guidance, stable native FAQ wrapper sizing, and source-qualified Divi 5.13.1
|
|
296
|
-
generated guidance. Dependencies and compatibility floors are unchanged.
|
|
297
|
-
This is source preparation only: local source evidence does not qualify these
|
|
298
|
-
packages or establish that staging has the fixes. Package validation, runtime
|
|
299
|
-
adoption and publication require separate authorization.
|
|
300
|
-
|
|
301
|
-
## Previous 1.5.54 candidate release note
|
|
302
|
-
|
|
303
|
-
Adds optional `bounded:true` to `diviops_page_get` for UTF-8-safe raw content
|
|
304
|
-
chunks of at most 4096 bytes, with a full-page checksum and byte-offset
|
|
305
|
-
continuation. Start at offset zero, then pass each `next_offset` and the initial
|
|
306
|
-
`expected_checksum` until `complete:true`. Content drift refuses continuation;
|
|
307
|
-
discard collected chunks and restart. Free 1.5.26 supplies the precise
|
|
308
|
-
`page_get_bounded_utf8_v1` capability; unsupported older plugins are refused
|
|
309
|
-
before any page fetch, without an unbounded fallback. Reconnect after supported
|
|
310
|
-
plugin updates to refresh the capability handshake.
|
|
311
|
-
|
|
312
|
-
Default reads, authentication, permissions, writes, dependencies and global
|
|
313
|
-
compatibility floors are unchanged. Each chunk request still reads and hashes
|
|
314
|
-
the full upstream content. Bounded responses are not memory-bounded streaming,
|
|
315
|
-
a snapshot service or a universal client-delivery guarantee. This is source
|
|
316
|
-
candidate preparation, not new-package qualification or publication.
|
|
317
|
-
|
|
318
|
-
Independent public builder companion 1.4.7 carries three pending references:
|
|
319
|
-
targeted inspection and checksum-bound continuation in `tools.md`, a native CTA
|
|
320
|
-
preset-ownership example in `presets.md`, and opt-in native image-reveal guidance
|
|
321
|
-
in `design-effects.md`. The image-reveal runtime is already delivered separately
|
|
322
|
-
in Design Library 1.0.0-beta.24; this preparation does not re-release Design.
|
|
323
|
-
|
|
324
|
-
## Previous 1.5.53 candidate release note
|
|
325
|
-
|
|
326
|
-
The only MCP change is an inspector tool-description clarification: direct variable
|
|
327
|
-
references and partial coverage are now explicit. No new tools or input-schema,
|
|
328
|
-
runtime, dependency or compatibility-floor changes are included. This is source
|
|
329
|
-
candidate preparation, not package validation or publication.
|
|
330
|
-
|
|
331
|
-
Independent builder companion 1.4.6 carries already-merged guidance for native
|
|
332
|
-
megamenu authoring, explicit local override/null semantics and implicit group defaults.
|
|
333
|
-
|
|
334
|
-
## Previous 1.5.52 candidate release note
|
|
335
|
-
|
|
336
|
-
Adds `diviops_scf_text_value_update` for basic Free authoring of one existing
|
|
337
|
-
applicable top-level SCF 6.9.4 text field. It previews by default, requires exact
|
|
338
|
-
expected text, validates the field and verifies persisted value/reference after
|
|
339
|
-
one provider update. Free 1.5.23 supplies the capability-gated REST handler;
|
|
340
|
-
older plugins refuse before dispatch. No Pro or WP-CLI dependency is added.
|
|
341
|
-
Existing Divi bindings/design are not authored by this operation. Expected-state
|
|
342
|
-
checks are not atomic CAS, SCF snapshot rollback or full native-form equivalence.
|
|
343
|
-
|
|
344
|
-
SCF member 1.2 carries the writer's scope, failure handling and bounded local MCP
|
|
345
|
-
proof, distinct from historical native-editor evidence. That proof used temporary
|
|
346
|
-
Free 1.5.22/MCP 1.5.51, not this candidate pair. The feature remains a source
|
|
347
|
-
candidate until separately validated and published; restart MCP after supported
|
|
348
|
-
updates to refresh capabilities. No dependencies or global compatibility floors change.
|
|
349
|
-
|
|
350
|
-
Builder companion 1.4.5 carries the accepted Divi 5.13 source-derived schema
|
|
351
|
-
references, Contact Form Show Labels and Map-height ownership guidance, and
|
|
352
|
-
preset custom-ID precedence: use classes in reusable presets and unique
|
|
353
|
-
module-local custom-ID rows, not the separate CSS-ID field as an override.
|
|
354
|
-
It also carries native-portability guidance for importer/file handoffs, explicit
|
|
355
|
-
preset references versus effective defaults, empty-array resets and saved-state
|
|
356
|
-
readback. These are bounded guidance changes, not automatic preset repair,
|
|
357
|
-
cross-version import fidelity or blanket native-save compatibility. The builder
|
|
358
|
-
package version is independent of the SCF member version.
|
|
359
|
-
|
|
360
|
-
## Previous 1.5.51 candidate release note
|
|
361
|
-
|
|
362
|
-
Adds `diviops_managed_recovery_plan_check` and
|
|
363
|
-
`diviops_managed_recovery_restore_apply` for an opt-in, reviewed one-site
|
|
364
|
-
recovery workflow. Plan and apply dry-run do not capture or restore; confirmed
|
|
365
|
-
apply delegates to the shared Free protection service. An exact completed
|
|
366
|
-
request replay returns the prior result without another restore, capture or
|
|
367
|
-
audit append. Inspect the separate recovery, readback and audit evidence rather
|
|
368
|
-
than inferring success from request completion.
|
|
369
|
-
|
|
370
|
-
The two tools require the active Pro managed-recovery target and
|
|
371
|
-
`managed_recovery_plan_v1`. Older compatible Free/Pro pairs retain the existing
|
|
372
|
-
policy, retention and audit tools; basic snapshot inspection and guarded undo
|
|
373
|
-
remain Free. Restart MCP after supported updates to refresh its capability
|
|
374
|
-
handshake. No dependency, transport, global version floor or restore UI change
|
|
375
|
-
is included. Candidate validation and publication are still separate steps.
|
|
376
|
-
|
|
377
|
-
## Previous 1.5.50 candidate release note
|
|
378
|
-
|
|
379
|
-
Clarifies that the existing status tool targets standard WordPress Posts and
|
|
380
|
-
Pages, not custom post types or attachments. Free Agent 1.5.20 corrects the
|
|
381
|
-
endpoint's rejection of standard Posts while preserving edit and applicable
|
|
382
|
-
publish permissions before dry-run plans and no-op responses. Existing request
|
|
383
|
-
shapes and scheduling rules are unchanged; no Pro update is required.
|
|
384
|
-
|
|
385
|
-
## Previous 1.5.49 candidate release note
|
|
386
|
-
|
|
387
|
-
- Adds bounded staff-body source/target evidence and preflight, plus guarded Pro
|
|
388
|
-
apply dispatch to one existing isolated target body. Target records supply
|
|
389
|
-
their own title, portrait, biography and plain-text role; records, fields and
|
|
390
|
-
assignments are not created or changed. General body migration and arbitrary
|
|
391
|
-
CPT/field mapping remain unsupported.
|
|
392
|
-
- Forwards an optional create-only product `slug` independently of SKU when Pro
|
|
393
|
-
advertises `fluentcart_product_create_slug`. Omission retains the existing
|
|
394
|
-
create workflow. Dry-run reports intent without reserving a URL; read stored
|
|
395
|
-
`product.slug` after creation and later publication. Changed product titles
|
|
396
|
-
still regenerate slugs; no slug update, URL preservation or redirects are added.
|
|
397
|
-
|
|
398
|
-
Selected source metadata is MCP `1.5.49`, Free `1.5.18`, Pro `1.0.14-beta` and
|
|
399
|
-
FluentCart skill `0.14`. Staff-body evidence requires Free's
|
|
400
|
-
`cross_env_staff_body_evidence`; apply also requires Pro's
|
|
401
|
-
`cross_env_staff_body_apply` and existing Pro/module gates. Component versions
|
|
402
|
-
remain independent: Free's minimum MCP requirement and Pro's existing Free
|
|
403
|
-
floor are unchanged. Restart MCP after supported updates to refresh capabilities.
|
|
404
|
-
|
|
405
|
-
This is source-only candidate preparation, not publication or packaged proof.
|
|
406
|
-
The prior bounded staff-body technical proof passed, but user visual acceptance
|
|
407
|
-
remains pending; no Visual Builder save or executed rollback was tested. That
|
|
408
|
-
proof does not qualify FluentCart creation or live WordPress slug collisions.
|
|
409
|
-
New-package inventories, build, production-only startup and runtime qualification
|
|
410
|
-
remain separate validation work. SCF `1.1`, builder, Free primer, Design and
|
|
411
|
-
launcher are unchanged; modern health remains default-disabled and repository-only,
|
|
412
|
-
and the setup prototype remains uninstalled and unqualified.
|
|
23
|
+
The published end-to-end authoring check covers one run with Codex CLI 0.160.1, MCP server 1.5.74, a manually installed skill and explicit tool permissions. [Client verification details](https://github.com/oaris-dev/diviops/releases/tag/v1.5.91)
|
|
413
24
|
|
|
414
25
|
## Use cases
|
|
415
26
|
|
|
@@ -440,102 +51,6 @@ predate that experiment and did not require browser attestation or receipts.
|
|
|
440
51
|
Source behavior is not a claim that current npm, WordPress.org or manually
|
|
441
52
|
installed packages include the migration.
|
|
442
53
|
|
|
443
|
-
## Quick start
|
|
444
|
-
|
|
445
|
-
The first three steps prove connectivity. Native Divi authoring additionally
|
|
446
|
-
requires the client-side skill and first-run verification in steps 4 and 5.
|
|
447
|
-
|
|
448
|
-
### 1. Install the WordPress plugin
|
|
449
|
-
|
|
450
|
-
Download and activate the **DiviOps Agent** plugin from WordPress.org once it is listed there. For pre-listing test packages or a manual fallback install, use the [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). Requires Divi 5.1+ on WordPress 6.5+.
|
|
451
|
-
|
|
452
|
-
The npm MCP server updates through npm. WordPress.org installs of the Free plugin update through the normal WordPress plugin update flow. For pre-listing test packages or a manual fallback install, replace `diviops-agent.zip` through **WP Admin → Plugins → Add New → Upload Plugin** and choose **Replace current with uploaded**.
|
|
453
|
-
|
|
454
|
-
### 2. Create an Application Password
|
|
455
|
-
|
|
456
|
-
In **WP Admin → Users → Your Profile → Application Passwords**:
|
|
457
|
-
- Enter a name (e.g. "MCP Server")
|
|
458
|
-
- Click "Add New Application Password"
|
|
459
|
-
- Copy the generated password and strip the spaces
|
|
460
|
-
|
|
461
|
-
### 3. Register the MCP server
|
|
462
|
-
|
|
463
|
-
The successor server line requires Node.js 22 or newer. Upgrade Node before
|
|
464
|
-
selecting `@diviops/mcp-server@1.5.40` or a later release. Operators who must
|
|
465
|
-
remain on Node 18 can pin the previously shipped compatible server explicitly:
|
|
466
|
-
|
|
467
|
-
```bash
|
|
468
|
-
npx -y --package=@diviops/mcp-server@1.5.39 diviops-mcp
|
|
469
|
-
```
|
|
470
|
-
|
|
471
|
-
That pin affects only the MCP server. Free and Pro WordPress plugin versions
|
|
472
|
-
use independent version series and remain compatible through the advertised
|
|
473
|
-
per-capability handshake. Direct npm/stdio and MCP v1 remain supported on the
|
|
474
|
-
Node 22 successor; MCP v2 fixtures and the launcher sidecar are not published.
|
|
475
|
-
|
|
476
|
-
Claude Code:
|
|
477
|
-
|
|
478
|
-
```bash
|
|
479
|
-
claude mcp add diviops-mcp \
|
|
480
|
-
--env WP_URL=http://your-site.local \
|
|
481
|
-
--env WP_USER=your-wp-username \
|
|
482
|
-
--env WP_APP_PASSWORD=xxxxXXXXxxxxXXXXxxxxXXXX \
|
|
483
|
-
-- npx -y --package @diviops/mcp-server diviops-mcp
|
|
484
|
-
```
|
|
485
|
-
|
|
486
|
-
Codex `~/.codex/config.toml`:
|
|
487
|
-
|
|
488
|
-
```toml
|
|
489
|
-
[mcp_servers.diviops-mcp]
|
|
490
|
-
command = "npx"
|
|
491
|
-
args = ["-y", "--package", "@diviops/mcp-server", "diviops-mcp"]
|
|
492
|
-
|
|
493
|
-
[mcp_servers.diviops-mcp.env]
|
|
494
|
-
WP_URL = "http://your-site.local"
|
|
495
|
-
WP_USER = "your-wp-username"
|
|
496
|
-
WP_APP_PASSWORD = "xxxxXXXXxxxxXXXXxxxxXXXX"
|
|
497
|
-
```
|
|
498
|
-
|
|
499
|
-
Then ask your AI client: **"List the pages on my site."** It calls
|
|
500
|
-
`diviops_page_list` and renders the result. This proves the plugin and MCP transport;
|
|
501
|
-
it does not prove that the client has loaded Divi authoring knowledge.
|
|
502
|
-
|
|
503
|
-
For Claude Desktop JSON, use `"command": "npx"` with args `["-y", "--package", "@diviops/mcp-server", "diviops-mcp"]`. The package also ships `diviops-preset`, so the explicit package/bin form is required; shorthand package invocation cannot reliably infer which bin to run.
|
|
504
|
-
|
|
505
|
-
The public npm package exposes exactly three supported CLIs:
|
|
506
|
-
`diviops-mcp`, `diviops-preset`, and `diviops-cross-env-preflight`. The
|
|
507
|
-
launcher-managed MCP sidecar is a separate future artifact identity; it is not
|
|
508
|
-
a public npm bin or part of the npm tarball. Repository launcher development
|
|
509
|
-
builds and supplies that private entrypoint explicitly. This boundary does not
|
|
510
|
-
change direct npm/stdio support.
|
|
511
|
-
|
|
512
|
-
For a deeper walkthrough (containerized environments, WP-CLI configuration, troubleshooting installation), see [setup-guide.md](../docs/setup-guide.md).
|
|
513
|
-
|
|
514
|
-
### 4. Load the `diviops-divi-5` skill
|
|
515
|
-
|
|
516
|
-
Install it for Claude Code by running
|
|
517
|
-
`claude plugin marketplace add oaris-dev/diviops` and then
|
|
518
|
-
`claude plugin install divi-5-builder@diviops`, or copy the distribution's
|
|
519
|
-
`skills/*` into the supported skill directory for Codex/manual setups. WordPress
|
|
520
|
-
and npm updates do not update manual skill copies. Avoid simultaneous
|
|
521
|
-
plugin-managed and stale manual copies, then restart the client and confirm
|
|
522
|
-
`diviops-divi-5` is visible. The plugin package keeps its historical
|
|
523
|
-
`divi-5-builder` identifier for update continuity; that is not the skill name.
|
|
524
|
-
For an existing installation, use the
|
|
525
|
-
[selected-root replacement procedure](../docs/setup-guide.md) before copying:
|
|
526
|
-
inventory both `divi-5-builder` and `diviops-divi-5` roots, preserve local edits
|
|
527
|
-
and rollback outside discovery roots, and retire only the confirmed old copy.
|
|
528
|
-
Unknown ownership or modified copies require review; do not add a discoverable
|
|
529
|
-
old-name alias. Disk freshness alone does not establish loaded-session freshness.
|
|
530
|
-
|
|
531
|
-
### 5. Prove native module authoring
|
|
532
|
-
|
|
533
|
-
Run the disposable, fail-closed
|
|
534
|
-
[native Divi verification](../docs/setup-guide.md#first-run-native-divi-verification).
|
|
535
|
-
Stop if the skill or required tools are unavailable. Do not accept page-sized HTML,
|
|
536
|
-
Code modules, iframe layouts, or structural HTML in text/container fields as a
|
|
537
|
-
fallback for editable native Divi modules.
|
|
538
|
-
|
|
539
54
|
## Example workflow
|
|
540
55
|
|
|
541
56
|
> **You:** Create a hero section on a new page called "Spring Launch" with a heading, subheading, and a CTA button. Use my brand colors.
|
|
@@ -553,7 +68,7 @@ The skill enforces the Divi block format, the design system, and the response co
|
|
|
553
68
|
|
|
554
69
|
## Tools at a glance
|
|
555
70
|
|
|
556
|
-
The server exposes **
|
|
71
|
+
The server exposes **102 always-on tools** across the categories below. Each category links to representative tools; the full table lives in [server-reference.md](../docs/server-reference.md).
|
|
557
72
|
|
|
558
73
|
| Category | Use case | Tool prefixes |
|
|
559
74
|
|----------|----------|---------------|
|
|
@@ -993,6 +508,22 @@ Common quick fixes — full reference in [troubleshooting.md](../docs/troublesho
|
|
|
993
508
|
- Divi 5 theme active
|
|
994
509
|
- DiviOps Agent WordPress plugin installed and active
|
|
995
510
|
|
|
511
|
+
## Release history
|
|
512
|
+
|
|
513
|
+
- For published server versions, run `npm view @diviops/mcp-server versions --json`. [npm registry metadata](https://registry.npmjs.org/@diviops%2fmcp-server)
|
|
514
|
+
- For plugin and skill updates shipped alongside the server, see the [public distribution releases](https://github.com/oaris-dev/diviops/releases).
|
|
515
|
+
- The [archive through MCP 1.5.77](https://github.com/oaris-dev/diviops/blob/v1.5.95/diviops-server/README.md#mcp-1577-release-note) preserves the original version notes and their qualification limits. The 1.5.67 note refers to the [WP-CLI command tiers](https://github.com/oaris-dev/diviops/blob/main/SETUP.md#wp-cli-security).
|
|
516
|
+
|
|
517
|
+
### MCP 1.5.79 release note
|
|
518
|
+
|
|
519
|
+
The package page now opens with client setup guides and a first connection check that lists up to five page IDs and titles. Existing installations need no configuration change.
|
|
520
|
+
|
|
521
|
+
### MCP 1.5.78 release note
|
|
522
|
+
|
|
523
|
+
Pair with DiviOps Agent 1.5.52 for guarded canvas content replacement. Read the canvas post ID with `diviops_page_get` and reuse its `content_checksum` as `expected_checksum` on dry run and apply. The guard requires Agent support. A concurrent write can still occur after comparison.
|
|
524
|
+
|
|
525
|
+
Icon lookup searches bundled Divi and Font Awesome icons. For a Theme Builder edit, inspect the published templates that reference the layout ID and reuse the reviewed layout checksum on apply.
|
|
526
|
+
|
|
996
527
|
## License
|
|
997
528
|
|
|
998
529
|
MIT
|
package/dist/index.js
CHANGED
|
@@ -1245,7 +1245,7 @@ registerPluginTool("diviops_global_font_delete", {
|
|
|
1245
1245
|
return { content: [{ type: "text", text: serializeEnvelope(result, "diviops_global_font_delete") }] };
|
|
1246
1246
|
});
|
|
1247
1247
|
registerPluginTool("diviops_meta_find_icon", {
|
|
1248
|
-
description: "Search
|
|
1248
|
+
description: "Search bundled Divi and Font Awesome icons by keyword. Uploaded icons and private collections are excluded. Returns matching icons with unicode, type (fa/divi), and weight. Use the returned unicode/type/weight in Blurb icon or Icon module attributes. Returns the standardized envelope { ok, data?, error: { code, message, hint? } }.",
|
|
1249
1249
|
inputSchema: {
|
|
1250
1250
|
query: z
|
|
1251
1251
|
.string()
|
|
@@ -2884,7 +2884,7 @@ registerPluginTool("diviops_tb_layout_update", {
|
|
|
2884
2884
|
DRY_RUN_DESC_SUFFIX,
|
|
2885
2885
|
inputSchema: {
|
|
2886
2886
|
layout_id: z.number().describe("Layout post ID to update"),
|
|
2887
|
-
expected_checksum: z.string().length(71).regex(/^sha256:[a-f0-9]{64}$/).optional().describe("Optional
|
|
2887
|
+
expected_checksum: z.string().length(71).regex(/^sha256:[a-f0-9]{64}$/).optional().describe("Optional guard for the layout post_content. Page through diviops_tb_template_list to see which published templates reference the target header, body or footer layout ID. Read that ID with diviops_page_get and pass its reviewed content_checksum as expected_checksum on both dry run and apply. Drift is refused. The check covers layout content only and does not lock the record."),
|
|
2888
2888
|
content: z.string().describe("New block markup content"),
|
|
2889
2889
|
dry_run: DRY_RUN_FIELD,
|
|
2890
2890
|
backup: BACKUP_FIELD,
|
|
@@ -3210,6 +3210,7 @@ registerPluginTool("diviops_canvas_update", {
|
|
|
3210
3210
|
.string()
|
|
3211
3211
|
.optional()
|
|
3212
3212
|
.describe("New block markup (replaces entire content)"),
|
|
3213
|
+
expected_checksum: z.string().length(71).regex(/^sha256:[a-f0-9]{64}$/).optional().describe("For content replacement, read the canvas post ID with diviops_page_get and reuse its content_checksum on dry run and apply. Checks saved content bytes only. Concurrent writes after the comparison are possible."),
|
|
3213
3214
|
title: z.string().optional().describe("New canvas title"),
|
|
3214
3215
|
append_to_main: z
|
|
3215
3216
|
.enum(["above", "below", ""])
|
|
@@ -3220,13 +3221,20 @@ registerPluginTool("diviops_canvas_update", {
|
|
|
3220
3221
|
},
|
|
3221
3222
|
annotations: { idempotentHint: false },
|
|
3222
3223
|
_meta: { idempotent: "conditional" },
|
|
3223
|
-
}, async ({ canvas_post_id, content, title, append_to_main, z_index, dry_run }) => {
|
|
3224
|
+
}, async ({ canvas_post_id, content, title, append_to_main, z_index, dry_run, expected_checksum }) => {
|
|
3225
|
+
const capability = "canvas_update_expected_checksum";
|
|
3226
|
+
if (expected_checksum !== undefined && (handshakeState.kind !== "ok" || handshakeState.capabilities[capability] !== true)) {
|
|
3227
|
+
const version = handshakeState.kind === "ok" ? handshakeState.pluginVersion : undefined;
|
|
3228
|
+
return missingCapabilityEnvelope(new MissingCapabilityError(capability, version), "diviops_canvas_update", { serverVersion: SERVER_VERSION });
|
|
3229
|
+
}
|
|
3224
3230
|
const isolationGate = writerIsolationErrorResult("diviops_canvas_update", {
|
|
3225
3231
|
content,
|
|
3226
3232
|
});
|
|
3227
3233
|
if (isolationGate)
|
|
3228
3234
|
return isolationGate;
|
|
3229
3235
|
const body = {};
|
|
3236
|
+
if (expected_checksum !== undefined)
|
|
3237
|
+
body.expected_checksum = expected_checksum;
|
|
3230
3238
|
if (content !== undefined)
|
|
3231
3239
|
body.content = content;
|
|
3232
3240
|
if (title !== undefined)
|
|
@@ -3237,7 +3245,8 @@ registerPluginTool("diviops_canvas_update", {
|
|
|
3237
3245
|
body.z_index = z_index;
|
|
3238
3246
|
if (dry_run)
|
|
3239
3247
|
body.dry_run = true;
|
|
3240
|
-
const
|
|
3248
|
+
const route = expected_checksum === undefined ? "update" : "update-reviewed";
|
|
3249
|
+
const result = await authoringWrite(`/canvas/${route}/${canvas_post_id}`, "POST", body, "canvas_update", dry_run === true);
|
|
3241
3250
|
return {
|
|
3242
3251
|
content: [
|
|
3243
3252
|
{ type: "text", text: serializeEnvelope(result, "diviops_canvas_update") },
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diviops/mcp-server",
|
|
3
|
-
"version": "1.5.
|
|
4
|
-
"description": "MCP server
|
|
3
|
+
"version": "1.5.79",
|
|
4
|
+
"description": "MCP server for Divi 5 on WordPress. List pages, inspect presets and edit native Divi modules through the DiviOps Agent plugin.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|