mcp_adapter_observability_record_component_registration

mcp_adapter_observability_record_component_registration

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.4.3

apply_filters('mcp_adapter_observability_record_component_registration') is found 1 times:

  • /vendor/wordpress/mcp-adapter/includes/Core/McpComponentRegistry.php line 103
    		$this->mcp_validation_enabled = $mcp_validation_enabled;
    
    		// Allow filtering whether component registration events should be recorded.
    		// Default is false to avoid polluting observability logs during startup.
    		$this->should_record_component_registration = apply_filters( 'mcp_adapter_observability_record_component_registration', false );
    	}
    
    	/**
    	 * Register tools to the server.
    	 *
    	 * @param array $tools Array of ability names (strings) to convert to MCP tools.