Class ShaftMcpApplication

java.lang.Object
com.shaft.mcp.ShaftMcpApplication

@SpringBootApplication public class ShaftMcpApplication extends Object
  • Constructor Details

    • ShaftMcpApplication

      public ShaftMcpApplication()
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      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. PlaywrightService and NaturalActionService's former natural_act/mobile_natural_act tools are deliberately absent: since commit 4 of the tool architecture sweep (design doc Decision 2), every playwright_* tool is absorbed into the unified element_*/browser_*/ capture_*/doctor_*/healer_* tools (PlaywrightService is still a Spring bean, injected directly by those services as a dispatch target -- it registers zero @Tool methods 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