public static class McpServer.SingleSessionAsyncSpecification extends McpServer.AsyncSpecification<McpServer.SingleSessionAsyncSpecification>
| 限定符和类型 | 方法和说明 |
|---|---|
McpAsyncServer |
build()
Builds an asynchronous MCP server that provides non-blocking operations.
|
capabilities, completions, completions, instructions, jsonMapper, jsonSchemaValidator, prompts, prompts, prompts, requestTimeout, resources, resources, resources, resourceTemplates, resourceTemplates, rootsChangeHandler, rootsChangeHandlers, rootsChangeHandlers, serverInfo, serverInfo, tool, toolCall, tools, tools, uriTemplateManagerFactorypublic McpAsyncServer build()
build 在类中 McpServer.AsyncSpecification<McpServer.SingleSessionAsyncSpecification>McpAsyncServer configured with this builder's
settings.