Description
Summary
homelab_configValidate and homelab_configExport are planned in ROADMAP.md but not built; healthCheck only checks that binaries exist.
Where
ROADMAP.md:255-256mcp-server/src/tools/healthCheck.ts:76- mcp-server/src/utils/service-http.ts:19-46 (
SERVICESregistry)
Details
The SERVICES registry already knows each service's name, port variable and default port, and curlErrorResponse already distinguishes auth from connection failures.
Impact
New users discover a wrong port or missing credential one tool at a time (for example AdGuard and Grafana both default to 3000). A single "is my config right" call is the onboarding step the roadmap planned.
Suggested fix
Implement homelab_configValidate: parse HOMELAB_NODES locally, check each key file is readable, then in one SSH round trip per node probe each SERVICES entry with its configured port and credentials, reporting PASS / FAIL / NOT CONFIGURED with the existing hints. Support node: "all". configExport can reuse the same resolution with secret values masked.
Open question: fold into healthCheck or keep a separate tool as the roadmap says?
Acceptance criteria
- One call reports per-service PASS/FAIL/NOT CONFIGURED
- No secret values in output
Getting started
- Relevant files:
mcp-server/src/tools/healthCheck.ts,mcp-server/src/utils/service-http.ts,ROADMAP.md - How to run tests:
cd mcp-server && npm install && npm test(andnpm run typecheck); structure tests:pip install -r requirements-test.txt && pytest tests/ -v - Conventions: see
CLAUDE.mdandCONTRIBUTING.md
Filed by repo-audit/full-audit at 636fefb. Severity: medium. Effort: M. audit-key: enhancement|mcp-server/src/tools/healthCheck.ts|homelab_configValidate
Activity