Decouple MCP server version from CLI version: semver range + capabilities probe + latest-redirect auto-install
TL;DR
Every Minutes release currently breaks the Anthropic-hosted Claude Desktop extension, because the MCP server is hard-coupled to one specific CLI version: both for the warning it emits (strict equality) and for the GitHub release tag it auto-installs from (exact tag). This issue replaces that with semver compatibility, a minutes capabilities feature probe, and a /releases/latest/download/ auto-install so the hosted .mcpb self-heals across releases.
The problem
What users experience
- Anthropic hosts
minutes.mcpbbuilt from releasevN.M.P. Users install it via Claude Desktop. - Days or weeks later, we cut release
vN.M.(P+1)orv(N+1).0.0. npm, cargo, and brew all advance. - Users now hit one of three failure modes in Claude Desktop:
- Scary mismatch warning spam: MCP
vN.M.Psees CLIvN.(M+1).0and logs[Minutes] CLI version mismatchon every startup. Users report it as a bug even though it still works. - Auto-install 404: if the hosted MCP's pinned
RELEASE_TAGno longer exists (asset renamed, tag moved, old release cleanup), auto-install curls a 404 and leaves users with no CLI. - Frozen on ancient CLI: Anthropic's hosted
.mcpbwill happily reinstall an old CLI over a user's newer one because the pinned tag always wins, clobbering features the user already had.
- Scary mismatch warning spam: MCP
Root cause in crates/mcp/src/index.ts
Two lines, both load-bearing:
// index.ts:379..401
const MCP_SERVER_VERSION = "0.14.0";
const EXPECTED_CLI_VERSION = MCP_SERVER_VERSION; // strict equality invariant
const RELEASE_TAG = `v${EXPECTED_CLI_VERSION}`; // pinned release tag
Used at:
index.ts:438: auto-install URLreleases/download/${RELEASE_TAG}/${binaryName}index.ts:508: strict!==version check that emits the warning
The invariant "MCP version equals CLI version" exists to catch dev-time drift. It does not reflect actual wire-protocol incompatibility, because we've never had wire-protocol incompatibility between adjacent versions.
The fix, in three phases
Phase 1: immediate relief (ship in 0.14.1)
A. Relax the version check to same-major compatibility.
// crates/mcp/src/index.ts
function isCliCompatible(cli: string, server: string): { ok: boolean; reason?: string } {
const [cMaj, cMin, cPatch] = cli.split('.').map(Number);
const [sMaj, sMin, sPatch] = server.split('.').map(Number);
if (cMaj !== sMaj) {
return { ok: false, reason: `major version mismatch: CLI ${cli} vs MCP ${server}` };
}
// Same major: fine. Older CLI logs info but proceeds.
return { ok: true };
}
Downgrade the console.error at index.ts:510 to a single console.info on the first bad probe, never per-request. No user-visible scary output unless the major version actually differs.
B. Change auto-install to use the GitHub "latest" redirect.
// index.ts:438
const url = `https://github.com/silverstein/minutes/releases/latest/download/${binaryName}`;
GitHub 302s releases/latest/download/... to whatever release has the most recent published_at. Anthropic's frozen .mcpb now self-heals across our release cadence. This also means deleting or renaming old releases is safe.
C. Keep RELEASE_TAG only for human-readable log lines (e.g., [Minutes] Downloading from latest release instead of from v0.14.0 release).
Phase 2: capabilities protocol (ship in 0.14.2 or 0.15.0)
Stop comparing version strings. Ask the CLI what it supports.
Model lives already: minutes apple-speech capabilities --json at crates/cli/src/main.rs:3505. Generalize to a top-level minutes capabilities --json that returns:
{
"version": "0.14.0",
"api_version": 1,
"features": {
"activity_summary": true,
"search_context": true,
"get_moment": true,
"apple_speech_live": false,
"parakeet": true,
"parakeet_cpu_fallback": true,
"call_capture_native": true,
"hybrid_diarization": true,
"setup_demo": true
},
"protocol": {
"json_envelope": 1,
"events_jsonl": 1,
"live_transcript": 2
}
}
MCP calls minutes capabilities --json once at boot and:
- Routes tool availability based on
features(a 0.13.3 MCP against a 0.14.0 CLI exposes the three new desktop-context tools; a 0.14.0 MCP against a 0.13.3 CLI gracefully hides them). - Uses
api_versionas a coarse bump indicator. We only bump it when we actually change a wire contract, not on every release. - Keeps the semver check from Phase 1 as a last-resort guard only for cases where
capabilitiesis missing (old CLI).
Phase 3: protocol versioning (durable, ship over 0.15 to 0.16)
Establish two independent version axes that only move when they need to:
MCP_API_VERSION: bumped only when the CLI to MCP wire contract (stdout JSON shape, exit codes, flag semantics) changes in a non-additive way. Should bump maybe once a year, not per release.RELEASE_VERSION: the user-facing marketing or versioning number. Bumps freely. Does not gate anything.
MCP reads MCP_API_VERSION from minutes capabilities --json and only rejects outright on major-API mismatch. All other drift becomes a "this tool needs a newer CLI feature" gentle notice on the specific tool call, not a startup scream.
Acceptance criteria
Phase 1 (0.14.1):
- [ ]
releases/latest/download/auto-install verified against a hosted MCPB older thanlatest - [ ] Same-major CLI/MCP combinations emit no scary logs
- [ ] Cross-major combinations emit one clear error with the upgrade command
- [ ] Added test in
crates/mcp/test/that mocks--versionoutput and asserts the compatibility decision
Phase 2 (0.14.2 or 0.15.0):
- [ ]
minutes capabilities --jsoncommand exists, stable JSON schema documented indocs/ - [ ] MCP boot path prefers capabilities probe over
--versionparsing - [ ] Each new MCP tool registration checks its required feature flag; tool is hidden (not errored) when absent
- [ ] Backwards path: if
minutes capabilitiesreturns non-zero (old CLI), fall through to the Phase 1 semver check - [ ] Integration test matrix: (MCP 0.14.0, CLI 0.13.3), (MCP 0.13.3, CLI 0.14.0), (MCP 0.14.0, CLI 0.14.0)
Phase 3 (0.15 to 0.16):
- [ ]
MCP_API_VERSIONconstant introduced, initial value1 - [ ] Dev-facing doc explaining when to bump it (with examples of what counts as a breaking wire change)
- [ ] Stop bumping
MCP_SERVER_VERSIONin lockstep with workspace version; it becomes a dead variable or gets removed
Non-goals
- Bundling a copy of the CLI inside the
.mcpb(too heavy: node_modules already makes the bundle 47 MB; adding ~20 MB of CLI is worse than self-healing auto-install). - Changing the workspace version bump process. The release checklist keeps its six version surfaces; this change just makes them less load-bearing at the MCP boundary.
- Removing the auto-install path. It's still the first-install UX for Claude Desktop users and should stay.
Why this order
Phase 1 is the highest-impact, lowest-risk change: two line edits plus a test. It stops the bleeding for every current hosted-MCPB user. Phase 2 introduces the primitive the durable fix needs. Phase 3 is the cleanup once Phase 2 has shipped and we've watched real version-skew scenarios in the wild for a release or two.
Filed after investigating the pattern of "Claude Desktop extension breaks on every Minutes release." Root cause is in crates/mcp/src/index.ts:379..508, the RELEASE_TAG pin at :438, and the strict-equal check at :508.
Phase 1 landed in main at 75437e3 and will ship as part of v0.14.0.
Phase 1 acceptance criteria
- [x]
releases/latest/download/auto-install wired incrates/mcp/src/index.ts(previouslyreleases/download/${RELEASE_TAG}/...) - [x] Same-major CLI/MCP combinations emit no scary logs (
infoseverity is silent) - [x] Cross-major combinations emit one clear error with the upgrade command
- [x] New unit tests in
crates/mcp/src/version.test.tscovering the compatibility matrix (11 cases)
What this unblocks
Hosted .mcpb bundles can now run against any same-major CLI without warning noise, and auto-install fetches the newest CLI regardless of what version the bundle shipped with. The Claude Desktop team should no longer need to re-cache the bundle every time a new CLI version lands on GitHub/npm/brew.
Phase 2 and Phase 3 still open
- Phase 2:
minutes capabilities --jsonfeature probe + feature-gated MCP tool registration. Queued for a 0.14.x or 0.15.0 release. - Phase 3:
MCP_API_VERSIONdecoupled fromRELEASE_VERSION. Follow-up to Phase 2.
Leaving this issue open until Phase 3 lands.
Closing. The user-facing break is fixed: latest-redirect auto-install and same-major compatibility (75437e3), then the capabilities probe with api_version. What's left is cleanup to stop bumping MCP_SERVER_VERSION in lockstep. It isn't hurting anyone, so I won't keep an issue open for it.