类 ConfigurableMcpServerFactory
java.lang.Object
com.github.codeboyzhou.mcp.declarative.server.configurable.ConfigurableMcpServerFactory
This factory class is used to create instances of
AbstractConfigurableMcpServer
implementations based on the specified McpServerConfiguration.- 作者:
- codeboyzhou
-
方法概要
修饰符和类型方法说明getServer(McpServerConfiguration config) Creates a new instance ofAbstractConfigurableMcpServerimplementations based on the specifiedMcpServerConfiguration.
-
方法详细资料
-
getServer
Creates a new instance ofAbstractConfigurableMcpServerimplementations based on the specifiedMcpServerConfiguration.- 参数:
config- the configuration to use for the server- 返回:
- a new instance of
AbstractConfigurableMcpServer
-