Skip to content

homelab_uptimeKumaStatus is hardcoded to the "default" status page slug #97

Closed

Description

@TMHSDigital

Summary

homelab_uptimeKumaStatus only reads the Uptime Kuma status page with the slug default. Users whose status page has a different slug get nothing back.

Where

  • mcp-server/src/tools/uptimeKumaStatus.ts:23 (/api/status-page/heartbeat/default)

Suggested fix

  • Add an optional slug parameter and a HOMELAB_UPTIME_KUMA_SLUG env var, defaulting to default.
  • Validate the slug as ^[a-z0-9-]+$.
  • Document both in mcp-server/README.md and .env.example.

Acceptance criteria

  • Slug can be set per call and via env
  • Schema test covers the new param
  • Docs updated

Getting started

  • Relevant files: mcp-server/src/tools/uptimeKumaStatus.ts, mcp-server/README.md, .env.example
  • How to run tests: cd mcp-server && npm test

Filed by repo-audit/full-audit at 9cfe5e3. Severity: medium. Effort: S. audit-key: enhancement|mcp-server/src/tools/uptimeKumaStatus.ts|status-page slug

Activity

  1. added
    enhancement
    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

    enhancementgood first issueseverity: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions