Skip to content

best-mcp: make the client version model-visible - #12

Merged
riccardone merged 1 commit into
mainfrom
mcp-client-version-visibility
Aug 26, 2026
Merged

best-mcp: make the client version model-visible#12
riccardone merged 1 commit into
mainfrom
mcp-client-version-visibility

Conversation

@riccardone

Copy link
Copy Markdown
Contributor

Follow-up to the serverInfo.version fix (2.3.1): hosts read serverInfo, models don''t - so "which best-mcp is this?" was still unanswerable in chat (the agent answered with the server''s spec version instead). The package version now rides the two surfaces the model can read:

  • the initialize instructions: "connected through the @behavioralstate/best-mcp client, version X.Y.Z", plus an explicit spec-version-vs-client-version disambiguation;
  • the get_manifest result, as a leading client field.

Both derive from package.json at runtime, so release bumps propagate automatically. Verified over stdio (instructions line + manifest field present). tsc clean.

Release after merge: LC_ALL=en_US.UTF-8 ./scripts/release-mcp.sh 2.3.3.

🤖 Generated with Claude Code

serverInfo.version (fixed in 2.3.1) reaches the HOST, never the model -
so "what version of best-mcp are you using?" was still unanswerable in
chat and the agent fell back to the server''s spec version. The package
version now rides the two places the model can actually read:

- the initialize instructions ("connected through the
  @behavioralstate/best-mcp client, version X.Y.Z"), with an explicit
  note that a manifest''s version is the BEST SPEC version - a different
  thing;
- the get_manifest result, as a leading `client` field.

Both read the real package.json version, so release bumps propagate
with no code change. Verified over stdio.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@riccardone
riccardone merged commit c612b74 into main Aug 26, 2026
1 check passed
@riccardone
riccardone deleted the mcp-client-version-visibility branch August 26, 2026 13:51
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