@diviops/mcp-server 1.5.24 → 1.5.26

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 +19 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **An AI harness for WordPress site authoring — Divi-native today, WordPress-wide by design.**
4
4
 
5
- The Node.js MCP server inside the DiviOps harness. It gives Claude Code, Claude Desktop, and other MCP clients a typed control layer over WordPress site state, dispatching to the DiviOps Agent plugin for Divi 5 page authoring, SCF and CPT data models, design tokens, presets, library and Theme Builder templates, site audits, and safe WP-CLI passthrough. Pairs with the `divi-5-builder` Claude skill so the agent applies Divi's block format and design rules correctly.
5
+ The Node.js MCP server inside the DiviOps harness. It gives Claude Code, Codex, Claude Desktop, and other MCP clients a typed control layer over WordPress site state, dispatching to the DiviOps Agent plugin for Divi 5 page authoring, SCF and CPT data models, design tokens, presets, library and Theme Builder templates, site audits, and safe WP-CLI passthrough. Pairs with the `divi-5-builder` skill so the agent applies Divi's block format and design rules correctly.
6
6
 
7
7
  ```
8
8
  Claude Code <-> MCP Server (stdio) <-> WordPress REST API <-> DiviOps Agent plugin
@@ -34,7 +34,9 @@ In **WP Admin → Users → Your Profile → Application Passwords**:
34
34
  - Click "Add New Application Password"
35
35
  - Copy the generated password and strip the spaces
36
36
 
37
- ### 3. Register the MCP server with Claude
37
+ ### 3. Register the MCP server
38
+
39
+ Claude Code:
38
40
 
39
41
  ```bash
40
42
  claude mcp add diviops-mcp \
@@ -44,7 +46,20 @@ claude mcp add diviops-mcp \
44
46
  -- npx -y --package @diviops/mcp-server diviops-mcp
45
47
  ```
46
48
 
47
- Then ask Claude: **"List the pages on my site."** Claude calls `diviops_page_list` and renders the result. You're authoring with the suite.
49
+ Codex `~/.codex/config.toml`:
50
+
51
+ ```toml
52
+ [mcp_servers.diviops-mcp]
53
+ command = "npx"
54
+ args = ["-y", "--package", "@diviops/mcp-server", "diviops-mcp"]
55
+
56
+ [mcp_servers.diviops-mcp.env]
57
+ WP_URL = "http://your-site.local"
58
+ WP_USER = "your-wp-username"
59
+ WP_APP_PASSWORD = "xxxxXXXXxxxxXXXXxxxxXXXX"
60
+ ```
61
+
62
+ Then ask your AI client: **"List the pages on my site."** It calls `diviops_page_list` and renders the result. You're authoring with the suite.
48
63
 
49
64
  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; `npx @diviops/mcp-server` cannot reliably infer which bin to run.
50
65
 
@@ -234,7 +249,7 @@ Common quick fixes — full reference in [troubleshooting.md](../docs/troublesho
234
249
  - [safety-patterns.md](../docs/safety-patterns.md) — Pattern A (refuse-with-override) + Pattern B (preview-then-commit) + universal `dry_run`
235
250
  - [troubleshooting.md](../docs/troubleshooting.md) — common errors and resolutions
236
251
  - [idempotency-audit.md](../docs/idempotency-audit.md) — repeat-call semantics per tool
237
- - **`divi-5-builder` Claude skill** — block format rules, design patterns, workflow guidance (ships in the dist repo)
252
+ - **`divi-5-builder` skill** — block format rules, design patterns, workflow guidance (ships in the dist repo)
238
253
 
239
254
  ## Requirements
240
255
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diviops/mcp-server",
3
- "version": "1.5.24",
3
+ "version": "1.5.26",
4
4
  "description": "MCP server exposing Divi 5 Visual Builder as tools for Claude",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",