Navigation
API > API/Plugins > API/Plugins/ModelContextProtocol > API/Plugins/ModelContextProtocol/IModelContextProtocolModule
Description
Sets the analytics provider used to record MCP telemetry events. A strong reference to the provider is held until a new or null provider is set.
| Name | SetAnalyticsProvider |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ModelContextProtocol/Source/ModelContextProtocol/Public/IModelContextProtocolModule.h |
| Include Path | #include "IModelContextProtocolModule.h" |
void SetAnalyticsProvider
(
const TSharedPtr < IAnalyticsProviderET > & AnalyticsProvider
)
Parameters
| Name | Remarks |
|---|---|
| AnalyticsProvider | The provider to use, or nullptr to clear. |