| Package | Description |
|---|---|
| io.modelcontextprotocol.server |
| Modifier and Type | Method and Description |
|---|---|
McpAsyncServer |
McpServer.SingleSessionAsyncSpecification.build()
Builds an asynchronous MCP server that provides non-blocking operations.
|
McpAsyncServer |
McpServer.StreamableServerAsyncSpecification.build()
Builds an asynchronous MCP server that provides non-blocking operations.
|
abstract McpAsyncServer |
McpServer.AsyncSpecification.build() |
McpAsyncServer |
McpSyncServer.getAsyncServer()
Get the underlying async server instance.
|
| Constructor and Description |
|---|
McpSyncServer(McpAsyncServer asyncServer)
Creates a new synchronous server that wraps the provided async server.
|
McpSyncServer(McpAsyncServer asyncServer,
boolean immediateExecution)
Creates a new synchronous server that wraps the provided async server.
|
Copyright © 2025. All rights reserved.