MDK Logo

Stack

The four layers of the MDK backend stack — Workers, Gateway, MDK App Toolkit, and Kernel

MDK's backend is composed of four coordinated layers. Each layer has a single, bounded responsibility; together they form a complete path from physical device to application consumer.

LayerWhat it owns
WorkersDevice integration — translate hardware telemetry and commands into the MDK Protocol
KernelKernel — route commands, monitor health, register Workers, and pull telemetry
GatewayApplication gateway — authenticated HTTP, WebSocket, and MCP interface on top of Kernel
MDK App ToolkitDevelopment toolkit — Gateway backend, plugin system, and frontend packages

For the architecture overview and how data flows between layers, see Architecture.