| Package | Description |
|---|---|
| io.modelcontextprotocol.server | |
| io.modelcontextprotocol.server.transport |
| Modifier and Type | Method and Description |
|---|---|
static McpServer.AsyncSpecification<?> |
McpServer.async(McpServerTransportProvider transportProvider)
Starts building an asynchronous MCP server that provides non-blocking operations.
|
static McpServer.SingleSessionSyncSpecification |
McpServer.sync(McpServerTransportProvider transportProvider)
Starts building a synchronous MCP server that provides blocking operations.
|
| Constructor and Description |
|---|
McpAsyncServer(McpServerTransportProvider mcpTransportProvider,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
McpServerFeatures.Async features,
Duration requestTimeout,
McpUriTemplateManagerFactory uriTemplateManagerFactory,
JsonSchemaValidator jsonSchemaValidator)
Create a new McpAsyncServer with the given transport provider and capabilities.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StdioServerTransportProvider
Implementation of the MCP Stdio transport provider for servers that communicates using
standard input/output streams.
|
class |
WebRxSseServerTransportProvider
Server-side implementation of the Model Context Protocol (MCP) transport layer using
HTTP with Server-Sent Events (SSE) through Spring WebMVC.
|
Copyright © 2025. All rights reserved.