Health Monitoring¶
Crux provides two levels of health checking: per-MCP probing and full environment diagnostics.
MCP Server Status¶
Probes each MCP in the current project via JSON-RPC handshake. For each server, Crux:
- Starts the MCP server process
- Sends an
initializerequest (MCP protocol) - Sends a
tools/listrequest - Reports status, protocol version, and tool count
Status Across All Projects¶
Probes MCPs across all tracked projects.
Environment Doctor¶
Runs a comprehensive set of checks:
| Check | What it validates |
|---|---|
| Python version | Python 3.11+ is available |
| External tools | git, node/npx, uv are on PATH |
| Directory structure | ~/.crux/ and subdirectories exist |
| Registry integrity | registry.json is valid and parseable |
| MCP sources | Cloned repos exist on disk |
| Build artifacts | MCPs with build commands have their outputs |
| Crux on PATH | The crux binary is accessible |
crux doctor auto-fixes what it can — creating missing directories, installing the bundled skill, and reporting actionable fix commands for everything else.
Initial Setup¶
If you are setting up Crux for the first time or re-initializing your environment:
This bootstraps the ~/.crux/ directory structure, installs the bundled skill, and verifies all external dependencies are in place.