| Package | Description |
|---|---|
| io.modelcontextprotocol.client.transport | |
| io.modelcontextprotocol.spec |
| Modifier and Type | Class and Description |
|---|---|
class |
StdioClientTransport
Implementation of the MCP Stdio transport that communicates with a server process using
standard input/output streams.
|
class |
WebRxSseClientTransport
Server-Sent Events (SSE) implementation of the
McpTransport that follows the MCP HTTP with SSE
transport specification. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClientMcpTransport
Deprecated.
This class will be removed in 0.9.0. Use
McpClientTransport. |
interface |
McpClientTransport
Marker interface for the client-side MCP transport.
|
interface |
McpServerTransport
Marker interface for the server-side MCP transport.
|
interface |
ServerMcpTransport
Deprecated.
This class will be removed in 0.9.0. Use
McpServerTransport. |
| Constructor and Description |
|---|
DefaultMcpSession(Duration requestTimeout,
McpTransport transport,
Map<String,DefaultMcpSession.RequestHandler<?>> requestHandlers,
Map<String,DefaultMcpSession.NotificationHandler> notificationHandlers)
Deprecated.
Creates a new DefaultMcpSession with the specified configuration and handlers.
|
McpClientSession(Duration requestTimeout,
McpTransport transport,
Map<String,McpClientSession.RequestHandler<?>> requestHandlers,
Map<String,McpClientSession.NotificationHandler> notificationHandlers)
Creates a new McpClientSession with the specified configuration and handlers.
|
Copyright © 2025. All rights reserved.