| Package | Description |
|---|---|
| io.modelcontextprotocol.server |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
McpAsyncServer.addPrompt(McpServerFeatures.AsyncPromptSpecification promptSpecification)
Add a new prompt handler at runtime.
|
McpServer.AsyncSpecification |
McpServer.AsyncSpecification.prompts(McpServerFeatures.AsyncPromptSpecification... prompts)
Registers multiple prompts with their handlers using varargs.
|
| Modifier and Type | Method and Description |
|---|---|
McpServer.AsyncSpecification |
McpServer.AsyncSpecification.prompts(List<McpServerFeatures.AsyncPromptSpecification> prompts)
Registers multiple prompts with their handlers using a List.
|
McpServer.AsyncSpecification |
McpServer.AsyncSpecification.prompts(Map<String,McpServerFeatures.AsyncPromptSpecification> prompts)
Registers multiple prompts with their handlers using a Map.
|
Copyright © 2025. All rights reserved.