McpServer

ch.linkyard.mcp.server.McpServer
See theMcpServer companion trait
object McpServer

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
McpServer.type

Members list

Type members

Classlikes

trait Client[F[_]]

Attributes

Supertypes
class Object
trait Matchable
class Any
case class ClientInfo(clientInfo: PartyInfo, capabilities: ClientCapabilities, protocolVersion: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait ConnectionInfo[F[_]]

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait PromptProvider[F[_]] extends Session[F]

Attributes

Supertypes
trait Session[F]
class Object
trait Matchable
class Any
Known subtypes
trait PromptProviderWithChanges[F[_]] extends PromptProvider[F]

Attributes

Supertypes
trait PromptProvider[F]
trait Session[F]
class Object
trait Matchable
class Any
trait ResourceProvider[F[_]] extends Session[F]

Attributes

Supertypes
trait Session[F]
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
trait ResourceProvider[F]
trait Session[F]
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
trait ResourceProvider[F]
trait Session[F]
class Object
trait Matchable
class Any
Show all
case class ResourceUpdated(meta: Meta)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait RootChangeAwareProvider[F[_]] extends Session[F]

Attributes

Supertypes
trait Session[F]
class Object
trait Matchable
class Any
trait Session[F[_]]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ToolProvider[F[_]] extends Session[F]

Attributes

Supertypes
trait Session[F]
class Object
trait Matchable
class Any
Known subtypes
trait ToolProviderWithChanges[F[_]] extends ToolProvider[F]

Attributes

Supertypes
trait ToolProvider[F]
trait Session[F]
class Object
trait Matchable
class Any

Types

type Pageable[A] = (Cursor, A)

Extensions

Extensions

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