Uses of Interface
com.tnsai.mcp.client.McpTransport
Packages that use McpTransport
Package
Description
-
Uses of McpTransport in com.tnsai.mcp.auth
Classes in com.tnsai.mcp.auth that implement McpTransportModifier and TypeClassDescriptionclassTransport decorator that adds OAuth Bearer token authentication to anyMcpTransport.Methods in com.tnsai.mcp.auth that return McpTransportModifier and TypeMethodDescriptionOAuthMcpTransport.getDelegate()Returns the underlying delegate transport.Methods in com.tnsai.mcp.auth with parameters of type McpTransportModifier and TypeMethodDescriptionOAuthMcpTransport.Builder.delegate(McpTransport delegate) Sets the underlying transport to delegate to.Constructors in com.tnsai.mcp.auth with parameters of type McpTransportModifierConstructorDescriptionOAuthMcpTransport(McpTransport delegate, McpTokenManager tokenManager, String serverUrl, String tokenEndpoint, String clientId) Creates a new OAuthMcpTransport. -
Uses of McpTransport in com.tnsai.mcp.client
Classes in com.tnsai.mcp.client that implement McpTransportModifier and TypeClassDescriptionclassShared scaffolding forMcpTransportimplementations.classHTTP-based MCP transport implementation.classServer-Sent Events (SSE) transport implementation for MCP.classStdio-based MCP transport that communicates with an external process.classStreamable HTTP transport implementation for MCP (spec 2025-03-26).Methods in com.tnsai.mcp.client that return McpTransportModifier and TypeMethodDescriptionstatic McpTransportDetects the best transport for a given endpoint.static McpTransportDetects the best transport for a given endpoint with custom headers.Methods in com.tnsai.mcp.client with parameters of type McpTransportModifier and TypeMethodDescriptionstatic McpClientMcpClient.create(McpTransport transport) Creates an McpClient with the given transport and default settings.McpClient.Builder.transport(McpTransport transport) Sets the transport to use.Constructors in com.tnsai.mcp.client with parameters of type McpTransportModifierConstructorDescriptionMcpClient(McpTransport transport) Creates an McpClient with the given transport and default settings. -
Uses of McpTransport in com.tnsai.mcp.hub
Methods in com.tnsai.mcp.hub with parameters of type McpTransportModifier and TypeMethodDescriptionstatic McpToolBridgeMcpToolBridge.custom(McpTransport transport, String name, String description) Create a bridge with custom transport. -
Uses of McpTransport in com.tnsai.mcp.observability
Classes in com.tnsai.mcp.observability that implement McpTransportModifier and TypeClassDescriptionclassDecorator that wraps anMcpTransportto add tracing spans around send and receive operations.Methods in com.tnsai.mcp.observability that return McpTransportModifier and TypeMethodDescriptionMcpTracingInterceptor.getDelegate()Returns the underlying transport being decorated.Constructors in com.tnsai.mcp.observability with parameters of type McpTransportModifierConstructorDescriptionMcpTracingInterceptor(McpTransport delegate, McpTracer tracer) Creates a tracing interceptor wrapping the given transport. -
Uses of McpTransport in com.tnsai.mcp.testing
Classes in com.tnsai.mcp.testing that implement McpTransportModifier and TypeClassDescriptionclassDecorator transport that records all JSON-RPC messages for inspection.classIn-memory transport that connects McpClient directly to MockMcpServer.Constructors in com.tnsai.mcp.testing with parameters of type McpTransportModifierConstructorDescriptionMcpInspectorClient(McpTransport delegate) Creates an inspector that wraps the given transport.