Skip to content

feat(mcp): detect stale installs and API compatibility in doctor and status - #28

Merged
JSONbored merged 3 commits into
JSONbored:mainfrom
Crystora:feat/mcp-doctor-stale-install-check
May 29, 2026
Merged

feat(mcp): detect stale installs and API compatibility in doctor and status#28
JSONbored merged 3 commits into
JSONbored:mainfrom
Crystora:feat/mcp-doctor-stale-install-check

Conversation

@Crystora

@Crystora Crystora commented May 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #19

  • Add stale install checks to gittensory-mcp doctor and gittensory-mcp status.
  • Compare the local MCP package version against npm latest with semver-aware handling.
  • Show exact upgrade guidance when stale: npm install -g @jsonbored/gittensory-mcp@latest.
  • Show a no-install fallback: npx @jsonbored/gittensory-mcp@latest <command>.
  • Add optional API compatibility checks from /health when minMcpVersion or minClientVersion is available.
  • Treat npm/API check failures as warnings or unavailable states instead of hard failures.
  • Redact tokens and local absolute paths from diagnostic output.

Validation

  • npm run test:ci
  • npm run changelog:check

Safety

  • Backend-only change
  • No secrets, wallet details, user PATs, raw trust scores, or private rankings exposed
  • Public text avoids compensation-seeking or optimization-tactic language
  • OpenAPI/MCP behavior updated where needed
  • Public docs/changelogs updated where needed

@Crystora
Crystora requested a review from JSONbored as a code owner May 28, 2026 23:43
@Crystora
Crystora force-pushed the feat/mcp-doctor-stale-install-check branch 2 times, most recently from 379438b to f52b50f Compare May 29, 2026 00:58

@JSONbored JSONbored left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #28 - feat(mcp): detect stale installs and API compatibility in doctor and status
Signal: REQUEST CHANGES

Required changes:

  • Fix changelog freshness: CI fails at changelog:check.
  • Do not rewrite packages/gittensory-mcp/CHANGELOG.md into a stale/unreleased shape; run the repo’s changelog command or remove manual changelog drift.
  • Keep the implementation; the version/API compatibility approach is generally sound.
  • Watch for conflicts with #27 because both modify packages/gittensory-mcp/bin/gittensory-mcp.js and mcp-cli tests.

@Crystora
Crystora force-pushed the feat/mcp-doctor-stale-install-check branch from f52b50f to a7914d5 Compare May 29, 2026 04:52
@dosubot dosubot Bot added the size:S label May 29, 2026
@Crystora

Crystora commented May 29, 2026

Copy link
Copy Markdown
Contributor Author

@JSONbored Fixed changelog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(mcp): add stale install and API compatibility checks to doctor

2 participants