Installation
Requirements
Section titled “Requirements”- Node.js 20 or newer
- npm
- Git
- Docker — required. Mission Control runs as a container (
har control up) and harness profiles start shared infrastructure through Docker Compose (har env setup-infra). Install it from docs.docker.com and make sure the daemon is running before you onboard.
har onboard probes Docker on start and warns when the CLI is missing or the
daemon is down. Onboarding still completes without Docker, but it will not offer
to start Mission Control until Docker is available.
Install from npm
Section titled “Install from npm”npm install -g @osfactory/har@latesthar --versionHAR’s CLI, MCP server, bundled harness profiles, and Mission Control launcher ship
in the same @osfactory/har package.
Nothing is recorded from your agents until you agree: har onboard asks, or
har telemetry enable. No command writes ~/.har/telemetry.json before such an
answer. The default level is outline everywhere (every step and its timing, no text →
local Mission Control, or the hosted HAR HQ if you choose it): har onboard offers it,
and har telemetry enable with no level and no earlier choice records at it (a
machine whose hooks an earlier HAR installed keeps recording full). Record
the text too with har telemetry on --level full (prompts, replies and tool I/O), less
with --level usage (tokens and cost), or nothing with har telemetry off. For a
guided first run in a repository (agents, telemetry, Mission Control or HAR HQ, commit
gate and proofs), use har onboard: it writes the HAR workflow into AGENTS.md and
installs no skills (add them with har agents install).
Separately, the published package sends anonymous crash reports (error, stack trace,
HAR command and versions; no arguments or file contents) to the HAR maintainers. Opt out
with har error-reporting off or DO_NOT_TRACK=1; builds from source send nothing unless
built with their own HAR_SENTRY_DSN. See har error-reporting.
Install from source
Section titled “Install from source”git clone https://github.com/os-factory/har.gitcd harnpm installnpm run buildnpm linkRe-run npm run build after source changes. Remove the global link with:
npm unlink -g @osfactory/harConnect an MCP client
Section titled “Connect an MCP client”Start HAR as a stdio MCP server:
har mcp --repo /absolute/path/to/your/repositoryFor clients that accept JSON MCP configuration:
{ "mcpServers": { "har": { "command": "har", "args": ["mcp", "--repo", "/absolute/path/to/your/repository"] } }}The configured repository is the default. Every MCP tool also accepts a repo
argument, so one server can operate another harness explicitly.
Upgrade
Section titled “Upgrade”npm install -g @osfactory/har@latesthar env maintainUpdating the package never silently overwrites an adapted .har/ directory. Use
maintain to inspect template drift and apply updates deliberately.
