| Package | Description |
|---|---|
| io.modelcontextprotocol.server |
| Modifier and Type | Method and Description |
|---|---|
void |
McpSyncServer.addPrompt(McpServerFeatures.SyncPromptRegistration promptRegistration)
Deprecated.
This method will be removed in 0.9.0. Use
McpSyncServer.addPrompt(McpServerFeatures.SyncPromptSpecification). |
McpServer.SyncSpec |
McpServer.SyncSpec.prompts(McpServerFeatures.SyncPromptRegistration... prompts)
Deprecated.
Registers multiple prompts with their handlers using varargs.
|
| Modifier and Type | Method and Description |
|---|---|
McpServer.SyncSpec |
McpServer.SyncSpec.prompts(List<McpServerFeatures.SyncPromptRegistration> prompts)
Deprecated.
Registers multiple prompts with their handlers using a List.
|
McpServer.SyncSpec |
McpServer.SyncSpec.prompts(Map<String,McpServerFeatures.SyncPromptRegistration> prompts)
Deprecated.
Registers multiple prompts with their handlers using a Map.
|
Copyright © 2025. All rights reserved.