| Package | Description |
|---|---|
| io.modelcontextprotocol.server |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
McpAsyncServer.addPrompt(McpServerFeatures.AsyncPromptRegistration promptRegistration)
Deprecated.
This method will be removed in 0.9.0. Use
McpAsyncServer.addPrompt(McpServerFeatures.AsyncPromptSpecification). |
McpServer.AsyncSpec |
McpServer.AsyncSpec.prompts(McpServerFeatures.AsyncPromptRegistration... prompts)
Deprecated.
Registers multiple prompts with their handlers using varargs.
|
| Modifier and Type | Method and Description |
|---|---|
McpServer.AsyncSpec |
McpServer.AsyncSpec.prompts(List<McpServerFeatures.AsyncPromptRegistration> prompts)
Deprecated.
Registers multiple prompts with their handlers using a List.
|
McpServer.AsyncSpec |
McpServer.AsyncSpec.prompts(Map<String,McpServerFeatures.AsyncPromptRegistration> prompts)
Deprecated.
Registers multiple prompts with their handlers using a Map.
|
Copyright © 2025. All rights reserved.