Navigation
API > API/Plugins > API/Plugins/ModelContextProtocolEngine
| Name | UModelContextProtocolSettings |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ModelContextProtocol/Source/ModelContextProtocolEngine/Public/ModelContextProtocolSettings.h |
| Include Path | #include "ModelContextProtocolSettings.h" |
Syntax
UCLASS (MinimalAPI, Config=EditorPerProjectUserSettings,
Meta=(DisplayName="Model Context Protocol"))
class UModelContextProtocolSettings : public UDeveloperSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDeveloperSettings → UModelContextProtocolSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAutoStartServer | bool | If true, the HTTP server route will be automatically registered and HTTP listeners started during module startup. | ModelContextProtocolSettings.h |
|
| bEnableToolSearch | bool | If true, tools/list returns only list_toolsets, describe_toolset, and call_tool. | ModelContextProtocolSettings.h |
|
| ServerPortNumber | uint32 | The port number to serve from e.g: 8000 -> http://localhost:8000/mcp | ModelContextProtocolSettings.h |
|
| ServerUrlPath | FString | The URL base path to serve from e.g: "/mcp" -> http://localhost/mcp | ModelContextProtocolSettings.h |
|
Functions
Public Virtual
Overridden from UDeveloperSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
ModelContextProtocolSettings.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void EnforceValidServerUrlPath
(
FString& InOutPath |
If InOutPath fails FHttpPath::IsValidPath, replaces it with UE::ModelContextProtocol::DefaultServerUrlPath and logs a warning. | ModelContextProtocolSettings.h |