Package com.tnsai.mcp.client
package com.tnsai.mcp.client
-
ClassDescriptionShared scaffolding for
McpTransportimplementations.Pluggable hook in theHttpTransportrequest/response path.Forwards a request through the remaining interceptor chain and ultimately the network.HTTP-based MCP transport implementation.Client for connecting to Model Context Protocol (MCP) servers.Builder for creating McpClient instances.Exception for MCP-related errors.Server information returned during initialization.Interface for MCP transport mechanisms.Server-Sent Events (SSE) transport implementation for MCP.Builder for SSETransport.Stdio-based MCP transport that communicates with an external process.Builder for creating StdioTransport instances with custom configuration.Reason for a subprocess disconnection.Streamable HTTP transport implementation for MCP (spec 2025-03-26).Builder for StreamableHttpTransport.Thrown when the server returns 404 indicating the session has expired.Auto-detects the best MCP transport for a given endpoint.