bricks-mcp-server 0.7.0 → 0.8.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/dist/index.js +21 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33,7 +33,7 @@ if (subcommand === "doctor" || subcommand === "diagnose") {
|
|
|
33
33
|
if (process.env.WP_URL) {
|
|
34
34
|
console.error(`[bricks-mcp] target WP_URL=${process.env.WP_URL} WP_USER=${process.env.WP_USER ?? "?"}`);
|
|
35
35
|
}
|
|
36
|
-
const server = new Server({ name: "bricks-mcp-server", version: "0.
|
|
36
|
+
const server = new Server({ name: "bricks-mcp-server", version: "0.8.0" }, { capabilities: { tools: {} } });
|
|
37
37
|
const tools = [
|
|
38
38
|
{
|
|
39
39
|
name: "bricks_ping",
|
|
@@ -140,6 +140,14 @@ const tools = [
|
|
|
140
140
|
type: "object",
|
|
141
141
|
description: "Taxonomy terms, e.g. { \"categoria_noticia\": [\"Difusión\"] }.",
|
|
142
142
|
},
|
|
143
|
+
acf: {
|
|
144
|
+
type: "object",
|
|
145
|
+
description: "ACF fields by name, e.g. { \"anio\": \"2024\" }. Uses ACF update_field so {acf_*} dynamic tags render.",
|
|
146
|
+
},
|
|
147
|
+
meta: {
|
|
148
|
+
type: "object",
|
|
149
|
+
description: "Raw post meta by key (for non-ACF custom fields).",
|
|
150
|
+
},
|
|
143
151
|
content: { type: "array", description: "Bricks elements array" },
|
|
144
152
|
header: { type: "array" },
|
|
145
153
|
footer: { type: "array" },
|
|
@@ -158,6 +166,8 @@ const tools = [
|
|
|
158
166
|
date: z.string().optional(),
|
|
159
167
|
featured_media: z.number().int().nonnegative().optional(),
|
|
160
168
|
terms: z.record(z.any()).optional(),
|
|
169
|
+
acf: z.record(z.any()).optional(),
|
|
170
|
+
meta: z.record(z.any()).optional(),
|
|
161
171
|
content: z.array(z.any()).optional(),
|
|
162
172
|
header: z.array(z.any()).optional(),
|
|
163
173
|
footer: z.array(z.any()).optional(),
|
|
@@ -201,6 +211,14 @@ const tools = [
|
|
|
201
211
|
type: "object",
|
|
202
212
|
description: "Taxonomy terms, e.g. { \"categoria_noticia\": [\"Difusión\"] }.",
|
|
203
213
|
},
|
|
214
|
+
acf: {
|
|
215
|
+
type: "object",
|
|
216
|
+
description: "ACF fields by name, e.g. { \"anio\": \"2024\", \"autores\": \"Rojas, H.\" }. Uses ACF update_field so {acf_*} dynamic tags render.",
|
|
217
|
+
},
|
|
218
|
+
meta: {
|
|
219
|
+
type: "object",
|
|
220
|
+
description: "Raw post meta by key (for non-ACF custom fields).",
|
|
221
|
+
},
|
|
204
222
|
content: { type: "array", description: "Bricks elements array (for Bricks-designed pages)" },
|
|
205
223
|
settings: { type: "object" },
|
|
206
224
|
},
|
|
@@ -217,6 +235,8 @@ const tools = [
|
|
|
217
235
|
date: z.string().optional(),
|
|
218
236
|
featured_media: z.number().int().positive().optional(),
|
|
219
237
|
terms: z.record(z.any()).optional(),
|
|
238
|
+
acf: z.record(z.any()).optional(),
|
|
239
|
+
meta: z.record(z.any()).optional(),
|
|
220
240
|
content: z.array(z.any()).optional(),
|
|
221
241
|
settings: z.record(z.any()).optional(),
|
|
222
242
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bricks-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Provider-agnostic MCP server that exposes Bricks Builder pages, templates, global classes and theme styles as tools. Works with any MCP-compatible client (Claude Code, Codex CLI, etc.).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|