类 AbstractConfigurableMcpServer
java.lang.Object
com.github.codeboyzhou.mcp.declarative.server.configurable.AbstractConfigurableMcpServer
- 所有已实现的接口:
ConfigurableMcpServer
This abstract class represents a configurable MCP (Model Context Protocol) server.
A configurable MCP server can use the McpConfigurationLoader to load its configuration
from a YAML file.
- 作者:
- codeboyzhou
-
字段概要
字段 -
构造器概要
构造器限定符构造器说明protectedAbstractConfigurableMcpServer(McpServerConfiguration configuration) Creates a new instance ofAbstractConfigurableMcpServerwith the specified configuration. -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.github.codeboyzhou.mcp.declarative.server.configurable.ConfigurableMcpServer
sync
-
字段详细资料
-
configuration
The configuration for the MCP server.
-
-
构造器详细资料
-
AbstractConfigurableMcpServer
Creates a new instance ofAbstractConfigurableMcpServerwith the specified configuration.- 参数:
configuration- the configuration for the MCP server
-
-
方法详细资料
-
startServer
public void startServer()Starts the MCP server.This method starts the MCP server using the sync specification provided by
ConfigurableMcpServer.sync().
-