Navigation
API > API/Plugins > API/Plugins/ModelContextProtocol > API/Plugins/ModelContextProtocol/IModelContextProtocolModule
Description
Records an MCP analytics event via the currently installed provider. No-op if no provider is set. The event name is prepended with the namespace returned by GetAnalyticsEventNamespace.
| Name | RecordAnalyticsEvent |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ModelContextProtocol/Source/ModelContextProtocol/Public/IModelContextProtocolModule.h |
| Include Path | #include "IModelContextProtocolModule.h" |
void RecordAnalyticsEvent
(
const FString & EventName,
const TArray < FAnalyticsEventAttribute > & Attributes
)