KoryKtorMcpTransportFactory

The bridge discovered by the core: on JVM it is picked up via META-INF/services/io.kory.core.mcp.McpTransportFactory (the service file ships in kory-ktor), on Native register it manually — McpTransports.register(KoryKtorMcpTransportFactory()).

The created transport is shared and lives for the whole application lifetime; the HTTP engine is resolved lazily on the first MCP call.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun createTransport(): McpTransport