Roots

interface Roots : Iterable<Root> (source)

Handles protocol traffic for client provided roots.

Functions

Link copied to clipboard
fun Iterable<ServerCapability>.asMcp(name: String = "http4k-mcp"): PolyHandler

Convenience function to create a server from capabilities

Link copied to clipboard

Convenience function to create a server from a multiple capabilities

Link copied to clipboard
abstract fun changed(params: McpRoot.Changed.Notification.Params, client: Client, http: Request)
Link copied to clipboard
abstract operator fun iterator(): Iterator<Root>
Link copied to clipboard