Async(McpSchema.Implementation serverInfo,
McpSchema.ServerCapabilities serverCapabilities,
List<McpServerFeatures.AsyncToolSpecification> tools,
Map<String,McpServerFeatures.AsyncResourceSpecification> resources,
List<McpSchema.ResourceTemplate> resourceTemplates,
Map<String,McpServerFeatures.AsyncPromptSpecification> prompts,
Map<McpSchema.CompleteReference,McpServerFeatures.AsyncCompletionSpecification> completions,
List<BiFunction<McpAsyncServerExchange,List<McpSchema.Root>,reactor.core.publisher.Mono<Void>>> rootsChangeConsumers,
String instructions)
Create an instance and validate the arguments.
|
Async(McpSchema.Implementation serverInfo,
McpSchema.ServerCapabilities serverCapabilities,
List<McpStatelessServerFeatures.AsyncToolSpecification> tools,
Map<String,McpStatelessServerFeatures.AsyncResourceSpecification> resources,
List<McpSchema.ResourceTemplate> resourceTemplates,
Map<String,McpStatelessServerFeatures.AsyncPromptSpecification> prompts,
Map<McpSchema.CompleteReference,McpStatelessServerFeatures.AsyncCompletionSpecification> completions,
String instructions)
Create an instance and validate the arguments.
|
Sync(McpSchema.Implementation serverInfo,
McpSchema.ServerCapabilities serverCapabilities,
List<McpServerFeatures.SyncToolSpecification> tools,
Map<String,McpServerFeatures.SyncResourceSpecification> resources,
List<McpSchema.ResourceTemplate> resourceTemplates,
Map<String,McpServerFeatures.SyncPromptSpecification> prompts,
Map<McpSchema.CompleteReference,McpServerFeatures.SyncCompletionSpecification> completions,
List<BiConsumer<McpSyncServerExchange,List<McpSchema.Root>>> rootsChangeConsumers,
String instructions)
Create an instance and validate the arguments.
|
Sync(McpSchema.Implementation serverInfo,
McpSchema.ServerCapabilities serverCapabilities,
List<McpStatelessServerFeatures.SyncToolSpecification> tools,
Map<String,McpStatelessServerFeatures.SyncResourceSpecification> resources,
List<McpSchema.ResourceTemplate> resourceTemplates,
Map<String,McpStatelessServerFeatures.SyncPromptSpecification> prompts,
Map<McpSchema.CompleteReference,McpStatelessServerFeatures.SyncCompletionSpecification> completions,
String instructions)
Create an instance and validate the arguments.
|