| Package | Description |
|---|---|
| io.modelcontextprotocol.server |
| Modifier and Type | Method and Description |
|---|---|
void |
McpSyncServer.addTool(McpServerFeatures.SyncToolRegistration toolHandler)
Deprecated.
This method will be removed in 0.9.0. Use
McpSyncServer.addTool(McpServerFeatures.SyncToolSpecification). |
McpServer.SyncSpec |
McpServer.SyncSpec.tools(McpServerFeatures.SyncToolRegistration... toolRegistrations)
Deprecated.
Adds multiple tools with their handlers to the server using varargs.
|
| Modifier and Type | Method and Description |
|---|---|
McpServer.SyncSpec |
McpServer.SyncSpec.tools(List<McpServerFeatures.SyncToolRegistration> toolRegistrations)
Deprecated.
Adds multiple tools with their handlers to the server using a List.
|
Copyright © 2025. All rights reserved.