ObservableResources
Provides notification telling the client of changes to a particular resource
Functions
Link copied to clipboard
Convenience function to create a server from capabilities
Link copied to clipboard
fun Iterable<ServerCapability>.asServer(config: PolyServerConfig, name: String = "http4k-mcp"): Http4kServer
Convenience function to create a server from a multiple capabilities
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun listResources(req: McpResource.List.Request.Params, client: Client, http: Request): McpResource.List.Response.Result
Link copied to clipboard
abstract fun listTemplates(req: McpResource.ListTemplates.Request.Params, client: Client, http: Request): McpResource.ListTemplates.Response.Result
Link copied to clipboard
abstract fun read(req: McpResource.Read.Request.Params, client: Client, http: Request): McpResource.Read.Response.Result
Link copied to clipboard
Link copied to clipboard