Package-level declarations

Types

Link copied to clipboard
class HttpSessions(sessionProvider: SessionProvider = SessionProvider.Random(), sessionEventTracking: SessionEventTracking = SessionEventTracking.InMemory(), eventStore: SessionEventStore = InMemory(100), keepAliveDelay: Duration = Duration.ofSeconds(2)) : Sessions<Sse>

Functions

Link copied to clipboard
fun HttpNonStreamingMcp(mcpProtocol: McpProtocol<Sse>, security: McpSecurity, path: String = "/mcp", corsPolicy: CorsPolicy? = null): RoutingHttpHandler

MCP server setup for Non-streaming HTTP-based MCP Servers.

Link copied to clipboard

Routes inbound POST requests to the MCP server to the MCP protocol for processing (returning responses via JSON RPC), and deletes old sessions at the request of the client.

Link copied to clipboard
fun HttpStreamingMcp(mcpProtocol: McpProtocol<Sse>, security: McpSecurity, path: String = "/mcp", corsPolicy: CorsPolicy? = null): PolyHandler

MCP server setup for Streaming HTTP-based MCP Servers which use HTTP + SSE.

Link copied to clipboard