Class McpServer
java.lang.Object
net.mcreator.io.mcp.McpServer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceObserves tool calls handled by this server. -
Constructor Summary
ConstructorsConstructorDescriptionMcpServer(String name, String version, McpTransport transport) McpServer(String name, String version, McpTransport transport, String instructions) -
Method Summary
-
Constructor Details
-
McpServer
-
McpServer
public McpServer(String name, String version, McpTransport transport, @Nullable String instructions)
-
-
Method Details
-
start
- Throws:
IOException
-
stop
public void stop() -
registerTool
-
addToolCallListener
-