@respira/wordpress-mcp-server 3.3.6 → 4.0.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.
- package/README.md +41 -4
- package/dist/config.d.ts +22 -3
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +217 -175
- package/dist/config.js.map +1 -1
- package/dist/discovery/abilities.js +2 -2
- package/dist/discovery/abilities.js.map +1 -1
- package/dist/divi-context.d.ts +2 -2
- package/dist/divi-context.d.ts.map +1 -1
- package/dist/divi-context.js +10 -7
- package/dist/divi-context.js.map +1 -1
- package/dist/divi-prompts.d.ts +1 -1
- package/dist/divi-prompts.d.ts.map +1 -1
- package/dist/divi-prompts.js +21 -10
- package/dist/divi-prompts.js.map +1 -1
- package/dist/index.d.ts +2 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +43 -25
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +7 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +149 -19
- package/dist/server.js.map +1 -1
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +112 -3
- package/dist/setup.js.map +1 -1
- package/dist/smithery.d.ts +54 -0
- package/dist/smithery.d.ts.map +1 -0
- package/dist/smithery.js +76 -0
- package/dist/smithery.js.map +1 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/wordpress-client.d.ts +12 -4
- package/dist/wordpress-client.d.ts.map +1 -1
- package/dist/wordpress-client.js +210 -4
- package/dist/wordpress-client.js.map +1 -1
- package/package.json +5 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abilities.js","sourceRoot":"","sources":["../../src/discovery/abilities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAU/D;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,OAAe,EACf,MAAc;IAEd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;YACZ,uEAAuE;gBACvE,kFAAkF;gBAClF,iIAAiI,CAAC;IACtI,CAAC;SAAM,IAAI,MAAM,CAAC,qBAAqB,IAAI,CAAC,MAAM,CAAC,0BAA0B,EAAE,CAAC;QAC9E,MAAM,CAAC,OAAO;YACZ,sFAAsF;gBACtF,6FAA6F,CAAC;IAClG,CAAC;SAAM,IAAI,MAAM,CAAC,qBAAqB,EAAE,CAAC;QACxC,MAAM,CAAC,OAAO;YACZ,6CAA6C;gBAC7C,uGAAuG,CAAC;IAC5G,CAAC;SAAM,CAAC;QACN,MAAM,CAAC,OAAO;YACZ,iFAAiF;gBACjF,uDAAuD,CAAC;IAC5D,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/dist/divi-context.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Provides comprehensive Divi documentation for AI assistants.
|
|
5
5
|
*/
|
|
6
|
-
export declare const diviContext = "\nYou are editing a Divi Builder page. Divi has two storage formats you must handle safely:\n- Divi 5: block-based layout using `divi/*` blocks in post content\n- Divi 4: legacy shortcode layout using `et_pb_*`\n\n## Divi 5 Structure (Primary)\n\n- **Sections (`divi/section`)**: Top-level containers\n- **Rows (`divi/row`)**: Layout containers inside sections\n- **Columns/Groups (`divi/column`, `divi/group`)**: Nested containers\n- **Modules (`divi/*`)**: Text, button, image, CTA, and other content blocks\n\n## Divi 4 Structure (Legacy)\n\n- **Sections (`et_pb_section`)**\n- **Rows (`et_pb_row`)**\n- **Modules (`et_pb_text`, `et_pb_image`, `et_pb_button`, etc.)**\n\n## Editing Contract\n\n- Use structured nodes: `{ type, attributes, children, content }`\n- Preserve unknown attributes exactly\n- Do not rewrite entire trees for small edits\n- Keep non-Divi blocks and legacy shortcode wrapper blocks unless explicitly asked to remove\n- Treat legacy wrappers as opaque: move/delete allowed, deep edits discouraged\n\n## Important Rules\n\n1. Prefer
|
|
6
|
+
export declare const diviContext = "\nYou are editing a Divi Builder page. Divi has two storage formats you must handle safely:\n- Divi 5: block-based layout using `divi/*` blocks in post content\n- Divi 4: legacy shortcode layout using `et_pb_*`\n\n## Divi 5 Structure (Primary)\n\n- **Sections (`divi/section`)**: Top-level containers\n- **Rows (`divi/row`)**: Layout containers inside sections\n- **Columns/Groups (`divi/column`, `divi/group`)**: Nested containers\n- **Modules (`divi/*`)**: Text, button, image, CTA, and other content blocks\n\n## Divi 4 Structure (Legacy)\n\n- **Sections (`et_pb_section`)**\n- **Rows (`et_pb_row`)**\n- **Modules (`et_pb_text`, `et_pb_image`, `et_pb_button`, etc.)**\n\n## Editing Contract\n\n- Use structured nodes: `{ type, attributes, children, content }`\n- Preserve unknown attributes exactly\n- Do not rewrite entire trees for small edits\n- Keep non-Divi blocks and legacy shortcode wrapper blocks unless explicitly asked to remove\n- Treat legacy wrappers as opaque: move/delete allowed, deep edits discouraged\n\n## Important Rules\n\n1. Prefer the page's existing Divi storage format\n2. Only create new native Divi 5 content blocks when `wordpress_get_builder_info` or the builder schema explicitly advertises them as safe defaults on this site\n3. Preserve parent/child nesting and ordering\n4. Preserve all existing attributes unless explicitly changed\n5. Use hex colors and full URLs where relevant\n6. On conservative Divi 5 runtimes, prefer layout wrappers + `divi/code` or existing verified native blocks instead of inventing new `divi/text`, `divi/button`, etc.\n7. Registered block names alone do not prove safe save/render support\n8. Avoid lossy conversion between Divi 4 and Divi 5 formats\n9. For every Divi inject operation, ask for explicit confirmation: Divi 4 or Divi 5\n10. For code modules, preserve extracted content encoding; do not blindly base64-encode content\n";
|
|
7
7
|
export declare const diviAttributeHelp: {
|
|
8
8
|
colors: string;
|
|
9
9
|
spacing: string;
|
|
@@ -11,5 +11,5 @@ export declare const diviAttributeHelp: {
|
|
|
11
11
|
fonts: string;
|
|
12
12
|
urls: string;
|
|
13
13
|
};
|
|
14
|
-
export declare const diviValidationRules = "\nCRITICAL Divi Rules:\n1. If Divi 5 blocks exist, keep output in block format
|
|
14
|
+
export declare const diviValidationRules = "\nCRITICAL Divi Rules:\n1. If Divi 5 blocks exist, keep output in block format unless the site explicitly requires a legacy fallback\n2. Preserve `attributes` and `children` unless explicitly changed\n3. Keep legacy shortcode-wrapper blocks opaque\n4. Never overwrite a Divi 5 page with Divi 4 shortcodes\n5. Preserve module structure and ordering\n6. Always use proper attribute formats\n7. Do not create new native Divi 5 content modules unless builder info marks them safe on this site\n8. Ask user to confirm Divi 4 vs Divi 5 before every Divi inject\n";
|
|
15
15
|
//# sourceMappingURL=divi-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divi-context.d.ts","sourceRoot":"","sources":["../src/divi-context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"divi-context.d.ts","sourceRoot":"","sources":["../src/divi-context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,WAAW,i3DAsCvB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;CAM7B,CAAC;AAEF,eAAO,MAAM,mBAAmB,ijBAU/B,CAAC"}
|
package/dist/divi-context.js
CHANGED
|
@@ -31,14 +31,16 @@ You are editing a Divi Builder page. Divi has two storage formats you must handl
|
|
|
31
31
|
|
|
32
32
|
## Important Rules
|
|
33
33
|
|
|
34
|
-
1. Prefer
|
|
35
|
-
2.
|
|
34
|
+
1. Prefer the page's existing Divi storage format
|
|
35
|
+
2. Only create new native Divi 5 content blocks when \`wordpress_get_builder_info\` or the builder schema explicitly advertises them as safe defaults on this site
|
|
36
36
|
3. Preserve parent/child nesting and ordering
|
|
37
37
|
4. Preserve all existing attributes unless explicitly changed
|
|
38
38
|
5. Use hex colors and full URLs where relevant
|
|
39
|
-
6.
|
|
40
|
-
7.
|
|
41
|
-
8.
|
|
39
|
+
6. On conservative Divi 5 runtimes, prefer layout wrappers + \`divi/code\` or existing verified native blocks instead of inventing new \`divi/text\`, \`divi/button\`, etc.
|
|
40
|
+
7. Registered block names alone do not prove safe save/render support
|
|
41
|
+
8. Avoid lossy conversion between Divi 4 and Divi 5 formats
|
|
42
|
+
9. For every Divi inject operation, ask for explicit confirmation: Divi 4 or Divi 5
|
|
43
|
+
10. For code modules, preserve extracted content encoding; do not blindly base64-encode content
|
|
42
44
|
`;
|
|
43
45
|
export const diviAttributeHelp = {
|
|
44
46
|
colors: 'Use hex format: #0000FF (no rgb() or color names)',
|
|
@@ -49,12 +51,13 @@ export const diviAttributeHelp = {
|
|
|
49
51
|
};
|
|
50
52
|
export const diviValidationRules = `
|
|
51
53
|
CRITICAL Divi Rules:
|
|
52
|
-
1. If Divi 5 blocks exist, keep output in block format
|
|
54
|
+
1. If Divi 5 blocks exist, keep output in block format unless the site explicitly requires a legacy fallback
|
|
53
55
|
2. Preserve \`attributes\` and \`children\` unless explicitly changed
|
|
54
56
|
3. Keep legacy shortcode-wrapper blocks opaque
|
|
55
57
|
4. Never overwrite a Divi 5 page with Divi 4 shortcodes
|
|
56
58
|
5. Preserve module structure and ordering
|
|
57
59
|
6. Always use proper attribute formats
|
|
58
|
-
7.
|
|
60
|
+
7. Do not create new native Divi 5 content modules unless builder info marks them safe on this site
|
|
61
|
+
8. Ask user to confirm Divi 4 vs Divi 5 before every Divi inject
|
|
59
62
|
`;
|
|
60
63
|
//# sourceMappingURL=divi-context.js.map
|
package/dist/divi-context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divi-context.js","sourceRoot":"","sources":["../src/divi-context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,WAAW,GAAG
|
|
1
|
+
{"version":3,"file":"divi-context.js","sourceRoot":"","sources":["../src/divi-context.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC1B,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,MAAM,EAAE,mDAAmD;IAC3D,OAAO,EAAE,yDAAyD;IAClE,MAAM,EAAE,iCAAiC;IACzC,KAAK,EAAE,8CAA8C;IACrD,IAAI,EAAE,uCAAuC;CAC9C,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;;;;;;;CAUlC,CAAC"}
|
package/dist/divi-prompts.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface DiviPrompt {
|
|
|
8
8
|
description: string;
|
|
9
9
|
template: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const diviInjectPolicy = "\nBefore calling wordpress_inject_builder_content with builder=\"divi\", always set diviVersion explicitly:\n- \"4\" for Divi 4 shortcode format\n- \"5\" for Divi 5 block format\n";
|
|
11
|
+
export declare const diviInjectPolicy = "\nBefore calling wordpress_inject_builder_content with builder=\"divi\", always set diviVersion explicitly:\n- \"4\" for Divi 4 shortcode format\n- \"5\" for Divi 5 block format\n\nBefore generating new native Divi 5 content modules, check wordpress_get_builder_info.\nOnly use native blocks that the site advertises as safe default blocks. Otherwise prefer\nexisting verified native blocks, Divi 4 shortcodes on legacy pages, or divi/code for\nconservative Divi 5 runtimes.\n";
|
|
12
12
|
export declare const diviMigrationCopilotDisclaimer = "Respira helps you plan and validate your Divi 5 migration. Divi\u2019s Migrator performs the actual conversion.";
|
|
13
13
|
export declare const diviMigrationCopilotPrompts: {
|
|
14
14
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divi-prompts.d.ts","sourceRoot":"","sources":["../src/divi-prompts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"divi-prompts.d.ts","sourceRoot":"","sources":["../src/divi-prompts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,gBAAgB,ieAS5B,CAAC;AAEF,eAAO,MAAM,8BAA8B,oHACmE,CAAC;AAE/G,eAAO,MAAM,2BAA2B;;;;GA0BvC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAyFlD,CAAC;AAEF,eAAO,MAAM,oBAAoB,UAShC,CAAC;AAEF,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAElE;AAED,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAChC,MAAM,CAYR"}
|
package/dist/divi-prompts.js
CHANGED
|
@@ -7,6 +7,11 @@ export const diviInjectPolicy = `
|
|
|
7
7
|
Before calling wordpress_inject_builder_content with builder="divi", always set diviVersion explicitly:
|
|
8
8
|
- "4" for Divi 4 shortcode format
|
|
9
9
|
- "5" for Divi 5 block format
|
|
10
|
+
|
|
11
|
+
Before generating new native Divi 5 content modules, check wordpress_get_builder_info.
|
|
12
|
+
Only use native blocks that the site advertises as safe default blocks. Otherwise prefer
|
|
13
|
+
existing verified native blocks, Divi 4 shortcodes on legacy pages, or divi/code for
|
|
14
|
+
conservative Divi 5 runtimes.
|
|
10
15
|
`;
|
|
11
16
|
export const diviMigrationCopilotDisclaimer = 'Respira helps you plan and validate your Divi 5 migration. Divi’s Migrator performs the actual conversion.';
|
|
12
17
|
export const diviMigrationCopilotPrompts = [
|
|
@@ -40,7 +45,10 @@ export const diviPrompts = {
|
|
|
40
45
|
createHeroSection: {
|
|
41
46
|
name: 'create_divi_hero',
|
|
42
47
|
description: 'Create a Divi hero section using structured nodes',
|
|
43
|
-
template: `Create a Divi
|
|
48
|
+
template: `Create a Divi hero section using only modules that wordpress_get_builder_info marks safe on this site.
|
|
49
|
+
If the Divi 5 runtime is conservative, prefer Divi 5 layout wrappers plus divi/code, or use a Divi 4 equivalent on legacy pages.
|
|
50
|
+
|
|
51
|
+
Example conservative Divi 5 node format:
|
|
44
52
|
{
|
|
45
53
|
type: "divi/section",
|
|
46
54
|
attributes: { background_color: "{bg_color}", background_image: "{bg_url}" },
|
|
@@ -49,8 +57,9 @@ export const diviPrompts = {
|
|
|
49
57
|
type: "divi/row",
|
|
50
58
|
attributes: {},
|
|
51
59
|
children: [
|
|
52
|
-
{ type: "divi/
|
|
53
|
-
|
|
60
|
+
{ type: "divi/column", attributes: {}, children: [
|
|
61
|
+
{ type: "divi/code", attributes: { admin_label: "Hero Content" }, content: "<section><h1>{heading}</h1><p>{subheading}</p><p><a href=\\"{url}\\">{text}</a></p></section>" }
|
|
62
|
+
] }
|
|
54
63
|
]
|
|
55
64
|
}
|
|
56
65
|
]
|
|
@@ -71,8 +80,10 @@ Example: To make text blue, set text_color="#0000FF"`,
|
|
|
71
80
|
updateTextContent: {
|
|
72
81
|
name: 'update_divi_text',
|
|
73
82
|
description: 'Update text content in a Divi text node',
|
|
74
|
-
template: `Find the text node
|
|
75
|
-
|
|
83
|
+
template: `Find the existing text-capable node and modify only its content field.
|
|
84
|
+
- Divi 5: use an existing verified native text block only if the site marks it safe
|
|
85
|
+
- Conservative Divi 5 runtimes: prefer editing an existing divi/code block
|
|
86
|
+
- Divi 4: use et_pb_text
|
|
76
87
|
|
|
77
88
|
Example:
|
|
78
89
|
- Original: <h1>Old Heading</h1>
|
|
@@ -81,15 +92,15 @@ Example:
|
|
|
81
92
|
addButton: {
|
|
82
93
|
name: 'add_divi_button',
|
|
83
94
|
description: 'Add a button node to a Divi page',
|
|
84
|
-
template: `Create a button
|
|
95
|
+
template: `Create a button only if wordpress_get_builder_info says the target native block is safe on this site.
|
|
96
|
+
Otherwise, prefer a verified existing button block, divi/code on conservative Divi 5 runtimes, or et_pb_button on Divi 4 pages.
|
|
97
|
+
|
|
98
|
+
Required attributes when a native button is safe:
|
|
85
99
|
- button_text: The button label
|
|
86
100
|
- button_url: The link URL
|
|
87
101
|
- button_alignment: left, center, or right
|
|
88
102
|
- button_bg_color: Background color (hex format)
|
|
89
|
-
- button_text_color: Text color (hex format)
|
|
90
|
-
|
|
91
|
-
Example node:
|
|
92
|
-
{ type: "divi/button", attributes: { button_text: "Click Here", button_url: "https://example.com", button_alignment: "center", button_bg_color: "#0000FF", button_text_color: "#FFFFFF" }, content: "" }`,
|
|
103
|
+
- button_text_color: Text color (hex format)`,
|
|
93
104
|
},
|
|
94
105
|
updateImage: {
|
|
95
106
|
name: 'update_divi_image',
|
package/dist/divi-prompts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divi-prompts.js","sourceRoot":"","sources":["../src/divi-prompts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,MAAM,CAAC,MAAM,gBAAgB,GAAG
|
|
1
|
+
{"version":3,"file":"divi-prompts.js","sourceRoot":"","sources":["../src/divi-prompts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;CAS/B,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GACzC,4GAA4G,CAAC;AAE/G,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC;QACE,EAAE,EAAE,iBAAiB;QACrB,KAAK,EAAE,2BAA2B;QAClC,MAAM,EAAE,wOAAwO;KACjP;IACD;QACE,EAAE,EAAE,qBAAqB;QACzB,KAAK,EAAE,uBAAuB;QAC9B,MAAM,EAAE,2MAA2M;KACpN;IACD;QACE,EAAE,EAAE,uBAAuB;QAC3B,KAAK,EAAE,4BAA4B;QACnC,MAAM,EAAE,gNAAgN;KACzN;IACD;QACE,EAAE,EAAE,mBAAmB;QACvB,KAAK,EAAE,mBAAmB;QAC1B,MAAM,EAAE,yMAAyM;KAClN;I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CAAC;IACZ,CAAC;IAED,IAAI,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;IAC/B,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACjD,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,MAAM,GAAG,KAAK,EAAE,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC;IACtE,CAAC,CAAC,CAAC;IAEH,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,14 +3,6 @@
|
|
|
3
3
|
* Respira WordPress MCP Server
|
|
4
4
|
* Entry point
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* The MCP SDK writes to stdout; when Cursor/Claude/etc closes, writes throw EPIPE.
|
|
9
|
-
*/
|
|
10
|
-
declare function setupEpipeHandler(): void;
|
|
11
|
-
declare const args: string[];
|
|
12
|
-
declare const isSetupCommand: boolean;
|
|
13
|
-
declare const isStdioCommand: boolean;
|
|
14
|
-
declare function startStdioMode(): Promise<void>;
|
|
15
|
-
declare function startMcpServer(): Promise<void>;
|
|
6
|
+
export { configSchema } from './smithery.js';
|
|
7
|
+
export { default } from './smithery.js';
|
|
16
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;GAGG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
2
|
/**
|
|
4
3
|
* Respira WordPress MCP Server
|
|
5
4
|
* Entry point
|
|
6
5
|
*/
|
|
6
|
+
import { resolve } from 'path';
|
|
7
|
+
import { fileURLToPath } from 'url';
|
|
8
|
+
export { configSchema } from './smithery.js';
|
|
9
|
+
export { default } from './smithery.js';
|
|
7
10
|
/**
|
|
8
11
|
* Handle EPIPE (broken pipe) gracefully when the client disconnects.
|
|
9
12
|
* The MCP SDK writes to stdout; when Cursor/Claude/etc closes, writes throw EPIPE.
|
|
@@ -17,33 +20,48 @@ function setupEpipeHandler() {
|
|
|
17
20
|
process.exit(1);
|
|
18
21
|
});
|
|
19
22
|
}
|
|
23
|
+
function isDirectCliExecution() {
|
|
24
|
+
const argvPath = process.argv[1];
|
|
25
|
+
if (!argvPath) {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
try {
|
|
29
|
+
return fileURLToPath(import.meta.url) === resolve(argvPath);
|
|
30
|
+
}
|
|
31
|
+
catch {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
20
35
|
// Handle CLI flags before starting MCP server
|
|
21
36
|
const args = process.argv.slice(2);
|
|
22
|
-
|
|
23
|
-
args.includes('
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
if (isDirectCliExecution()) {
|
|
38
|
+
const isSetupCommand = args.includes('--setup') ||
|
|
39
|
+
args.includes('-s') ||
|
|
40
|
+
args.includes('--list') ||
|
|
41
|
+
args.includes('-l') ||
|
|
42
|
+
args.includes('--test') ||
|
|
43
|
+
args.includes('-t') ||
|
|
44
|
+
args.includes('--install-config') ||
|
|
45
|
+
args.includes('--help') ||
|
|
46
|
+
args.includes('-h');
|
|
47
|
+
const isStdioCommand = args.includes('--stdio');
|
|
48
|
+
if (isSetupCommand) {
|
|
49
|
+
// Dynamically import and run setup module
|
|
50
|
+
import('./setup.js').then(({ handleSetupCli }) => {
|
|
51
|
+
handleSetupCli().catch((err) => {
|
|
52
|
+
console.error('Setup error:', err);
|
|
53
|
+
process.exit(1);
|
|
54
|
+
});
|
|
37
55
|
});
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
56
|
+
}
|
|
57
|
+
else if (isStdioCommand) {
|
|
58
|
+
// STDIO transport mode for WP-CLI / MCP Adapter integration
|
|
59
|
+
startStdioMode();
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
// Normal MCP server startup
|
|
63
|
+
startMcpServer();
|
|
64
|
+
}
|
|
47
65
|
}
|
|
48
66
|
async function startStdioMode() {
|
|
49
67
|
setupEpipeHandler();
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC;;;GAGG;AACH,SAAS,iBAAiB;IACxB,OAAO,CAAC,EAAE,CAAC,mBAAmB,EAAE,CAAC,GAA0B,EAAE,EAAE;QAC7D,IAAI,GAAG,CAAC,IAAI,KAAK,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,EA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AAM,GAAG,UAAU,EAAE,CAAC;QAE5B,wBAAwB;QACxB,MAAM,MAAM,GAAG,IAAI,sBAAsB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACxD,MAAM,MAAM,CAAC,GAAG,EAAE,CAAC;IACrB,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,MAAM,YAAY,GAAG,KAAK,EAAE,OAAO,IAAI,KAAK,EAAE,QAAQ,EAAE,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,eAAe,CAAC;QAC7F,MAAM,UAAU,GAAG,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,YAAY,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACjE,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;QAC5C,IAAI,UAAU,EAAE,CAAC;YACf,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAC5B,CAAC;QAED,8BAA8B;QAC9B,MAAM,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;QAE/B,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
package/dist/server.d.ts
CHANGED
|
@@ -3,14 +3,20 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Provides tools for AI coding assistants to interact with WordPress sites
|
|
5
5
|
*/
|
|
6
|
+
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
6
7
|
import type { WordPressSiteConfig } from './types/index.js';
|
|
7
8
|
export declare class RespiraWordPressServer {
|
|
8
9
|
private server;
|
|
9
10
|
private currentSite;
|
|
10
11
|
private sites;
|
|
12
|
+
private defaultSiteId;
|
|
11
13
|
private versionChecker;
|
|
12
|
-
|
|
14
|
+
static readonly MCP_SERVER_VERSION = "4.0.1";
|
|
13
15
|
constructor(siteConfigs: WordPressSiteConfig[]);
|
|
16
|
+
getMcpServer(): Server;
|
|
17
|
+
private getSiteSummary;
|
|
18
|
+
private getActiveSiteSummary;
|
|
19
|
+
private withSiteContext;
|
|
14
20
|
private setupHandlers;
|
|
15
21
|
private attachUpdateNotice;
|
|
16
22
|
private appendUpdateNoticeToError;
|
package/dist/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AASnE,OAAO,KAAK,EAAE,mBAAmB,EAAe,MAAM,kBAAkB,CAAC;AAEzE,qBAAa,sBAAsB;IACjC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,WAAW,CAAgC;IACnD,OAAO,CAAC,KAAK,CAA2C;IACxD,OAAO,CAAC,aAAa,CAAuB;IAC5C,OAAO,CAAC,cAAc,CAAwB;IAE9C,MAAM,CAAC,QAAQ,CAAC,kBAAkB,WAAW;gBAEjC,WAAW,EAAE,mBAAmB,EAAE;IAgC9C,YAAY,IAAI,MAAM;IAItB,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,oBAAoB;IAQ5B,OAAO,CAAC,eAAe;IAmBvB,OAAO,CAAC,aAAa;YAiHP,kBAAkB;YA6BlB,yBAAyB;YASzB,QAAQ;YAuxDR,2BAA2B;IAazC,OAAO,CAAC,mBAAmB;YAwTb,cAAc;IA2btB,GAAG;CAKV"}
|