Class ShaftMcpApplication
java.lang.Object
com.shaft.mcp.ShaftMcpApplication
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThe main entry point for the ShaftMcpApplication.List<org.springframework.ai.tool.ToolCallback> shaftTools(EngineService engineService, BrowserService browserService, ElementService elementService, PlaywrightService playwrightService, NaturalActionService naturalActionService, MobileService mobileService, CaptureService captureService, DoctorService doctorService, HealerService healerService, GuideService guideService, TestAutomationService testAutomationService) Registers the ShaftService tool callbacks.
-
Constructor Details
-
ShaftMcpApplication
public ShaftMcpApplication()
-
-
Method Details
-
main
The main entry point for the ShaftMcpApplication.- Parameters:
args- command-line arguments- Throws:
IOException
-
shaftTools
@Bean public List<org.springframework.ai.tool.ToolCallback> shaftTools(EngineService engineService, BrowserService browserService, ElementService elementService, PlaywrightService playwrightService, NaturalActionService naturalActionService, MobileService mobileService, CaptureService captureService, DoctorService doctorService, HealerService healerService, GuideService guideService, TestAutomationService testAutomationService) Registers the ShaftService tool callbacks.- Parameters:
engineService- the ShaftService instance- Returns:
- a list of ToolCallback instances
-