McpServer

ch.linkyard.mcp.server.McpServer
See theMcpServer companion object
trait McpServer[F[_]]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def initialize(client: Client[F], info: ConnectionInfo[F]): Resource[F, Session[F]]

Initialize the session, see the sub-trait of Session for the capabilities like tools, etc.

Initialize the session, see the sub-trait of Session for the capabilities like tools, etc.

Attributes

Concrete methods

def jsonRpcConnectionHandler(logError: Exception => F[Unit])(using Async[F]): JsonRpcConnectionHandler[F]
Extension method from McpServer
def lowlevelFactory(connectionInfo: Info)(using Async[F]): Communication[F] => Resource[F, LowlevelMcpServer[F]]
Extension method from McpServer
def start(connection: JsonRpcConnection[F], logError: Exception => F[Unit])(using Async[F]): Resource[F, Unit]
Extension method from McpServer