Skip to content

README Claude Code quickstart uses a broken path and no env vars #94

Closed

Description

@TMHSDigital

Summary

The README quickstart for Claude Code points at a path that does not exist after the preceding cd, and it passes no env vars.

Where

  • README.md:328-329

Details

The instructions run cd mcp-server && npm install && npm run build and then claude mcp add homelab node ./mcp-server/dist/index.js. After the cd, that path resolves to mcp-server/mcp-server/dist/index.js. It is also relative, so it depends on the client's working directory. No -e HOMELAB_PI_HOST=... is passed, so the server silently targets raspberrypi.local as pi.

Impact

Claude Code users fail on first run.

Suggested fix

claude mcp add homelab \
  -e HOMELAB_PI_HOST=raspberrypi.local \
  -e HOMELAB_PI_USER=pi \
  -e HOMELAB_PI_KEY_PATH=/home/you/.ssh/id_ed25519 \
  -- node /absolute/path/to/mcp-server/dist/index.js

Alternatively, show the npx @tmhs/homelab-mcp form. Add a PowerShell variant, since Windows is the documented management OS.

Acceptance criteria

  • The command works when copied after the build step
  • Env vars are shown
  • A Windows example is included

Getting started

  • Relevant files: README.md

Filed by repo-audit/full-audit at 9cfe5e3. Severity: medium. Effort: S. audit-key: documentation|README.md|claude mcp add

Activity

  1. added
    documentation
    good first issue
    severity: medium
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationgood first issueseverity: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions