Skip to content

Fleet-wide read-only status in one call (node: all) #129

Closed

Description

@TMHSDigital

Summary

The multi-node skill tells the agent to "Compare status across nodes by running it for each node" (skills/multi-node-management/SKILL.md:57). homelab_nodeList already probes every node in parallel, but nodeStatus, piStatus, serviceHealth and diskUsage take exactly one node, so a 5-node check costs 5+ tool calls.

Where

  • mcp-server/src/tools/nodeList.ts:23 (parallel Promise.allSettled pattern)
  • mcp-server/src/tools/nodeStatus.ts:30

Proposal

Accept node: "all" (or a nodes array) on read-only status tools, fan out with Promise.allSettled like nodeList, and return one section per node with per-node errors. Keep state-changing tools single-node.

Who benefits

Users with more than one node: one call for a fleet overview, less context used per check.

Acceptance criteria

  • At least nodeStatus and serviceHealth support all-node fan-out with tests for mixed online/offline nodes.

Getting started

  • Relevant files: mcp-server/src/tools/nodeList.ts, mcp-server/src/tools/nodeStatus.ts, mcp-server/src/utils/node-param.ts

Filed by repo-audit/full-audit at a59395f. Severity: low. Effort: M. audit-key: enhancement|mcp-server/src/tools/nodeStatus.ts|all-nodes

Activity

  1. added
    enhancement
    severity: low
    on Nov 18, 2026
  2. TMHSDigital commented on Nov 18, 2026

    @TMHSDigital
    OwnerAuthor

    Fixed in 1a21091. New utils/fan-out.ts (forNodes) runs a read on every registered node in parallel when node: "all", returning a summary line plus one section per node with per-node errors (an error result only when every node fails). homelab_nodeStatus, homelab_piStatus and homelab_serviceHealth use it; state-changing tools stay single-node. Tests cover mixed online/offline nodes for nodeStatus and serviceHealth, the all-down case and unchanged single-node calls (424 passing).

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

    enhancementmcp-serverseverity: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions