| Package | Description |
|---|---|
| io.modelcontextprotocol.server |
| Modifier and Type | Method and Description |
|---|---|
static McpServerFeatures.AsyncToolSpecification |
McpServerFeatures.AsyncToolSpecification.fromSync(McpServerFeatures.SyncToolSpecification tool) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
McpAsyncServer.addTool(McpServerFeatures.AsyncToolSpecification toolSpecification)
Add a new tool specification at runtime.
|
McpServer.AsyncSpecification |
McpServer.AsyncSpecification.tools(McpServerFeatures.AsyncToolSpecification... toolSpecifications)
Adds multiple tools with their handlers to the server using varargs.
|
| Modifier and Type | Method and Description |
|---|---|
McpServer.AsyncSpecification |
McpServer.AsyncSpecification.tools(List<McpServerFeatures.AsyncToolSpecification> toolSpecifications)
Adds multiple tools with their handlers to the server using a List.
|
Copyright © 2025. All rights reserved.