hud init command scaffolds a working MCP environment using templates from the public SDK.
Usage
Arguments
Environment name. If omitted, the current directory name is used.
Options
Template preset:
blank, deep-research, or browser. Short: -pTarget directory where the environment will be created. Short:
-dOverwrite existing files if they exist. Short:
-fWhat It Creates
A minimal but complete environment with controller/frontend and optional backend:Dockerfile (template)
Templates may include hot-reload flags for development. Remove them for production images.
Examples
Next Steps
1
Start Development
Run with hot-reload and choose your preferred UI:
2
Edit Tools
Add tools in
controller/tools.py; use @mcp.tool.3
Build & Push
Presets
- blank: Minimal controller + FastAPI backend with
/health,/act,/reset,/stateand example tools. - browser: Local browser environment preset.
- deep-research: Remote browser environment preset (maps to
remote_browser).
See Also
- Build Environments – Quickstart tutorial
- Technical Spec – Exact runtime requirements
- hud dev – Hot-reload server
- hud build – Build production images