@diviops/mcp-server 1.5.69 → 1.5.70
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 +18 -6
- package/dist/index.js +6 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -495,7 +495,7 @@ The server exposes **100 always-on tools** across the categories below. Each cat
|
|
|
495
495
|
| Library + templates | Reusable layouts + Theme Builder | `library_*`, `template_*`, `tb_*` |
|
|
496
496
|
| Native Custom CSS | Read, preview, update and restore named site-wide CSS blocks | `custom_css_*` |
|
|
497
497
|
| WordPress menus | Author reusable nav menus and theme-location assignments | `menu_*` |
|
|
498
|
-
| Semantic SEO metadata | Inspect provider support; TSF title/description and Rank Math canonical/noindex with checksum/readback guards | `seo_*` |
|
|
498
|
+
| Semantic SEO metadata | Inspect provider support; TSF title/description plus TSF and Rank Math canonical/noindex with checksum/readback guards | `seo_*` |
|
|
499
499
|
| Schema introspection | Module attribute discovery | `schema_*` |
|
|
500
500
|
| Canvas / off-canvas | Popups, modals, menus | `canvas_*` |
|
|
501
501
|
| SCF integration | Secure Custom Fields sync | `scf_*` |
|
|
@@ -818,13 +818,25 @@ tools. A failed or uncertain response can include applied changes: retain its
|
|
|
818
818
|
snapshot ID and inspect state rather than retrying blindly. Provider sitemap
|
|
819
819
|
invalidation does not establish external cache eviction.
|
|
820
820
|
|
|
821
|
-
|
|
821
|
+
TSF 5.1.4 additionally supports page `canonical_url` set/clear and `noindex`
|
|
822
|
+
set with `noindex` or `reset_default` without a value. Use the additive
|
|
823
|
+
`indexing.checksum` from a fresh read for these operations and their typed
|
|
824
|
+
`restore_snapshot_id`; retain the top-level checksum for title/description.
|
|
825
|
+
Do not mix text and indexing changes. Reset resumes provider inheritance;
|
|
826
|
+
it does not force indexing. Other robots fields keep their inherited state.
|
|
827
|
+
TSF retains a custom canonical under noindex and suppresses generated fallback.
|
|
828
|
+
Homepage canonical settings can override a page value. Typed recovery records
|
|
829
|
+
have no automatic expiry and require operator cleanup.
|
|
830
|
+
|
|
831
|
+
Pair MCP 1.5.70 with Free Agent 1.5.41 and restart the server. Native Classic
|
|
822
832
|
editor save/reopen, frontend canonical/robots, primed sitemap exclusion and
|
|
823
833
|
restoration, defaults drift and permission refusal passed on WordPress 7.1,
|
|
824
|
-
PHP 8.3
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
834
|
+
PHP 8.3 and Divi 5.13.1 for Rank Math 1.0.279 and TSF 5.1.4. TSF additionally
|
|
835
|
+
passed exact empty/zero/force-index restore and homepage/scheme checks. Block
|
|
836
|
+
editor, other provider versions, external cache eviction and MCP stdio runtime
|
|
837
|
+
are outside this qualification. Rank Math title/description, Yoast, social/schema
|
|
838
|
+
and bulk edits remain outside these adapters. See the [Rank Math contract](../docs/rank-math-seo-adapter.md)
|
|
839
|
+
and [TSF contract](../docs/tsf-indexing-adapter.md).
|
|
828
840
|
|
|
829
841
|
### `_meta.idempotent` markers
|
|
830
842
|
|
package/dist/index.js
CHANGED
|
@@ -488,6 +488,7 @@ const SEO_CHANGE = z.discriminatedUnion("action", [
|
|
|
488
488
|
field: SEO_FIELD,
|
|
489
489
|
action: z.literal("clear"),
|
|
490
490
|
}),
|
|
491
|
+
z.strictObject({ field: z.literal("noindex"), action: z.literal("reset_default") }),
|
|
491
492
|
]);
|
|
492
493
|
const SEO_CHANGES = z
|
|
493
494
|
.array(SEO_CHANGE)
|
|
@@ -508,7 +509,7 @@ const SEO_CHANGES = z
|
|
|
508
509
|
});
|
|
509
510
|
// ── Read Tools ───────────────────────────────────────────────────────
|
|
510
511
|
registerPluginTool("diviops_seo_provider_list", {
|
|
511
|
-
description: "List the Free/core semantic SEO provider adapters and their installed, active, version, compatibility, field, and capability evidence. Reports TSF text fields and Rank Math canonical/noindex capabilities; never loads an inactive provider. Rank Math is source-assessed and requires native qualification. This is discovery only: it returns no post payload and provides no provider installation or activation path. Returns the standardized envelope.",
|
|
512
|
+
description: "List the Free/core semantic SEO provider adapters and their installed, active, version, compatibility, field, and capability evidence. Reports TSF text fields plus exact-version TSF and Rank Math canonical/noindex capabilities; never loads an inactive provider. Rank Math is source-assessed and requires native qualification. This is discovery only: it returns no post payload and provides no provider installation or activation path. Returns the standardized envelope.",
|
|
512
513
|
inputSchema: {},
|
|
513
514
|
annotations: { idempotentHint: true },
|
|
514
515
|
_meta: { idempotent: "true" },
|
|
@@ -521,7 +522,7 @@ registerPluginTool("diviops_seo_provider_list", {
|
|
|
521
522
|
};
|
|
522
523
|
});
|
|
523
524
|
registerPluginTool("diviops_seo_metadata_get", {
|
|
524
|
-
description: "Read explicit and effective semantic SEO metadata for one provider-supported post. Free/core and explicit-metadata-only: fields depend on provider: TSF seo_title/meta_description or Rank Math canonical_url/noindex; no raw metadata keys or provider maps are accepted or returned. Requires edit_post before stored payload exposure. Returns exact explicit presence/value, effective provider output, deterministic checksum, provider lifecycle/capability evidence, canonical WordPress identity evidence, and cache status. Error codes include not_found, forbidden, seo.provider_absent, seo.provider_incompatible, seo.provider_unsupported, and seo.post_type_unsupported. Returns the standardized envelope.",
|
|
525
|
+
description: "Read explicit and effective semantic SEO metadata for one provider-supported post. Free/core and explicit-metadata-only: fields depend on provider: TSF seo_title/meta_description plus a separate indexing section on 5.1.4 pages, or Rank Math canonical_url/noindex; no raw metadata keys or provider maps are accepted or returned. Requires edit_post before stored payload exposure. Returns exact explicit presence/value, effective provider output, deterministic checksum, provider lifecycle/capability evidence, canonical WordPress identity evidence, and cache status. Error codes include not_found, forbidden, seo.provider_absent, seo.provider_incompatible, seo.provider_unsupported, and seo.post_type_unsupported. Returns the standardized envelope.",
|
|
525
526
|
inputSchema: {
|
|
526
527
|
post_id: z.number().int().positive().describe("WordPress post/page ID to inspect. Requires edit_post on this exact target."),
|
|
527
528
|
provider: SEO_PROVIDER.optional().default("auto").describe("Provider selector. auto refuses ambiguity when both providers are active."),
|
|
@@ -1256,7 +1257,7 @@ registerPluginTool("diviops_meta_find_icon", {
|
|
|
1256
1257
|
});
|
|
1257
1258
|
// ── Write Tools ──────────────────────────────────────────────────────
|
|
1258
1259
|
registerPluginTool("diviops_seo_metadata_update", {
|
|
1259
|
-
description: "Update one page/post using fixed provider fields and expected_checksum. TSF retains seo_title/meta_description set/clear
|
|
1260
|
+
description: "Update one page/post using fixed provider fields and expected_checksum. TSF retains seo_title/meta_description set/clear and its original top-level checksum. TSF 5.1.4 pages additionally support canonical_url set/clear and noindex set with value=noindex or reset_default without a value; use indexing.checksum from get for these operations and TSF restore. Do not mix text and indexing changes. TSF keeps unrelated robots defaults inherited and custom canonical URLs remain under noindex. Rank Math 1.0.279 supports canonical_url set/clear and noindex set with value='noindex' on pages; it preserves other robots directives and previews inherited defaults that become pinned. No generic robots arrays, force-index or noindex clear. reset_default is TSF-only. Both canonical/noindex adapters create a persistent typed recovery record before apply and return snapshot_id. To restore, omit changes and pass restore_snapshot_id with a fresh expected_checksum; restore refuses third-party changes and preserves untouched fields. Use dry_run to preview. Reads return provider-computed values, not verified frontend tags; Rank Math suppresses canonical output under noindex. TSF text-field persistent restore, other providers, social/schema/bulk edits are unsupported. Runtime qualification remains separate." +
|
|
1260
1261
|
DRY_RUN_DESC_SUFFIX,
|
|
1261
1262
|
inputSchema: {
|
|
1262
1263
|
post_id: z.number().int().positive().describe("WordPress post/page ID to update. Requires edit_post on this exact target."),
|
|
@@ -1264,9 +1265,9 @@ registerPluginTool("diviops_seo_metadata_update", {
|
|
|
1264
1265
|
expected_checksum: z
|
|
1265
1266
|
.string()
|
|
1266
1267
|
.regex(/^sha256:[a-f0-9]{64}$/)
|
|
1267
|
-
.describe("
|
|
1268
|
+
.describe("Checksum from get: indexing.checksum for TSF canonical/noindex or TSF restore; top-level checksum otherwise. No force path."),
|
|
1268
1269
|
changes: SEO_CHANGES.optional().describe("Provide changes OR restore_snapshot_id. Rank Math noindex set value must be noindex."),
|
|
1269
|
-
restore_snapshot_id: z.string().regex(/^
|
|
1270
|
+
restore_snapshot_id: z.string().regex(/^(?:rm|tsf)_[a-f0-9-]{36}$/).optional().describe("Restore one canonical/noindex operation for the selected provider; omit changes. Not a content snapshot."),
|
|
1270
1271
|
dry_run: DRY_RUN_FIELD,
|
|
1271
1272
|
},
|
|
1272
1273
|
annotations: { idempotentHint: false },
|