MCPTransportImpl

org.llm4s.mcp.MCPTransportImpl

Base trait for transport implementations.

Provides the interface for sending JSON-RPC requests and notifications to an MCP server and managing the connection lifecycle.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def close(): Unit
def name: String
def sendNotification(notification: JsonRpcNotification): Either[String, Unit]
def sendRequest(request: JsonRpcRequest): Either[String, JsonRpcResponse]