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