Class MCreatorMcpLoadedEvent

java.lang.Object
net.mcreator.plugin.MCREvent
net.mcreator.plugin.events.MCreatorMcpLoadedEvent

public class MCreatorMcpLoadedEvent extends MCREvent
  • Constructor Details

    • MCreatorMcpLoadedEvent

      public MCreatorMcpLoadedEvent(MCreatorMcp mcreatorMcp)

      An event triggered after built-in MCP tools have been registered and before the MCP server is started. Plugins can use it to register custom tools or to add tool call listeners to the server.

      Parameters:
      mcreatorMcp -

      The MCP integration that was loaded

  • Method Details

    • getMCreatorMcp

      public MCreatorMcp getMCreatorMcp()
    • registerTool

      public void registerTool(IMcpTool tool)