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: -p
Target directory where the environment will be created. Short:
-d
Overwrite existing files if they exist. Short:
-f
What 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
,/state
and 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