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