类的使用
com.github.codeboyzhou.mcp.declarative.configuration.McpServerConfiguration.Builder
-
com.github.codeboyzhou.mcp.declarative.configuration中McpServerConfiguration.Builder的使用
修饰符和类型方法说明McpServerConfiguration.builder()Creates a new instance ofBuilderto buildMcpServerConfiguration.McpServerConfiguration.Builder.capabilities(McpServerCapabilities capabilities) Sets the server capabilities.McpServerConfiguration.Builder.changeNotification(McpServerChangeNotification changeNotification) Sets the change notification configuration.Sets the enabled status.McpServerConfiguration.Builder.instructions(String instructions) Sets the server instructions.McpServerConfiguration.Builder.mode(ServerMode mode) Sets the server mode.Sets the server name.Sets the profile.McpServerConfiguration.Builder.requestTimeout(Long requestTimeout) Sets the request timeout.McpServerConfiguration.Builder.sse(McpServerSSE sse) Sets the SSE configuration.McpServerConfiguration.Builder.streamable(McpServerStreamable streamable) Sets the streamable configuration.McpServerConfiguration.Builder.type(ServerType type) Sets the server type.Sets the server version.