Package-level declarations
Types
Ktor/Netty MCP server for desktop clients, speaking the Streamable HTTP transport. Exposes the JSON-RPC surface at POST /mcp (plus GET /mcp for the server stream, DELETE /mcp to end a session, and a /health probe), enforces bearer auth via a TokenStore when requireAuth is set, optionally terminates TLS, and advertises itself over mDNS (_mcp._tcp). Prefer building one through DroidMcp.Builder.enableHttpServer rather than directly.
Direct, in-process access to a ToolRegistry — no JSON-RPC, no network. Intended for on-device LLMs that call tools straight from the same process. Mirrors the surface an MCP client gets over HttpTransport (tools, resources, prompts) without the protocol envelope.
TLS material for HttpTransport. Holds a keystore containing the server's private key + self-signed certificate under keyAlias, plus the HTTPS port to bind.
Bearer-token authority for HttpTransport.