org.llm4s.mcp.MCPClientImpl
See theMCPClientImpl companion object
Implementation of MCP client that connects to and communicates with MCP servers. Handles JSON-RPC communication, tool discovery, and execution delegation. Supports both 2025-06-18 (Streamable HTTP) and 2024-11-05 (HTTP+SSE) transports.
Attributes
Companion
object
Graph
Reset zoom Hide graph Show graph
Supertypes
class Object
trait Matchable
class Any
Members list
Closes the MCP client connection and releases resources. Should be called when done with the client.
Closes the MCP client connection and releases resources. Should be called when done with the client.
Attributes
Definition Classes
Initializes the MCP connection with handshake protocol. Must be called before other operations.
Initializes the MCP connection with handshake protocol. Must be called before other operations.
Attributes
Returns
Either error message or successful initialization
Definition Classes