| Package | Description |
|---|---|
| io.modelcontextprotocol.client | |
| io.modelcontextprotocol.client.transport |
| Modifier and Type | Method and Description |
|---|---|
static McpClient.AsyncSpec |
McpClient.async(McpClientTransport transport)
Start building an asynchronous MCP client with the specified transport layer.
|
static McpClient.SyncSpec |
McpClient.sync(McpClientTransport transport)
Start building a synchronous MCP client with the specified transport layer.
|
| 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. |
Copyright © 2025. All rights reserved.