Global flags
Exit codes
Every command exits meaningfully, so the CLI is scriptable and works in CI.1 and 2 are probe’s verdict on your server. Other commands exit 0 on
success and 3 on failure; they don’t use 1 or 2.
The 1 / 2 split is what makes heymcp probe useful as a CI gate: fail the
build on 2, and decide separately whether warnings should block.
Configuration
The CLI stores its token at:0600. Set HEYMCP_CONFIG_DIR to move it.
The token is masked wherever it’s displayed — hm_live_••••••••••••4k2x.
Environment variables
Environment always wins over the config file.The relay endpoint. Only relevant for self-hosted deployments.
Specifying a target
share and probe both take a target, and both accept the same shapes:
The default path is
/mcp unless the target carries one or you pass --path.
Self-signed certificates on those local hosts are accepted deliberately — a
local dev certificate is not a security boundary, and refusing it would just
mean nobody could share a Herd or Valet site.