slc-wp-mcp-bridge 1.0.0 → 1.1.0
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 +17 -9
- package/dist/THIRD_PARTY_NOTICES.txt +48458 -0
- package/dist/block-engine.mjs +4 -0
- package/dist/cli.mjs +39091 -0
- package/package.json +16 -15
- package/wordpress-plugin/{slc-wp-mcp-bridge → silicate-studio}/LICENSE.txt +4 -3
- package/wordpress-plugin/{slc-wp-mcp-bridge → silicate-studio}/includes/class-slmcp-audit.php +2 -2
- package/wordpress-plugin/{slc-wp-mcp-bridge → silicate-studio}/includes/class-slmcp-content-checker.php +3 -2
- package/wordpress-plugin/silicate-studio/includes/class-slmcp-mcp-server.php +643 -0
- package/wordpress-plugin/{slc-wp-mcp-bridge → silicate-studio}/includes/class-slmcp-rest-base.php +7 -7
- package/wordpress-plugin/{slc-wp-mcp-bridge → silicate-studio}/includes/class-slmcp-rest-design.php +16 -16
- package/wordpress-plugin/{slc-wp-mcp-bridge → silicate-studio}/includes/class-slmcp-rest-media.php +11 -11
- package/wordpress-plugin/{slc-wp-mcp-bridge → silicate-studio}/includes/class-slmcp-rest-posts.php +11 -11
- package/wordpress-plugin/{slc-wp-mcp-bridge → silicate-studio}/includes/class-slmcp-settings.php +87 -34
- package/wordpress-plugin/{slc-wp-mcp-bridge → silicate-studio}/includes/class-slmcp-snapshots.php +1 -1
- package/wordpress-plugin/silicate-studio/readme.txt +151 -0
- package/wordpress-plugin/{slc-wp-mcp-bridge/slc-wp-mcp-bridge.php → silicate-studio/silicate-studio.php} +8 -6
- package/wordpress-plugin/{slc-wp-mcp-bridge → silicate-studio}/uninstall.php +1 -1
- package/bin/cli.js +0 -55
- package/npm-shrinkwrap.json +0 -5599
- package/src/block-engine.mjs +0 -254
- package/src/config.js +0 -139
- package/src/connect.js +0 -87
- package/src/deploy.js +0 -252
- package/src/dev.js +0 -176
- package/src/engine.js +0 -128
- package/src/media.js +0 -43
- package/src/server.js +0 -293
- package/src/version.js +0 -2
- package/src/wp-client.js +0 -116
- package/wordpress-plugin/slc-wp-mcp-bridge/readme.txt +0 -139
package/README.md
CHANGED
|
@@ -3,24 +3,29 @@
|
|
|
3
3
|
Design WordPress sites with AI (Claude Code, Claude Desktop or any MCP client) using **native Gutenberg blocks**.
|
|
4
4
|
Build and test on your own machine, then deploy to your live site, or work on your live site directly.
|
|
5
5
|
|
|
6
|
-
This is the connector for the **
|
|
6
|
+
This is the optional companion connector for the **Silicate Studio** WordPress plugin. Built by Silicate Labs.
|
|
7
|
+
|
|
8
|
+
The plugin has its own built-in MCP server, so AI clients that support remote MCP servers can connect to a site directly
|
|
9
|
+
without this package. Use the connector when you also want a private local WordPress for designing and testing,
|
|
10
|
+
one-step local-to-live deployment, block markup generated with WordPress's own block code, or the site password kept in
|
|
11
|
+
a file only your OS user can read.
|
|
7
12
|
|
|
8
13
|
## Quick start
|
|
9
14
|
|
|
10
15
|
**1. Local site (optional, recommended).** Needs Node.js 20+. No Docker required.
|
|
11
16
|
|
|
12
17
|
```bash
|
|
13
|
-
npx slc-wp-mcp-bridge@1.
|
|
18
|
+
npx slc-wp-mcp-bridge@1.1.0 dev
|
|
14
19
|
```
|
|
15
20
|
|
|
16
21
|
This starts a private local WordPress at `http://127.0.0.1:9400` (reachable only from your computer) with the plugin installed and configured.
|
|
17
22
|
It is kept between runs. Credentials are random per machine and stored in `~/.slc-wp-mcp/local.json`.
|
|
18
23
|
|
|
19
|
-
**2. Connect your live site** (optional). On the site: install **
|
|
20
|
-
Settings >
|
|
24
|
+
**2. Connect your live site** (optional). On the site: install **Silicate Studio**, enable it under
|
|
25
|
+
Settings > Silicate Studio, allow your user, and create an Application Password (Users > Profile). Then:
|
|
21
26
|
|
|
22
27
|
```bash
|
|
23
|
-
npx slc-wp-mcp-bridge@1.
|
|
28
|
+
npx slc-wp-mcp-bridge@1.1.0 connect --url https://your-site.com
|
|
24
29
|
```
|
|
25
30
|
|
|
26
31
|
The password is typed with hidden input, checked against the site, and saved in `~/.slc-wp-mcp/sites.json`,
|
|
@@ -29,7 +34,7 @@ readable only by your OS user. It never goes into a command line, shell history,
|
|
|
29
34
|
**3. Add the connector to your AI client** once (Claude Code shown). No secrets in this command:
|
|
30
35
|
|
|
31
36
|
```bash
|
|
32
|
-
claude mcp add wordpress -- npx -y slc-wp-mcp-bridge@1.
|
|
37
|
+
claude mcp add wordpress -- npx -y slc-wp-mcp-bridge@1.1.0
|
|
33
38
|
```
|
|
34
39
|
|
|
35
40
|
**4. Ask**, for example:
|
|
@@ -66,8 +71,10 @@ before saving. Unsupported attributes are reported instead of silently lost.
|
|
|
66
71
|
- The local dev site listens on 127.0.0.1 only; its credentials are random per machine.
|
|
67
72
|
- Local images can only be uploaded from the media folder (current directory or `SLC_MEDIA_ROOT`), must be real
|
|
68
73
|
JPEG/PNG/GIF/WebP/AVIF files (checked by content) and at most 10 MB.
|
|
69
|
-
-
|
|
70
|
-
|
|
74
|
+
- Self-contained: the package has **no dependencies** and no install scripts, so installing it fetches nothing
|
|
75
|
+
else. Third-party code (MCP SDK, zod, WordPress block packages, jsdom) is bundled at build time from a pinned,
|
|
76
|
+
audited lockfile, unminified so it can be reviewed; licences are listed in `dist/THIRD_PARTY_NOTICES.txt`.
|
|
77
|
+
Pin the version in your MCP config (`slc-wp-mcp-bridge@1.1.0`) so updates only happen when you choose.
|
|
71
78
|
|
|
72
79
|
**On your site**
|
|
73
80
|
- Only Application Passwords from users an administrator allowed; WordPress capabilities always apply.
|
|
@@ -98,4 +105,5 @@ npx slc-wp-mcp-bridge reset --yes delete the local site
|
|
|
98
105
|
|
|
99
106
|
## License
|
|
100
107
|
|
|
101
|
-
GPL-2.0-or-later. Copyright (C) 2026 Silicate Labs. "
|
|
108
|
+
GPL-2.0-or-later. Copyright (C) 2026 Silicate Labs. "Silicate Labs" is a name of Silicate Labs. Not affiliated with or
|
|
109
|
+
endorsed by the Model Context Protocol project, Anthropic, WordPress or the WordPress Foundation.
|