Uses of Interface
io.modelcontextprotocol.spec.McpClientTransport
Packages that use McpClientTransport
Package
Description
-
Uses of McpClientTransport in io.modelcontextprotocol.client
Methods in io.modelcontextprotocol.client with parameters of type McpClientTransportModifier and TypeMethodDescriptionstatic McpClient.AsyncSpecMcpClient.async(McpClientTransport transport) Start building an asynchronous MCP client with the specified transport layer.static McpClient.SyncSpecMcpClient.sync(McpClientTransport transport) Start building a synchronous MCP client with the specified transport layer. -
Uses of McpClientTransport in io.modelcontextprotocol.client.transport
Classes in io.modelcontextprotocol.client.transport that implement McpClientTransportModifier and TypeClassDescriptionclassServer-Sent Events (SSE) implementation of theMcpTransportthat follows the MCP HTTP with SSE transport specification, using Java's HttpClient.classImplementation of the MCP Stdio transport that communicates with a server process using standard input/output streams. -
Uses of McpClientTransport in io.modelcontextprotocol.spec
Constructors in io.modelcontextprotocol.spec with parameters of type McpClientTransportModifierConstructorDescriptionMcpClientSession(Duration requestTimeout, McpClientTransport transport, Map<String, McpClientSession.RequestHandler<?>> requestHandlers, Map<String, McpClientSession.NotificationHandler> notificationHandlers) Creates a new McpClientSession with the specified configuration and handlers.