@diviops/mcp-server 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/README.md +6 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -91,9 +91,9 @@ The server connects via standard WordPress REST API and works with any environme
91
91
 
92
92
  > **WP-CLI note:** `WP_PATH` keeps the existing Local by Flywheel behavior by running `wp` directly on the host filesystem. For Docker-based environments (DDEV, wp-env, DevKinsta, WordPress Studio), set `WP_CLI_CMD` to the wrapper command instead. When `WP_CLI_CMD` is set, the server executes the wrapper from `WP_PATH` if provided, otherwise from its current working directory. The MCP server still validates the requested WP-CLI subcommand against its allowlist before executing either path.
93
93
 
94
- ## Available Tools (43)
94
+ ## Available Tools (46)
95
95
 
96
- ### Read (24)
96
+ ### Read (25)
97
97
  | Tool | Description |
98
98
  |------|-------------|
99
99
  | `diviops_test_connection` | Test WordPress connection and Divi version |
@@ -111,6 +111,7 @@ The server connects via standard WordPress REST API and works with any environme
111
111
  | `diviops_list_templates` | List available MCP prompt templates |
112
112
  | `diviops_get_template` | Get a specific template's block markup |
113
113
  | `diviops_preset_audit` | Audit presets with referenced/unreferenced analysis |
114
+ | `diviops_preset_scan_orphans` | List page-referenced preset UUIDs missing from the D5 registry (separates dangling orphans from D4-legacy refs) |
114
115
  | `diviops_list_library` | List saved Divi Library items |
115
116
  | `diviops_get_library_item` | Get a library item's block markup |
116
117
  | `diviops_render_preview` | Render block markup to HTML for preview |
@@ -121,7 +122,7 @@ The server connects via standard WordPress REST API and works with any environme
121
122
  | `diviops_list_canvases` | List all canvas pages |
122
123
  | `diviops_get_canvas` | Get canvas content |
123
124
 
124
- ### Write (17)
125
+ ### Write (20)
125
126
  | Tool | Description |
126
127
  |------|-------------|
127
128
  | `diviops_create_page` | Create a new page with optional Divi content |
@@ -132,6 +133,8 @@ The server connects via standard WordPress REST API and works with any environme
132
133
  | `diviops_update_module` | Update specific module attributes by label or text match |
133
134
  | `diviops_move_module` | Move a block before/after another block (reorder modules, sections) |
134
135
  | `diviops_preset_cleanup` | Remove spam/duplicate presets, bulk rename |
136
+ | `diviops_preset_create` | Write a new preset to the D5 registry (module or group type, supports `divi/column` etc.) |
137
+ | `diviops_preset_reassign` | Rewrite `modulePreset` references across pages (dry-run by default; optional `strip_inline` removes redundant inline attrs) |
135
138
  | `diviops_preset_update` | Update a specific preset (name, attrs) |
136
139
  | `diviops_preset_delete` | Delete a preset by ID |
137
140
  | `diviops_save_to_library` | Save block markup to Divi Library |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diviops/mcp-server",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "MCP server exposing Divi 5 Visual Builder as tools for Claude",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",