Get started with ktServe
Build a standalone HTTP service, publish a directory, or run your existing Kotlin application on ktServe.
Kotlin quickstart
Add the Gradle dependency and build your first JSON endpoint on the JVM or Kotlin/Native.
Command line
Download the native CLI to serve files, respond with JSON or run a Kotlin application.
Extensions
Add CORS, Bearer parsing, validation, OpenAPI, access logging or OpenTelemetry.
Framework integrations
Use ktServe as a Ktor engine or with Spring Boot WebFlux.
Deployment
Download a native executable and configure limits and server observation.
Architecture
Follow a request through the platform transport and shared Kotlin HTTP core.