Skip to content

MCP update — detect and apply npm package updates #32

Description

@varkart

Goal

Detect when an installed npm-based MCP has a newer version available and let user update from within the app.

Detection

  • npm outdated -g <package> --json → parse current vs wanted vs latest
  • Run on Doctor panel open and on manual refresh
  • Show version badge: 'Update available: 2.3.1 → 2.4.0'

Update flow

  1. Backup config (Snapshot config before every write #23)
  2. npm install -g @latest
  3. Verify new version installed
  4. On fail: rollback to previous version
  5. Write audit event: 'Updated github-mcp 2.3.1 → 2.4.0'

Acceptance criteria

  • Outdated packages detected
  • Update button shown with version info
  • Backup taken before update
  • Rollback on failure
  • Audit event written

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions