mcp_adapter_default_server_config

mcp_adapter_default_server_config

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.4.3

apply_filters('mcp_adapter_default_server_config') is found 1 times:

  • /vendor/wordpress/mcp-adapter/includes/Servers/DefaultServerFactory.php line 63
    			'prompts'                => $auto_discovered_prompts,
    		);
    
    		// Apply WordPress filter for customization
    		$config = apply_filters( 'mcp_adapter_default_server_config', $wordpress_defaults );
    
    		// Ensure config is an array and merge with defaults
    		if ( ! is_array( $config ) ) {
    			$config = $wordpress_defaults;
    		}
    		$config = wp_parse_args( $config, $wordpress_defaults );