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, MobileService mobileService, CaptureService captureService, DoctorService doctorService, TraceService traceService, HealerService healerService, GuideService guideService, ShaftProjectService shaftProjectService, TestAutomationService testAutomationService, CodingPartnerService codingPartnerService, AutobotService autobotService, PlannerService plannerService) 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, MobileService mobileService, CaptureService captureService, DoctorService doctorService, TraceService traceService, HealerService healerService, GuideService guideService, ShaftProjectService shaftProjectService, TestAutomationService testAutomationService, CodingPartnerService codingPartnerService, AutobotService autobotService, PlannerService plannerService) Registers the ShaftService tool callbacks.PlaywrightServiceandNaturalActionService's formernatural_act/mobile_natural_acttools are deliberately absent: since commit 4 of the tool architecture sweep (design doc Decision 2), everyplaywright_*tool is absorbed into the unifiedelement_*/browser_*/capture_*/doctor_*/healer_*tools (PlaywrightService is still a Spring bean, injected directly by those services as a dispatch target -- it registers zero@Toolmethods of its own), and the two intent-based "smart act" tools were deleted outright per an explicit owner mandate (no deprecation shim, no re-export).- Parameters:
engineService- the ShaftService instance- Returns:
- a list of ToolCallback instances
-