Skip to content

feat: add list health check flags#183

Merged
steipete merged 1 commit into
mainfrom
feat/list-health-status
May 20, 2026
Merged

feat: add list health check flags#183
steipete merged 1 commit into
mainfrom
feat/list-health-status

Conversation

@steipete
Copy link
Copy Markdown
Collaborator

Summary

  • Extend mcporter list with --status, --exit-code, and --quiet instead of adding a separate health command.
  • Keep status checks on the existing list discovery/classification path, including JSON counts and per-server issue envelopes.
  • Document the new flags in README, quickstart, CLI reference, and changelog.

Proof

  • ./runner pnpm check
  • ./runner pnpm test
  • ./runner pnpm exec vitest run tests/cli-list-flags.test.ts tests/cli-list-json.test.ts tests/cli-list-classification.test.ts tests/cli-list-formatting.test.ts tests/cli-list-stdio-logs.test.ts
  • Live CLI: failing stdio server with list bad --status --json --exit-code returns exit 1, emits parseable JSON, and keeps captured stderr out of stdout.
  • Live CLI: failing stdio server with list bad --quiet returns exit 1 and emits no stdout.
  • Codex autoreview: clean after fixing the accepted selector-validation finding.

Replaces

@steipete steipete merged commit de7c811 into main May 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant