You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Introduced settings for enabling create, update, and delete operations via tools in the Admin Settings.
- Enhanced validation for tool registration to ensure functionality type is specified and valid.
- Updated the UI to reflect new tool settings and added corresponding descriptions.
- Modified existing tools to include functionality types for better management and clarity.
Copy file name to clipboardExpand all lines: includes/Admin/Settings.php
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,12 @@ public function enqueue_scripts( string $hook ): void {
100
100
'enableMcpDescription' => __( 'Toggle to enable or disable the MCP plugin functionality.', 'wordpress-mcp' ),
101
101
'enableFeaturesAdapter' => __( 'Enable WordPress Features Adapter', 'wordpress-mcp' ),
102
102
'enableFeaturesAdapterDescription' => __( 'Enable or disable the WordPress Features Adapter. This option only works when MCP is enabled.', 'wordpress-mcp' ),
Copy file name to clipboardExpand all lines: includes/Tools/McpSiteInfo.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
<?php//phpcs:ignore
2
-
declare(strict_types=1);
2
+
declare(strict_types=1);
3
3
4
4
namespaceAutomattic\WordpressMcp\Tools;
5
5
@@ -31,6 +31,7 @@ public function register_tools(): void {
31
31
array(
32
32
'name' => 'get_site_info',
33
33
'description' => 'Provides detailed information about the WordPress site like site name, url, description, admin email, plugins, themes, users, and more',
0 commit comments