Class ConfigurableMcpServerFactory
java.lang.Object
com.github.thought2code.mcp.annotated.server.configurable.ConfigurableMcpServerFactory
This factory class is used to create instances of
AbstractConfigurableMcpServer
implementations based on the specified McpServerConfiguration.- Author:
- codeboyzhou
-
Method Summary
Modifier and TypeMethodDescriptiongetServer(McpServerConfiguration config) Creates a new instance ofAbstractConfigurableMcpServerimplementations based on the specifiedMcpServerConfiguration.
-
Method Details
-
getServer
Creates a new instance ofAbstractConfigurableMcpServerimplementations based on the specifiedMcpServerConfiguration.- Parameters:
config- the configuration to use for the server- Returns:
- a new instance of
AbstractConfigurableMcpServer
-