Soklet 4.0.0 API
Soklet is a small HTTP/1.1 server and route handler for Java, well-suited for building RESTful APIs, serving Model Context Protocol 2026-07-28 endpoints, and broadcasting Server-Sent Events.
HTTP, MCP, and Server-Sent Events servers use independent listener sockets and ports.Zero dependencies. Dependency Injection friendly.
Powered by JEP 444: Virtual Threads.
Soklet codes like a library, not a framework.
Please refer to the official documentation at https://www.soklet.com.
Packages
Package
Description
Core Soklet contracts and functionality.
Annotations applicable to HTTP Resource Methods and their
parameters, as well as MCP server endpoints and their tool, prompt, and
resource handler methods and arguments.
Utilities which handle converting objects from one type to another.
Exceptions thrown during HTTP request processing.