Skip to content

Report the package version in the MCP handshake - #2

Merged
dani1005 merged 1 commit into
mainfrom
fix/report-server-version
Oct 9, 2026
Merged

dani1005 merged 1 commit into
mainfrom
fix/report-server-version

Conversation

@dani1005

@dani1005 dani1005 commented Oct 9, 2026

Copy link
Copy Markdown
Member

Summary

initialize returned serverInfo.version = "1.30.0" — the mcp library's version, not ours (0.1.0). FastMCP has no version argument, so the low-level server fell back to importlib.metadata.version("mcp"). This sets it from everos_mcp.__version__, so clients and logs show the real server version.

Found by installing 0.1.0 from PyPI and listing tools over stdio.

Test plan

  • New test_handshake_reports_package_version; fails without the fix ('1.30.0' == '0.1.0'), passes with it
  • 91 tests pass at mcp 1.30 and at the 1.14.0 floor; ruff check + format clean

No release needed on its own; ships with the next version.

🤖 Generated with Claude Code

FastMCP takes no version argument, so serverInfo.version carried the mcp
library's own version (1.30.0 in everos-mcp 0.1.0). Set it on the
low-level server from __version__.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@dani1005
dani1005 merged commit 9eb3f21 into main Oct 9, 2026
2 checks passed
@dani1005
dani1005 deleted the fix/report-server-version branch October 9, 2026 21:28
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