| Package | Description |
|---|---|
| io.modelcontextprotocol.server | |
| io.modelcontextprotocol.spec |
| Constructor and Description |
|---|
McpAsyncServerExchange(String sessionId,
McpLoggableSession session,
McpSchema.ClientCapabilities clientCapabilities,
McpSchema.Implementation clientInfo,
McpTransportContext transportContext)
Create a new asynchronous exchange with the client.
|
| Modifier and Type | Class and Description |
|---|---|
class |
McpServerSession
Represents a Model Context Protocol (MCP) session on the server side.
|
class |
McpStreamableServerSession
Representation of a Streamable HTTP server session that keeps track of mapping
server-initiated requests to the client and mapping arriving responses.
|
class |
McpStreamableServerSession.McpStreamableServerSessionStream
An individual SSE stream within a Streamable HTTP context.
|
class |
MissingMcpTransportSession
A
McpLoggableSession which represents a missing stream that would allow the
server to communicate with the client. |
Copyright © 2025. All rights reserved.