| Package | Description |
|---|---|
| io.modelcontextprotocol.server | |
| io.modelcontextprotocol.server.transport |
| Modifier and Type | Method and Description |
|---|---|
static McpServer.AsyncSpecification<?> |
McpServer.async(McpStreamableServerTransportProvider transportProvider)
Starts building an asynchronous MCP server that provides non-blocking operations.
|
static McpServer.StreamableSyncSpecification |
McpServer.sync(McpStreamableServerTransportProvider transportProvider)
Starts building a synchronous MCP server that provides blocking operations.
|
| Constructor and Description |
|---|
McpAsyncServer(McpStreamableServerTransportProvider mcpTransportProvider,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
McpServerFeatures.Async features,
Duration requestTimeout,
McpUriTemplateManagerFactory uriTemplateManagerFactory,
JsonSchemaValidator jsonSchemaValidator) |
StreamableServerAsyncSpecification(McpStreamableServerTransportProvider transportProvider) |
| Modifier and Type | Class and Description |
|---|---|
class |
WebRxStreamableServerTransportProvider
Server-side implementation of the Model Context Protocol (MCP) streamable transport
layer using HTTP with Server-Sent Events (SSE) through Spring WebMVC.
|
Copyright © 2025. All rights reserved.