@noleemits/vision-builder-control-mcp 4.15.1 → 4.15.2
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 +1 -1
- package/index.js +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -104,7 +104,7 @@ process.on('SIGINT', () => {
|
|
|
104
104
|
// CONFIG
|
|
105
105
|
// ================================================================
|
|
106
106
|
|
|
107
|
-
const VERSION = '4.15.
|
|
107
|
+
const VERSION = '4.15.2';
|
|
108
108
|
const MIN_PLUGIN_VERSION = '4.13.0'; // Minimum WP plugin version required by this MCP server
|
|
109
109
|
|
|
110
110
|
// ================================================================
|
|
@@ -2051,7 +2051,7 @@ function getToolDefinitions() {
|
|
|
2051
2051
|
},
|
|
2052
2052
|
{
|
|
2053
2053
|
name: 'find_replace',
|
|
2054
|
-
description: 'Global find & replace across all Elementor pages. Searches heading titles, text-editor HTML, button text, image-box titles/descriptions, icon-list items, toggle titles/content, and image alt text. Supports literal text or regex. Always preview with dry_run=true first.',
|
|
2054
|
+
description: 'Global find & replace across all Elementor pages. Searches heading titles, text-editor HTML, button text, image-box titles/descriptions, icon-box titles/descriptions, icon-list items, toggle titles/content, and image alt text. Supports literal text or regex. Always preview with dry_run=true first.',
|
|
2055
2055
|
inputSchema: {
|
|
2056
2056
|
type: 'object',
|
|
2057
2057
|
properties: {
|
|
@@ -2116,6 +2116,7 @@ function getToolDefinitions() {
|
|
|
2116
2116
|
post_type: { type: 'string', description: '"post", "page", "any" (default), or CPT slug' },
|
|
2117
2117
|
status: { type: 'string', description: 'Comma-separated: publish,draft,private (default: all three)' },
|
|
2118
2118
|
search: { type: 'string', description: 'Search by keyword' },
|
|
2119
|
+
category: { type: 'string', description: 'Filter by category: ID (number) or slug (string). Only applies to post types with categories.' },
|
|
2119
2120
|
per_page: { type: 'number', description: 'Results per page, max 100 (default: 50)' },
|
|
2120
2121
|
page: { type: 'number', description: 'Page number (default: 1)' }
|
|
2121
2122
|
}
|
|
@@ -3678,6 +3679,7 @@ async function handleToolCall(name, args) {
|
|
|
3678
3679
|
if (args.post_type) params.set('post_type', args.post_type);
|
|
3679
3680
|
if (args.status) params.set('status', args.status);
|
|
3680
3681
|
if (args.search) params.set('search', args.search);
|
|
3682
|
+
if (args.category) params.set('category', args.category);
|
|
3681
3683
|
if (args.per_page) params.set('per_page', args.per_page);
|
|
3682
3684
|
if (args.page) params.set('page', args.page);
|
|
3683
3685
|
const qs = params.toString() ? `?${params.toString()}` : '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noleemits/vision-builder-control-mcp",
|
|
3
|
-
"version": "4.15.
|
|
3
|
+
"version": "4.15.2",
|
|
4
4
|
"description": "Vision Builder Control MCP server - design token-driven page builder tools for WordPress/Elementor websites",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|