Files
integration/Plugins/BlueprintMCP/Source/BlueprintMCP/Public/MCPCommandlet.h
2026-03-09 03:44:35 -04:00

22 lines
497 B
C++

#pragma once
#include "CoreMinimal.h"
#include "Commandlets/Commandlet.h"
#include "MCPCommandlet.generated.h"
/**
* Commandlet that keeps the engine alive so the BlueprintMCP editor subsystem
* can serve MCP requests without the full editor UI.
*
* Usage: UnrealEditor-Cmd.exe Project.uproject -run=BlueprintMCP
*/
UCLASS()
class UBlueprintMCPCommandlet : public UCommandlet
{
GENERATED_BODY()
public:
UBlueprintMCPCommandlet();
virtual int32 Main(const FString& Params) override;
};