Gateway how-to guides
Task guides for running and extending the MDK Gateway
Overview
The Gateway wraps @tetherto/mdk-client to deliver an HTTP interface for your frontend. These guides cover how to run it and extend it with the plugin system. Agents can reach MDK over MCP through the standalone @tetherto/mdk-mcp package.
If Gateway, Kernel, or plugin are unfamiliar, read terminology first. For the full developer model — extension, data access, auth design — read the Gateway concept page.
Choose a guide
| Goal | Guide |
|---|---|
| Start the Gateway for the first time | Run the Gateway |
| Use built-in plugins or build your own | Gateway plugins |
| Stop Kernel, Gateway, and Workers cleanly | Tear down MDK services |
| Operator in the loop: submit and approve write actions | Submit and approve write actions |