Project
cortex
Description
In cortex-cli/src/mcp_cmd/debug.rs, MCP client initialization uses hardcoded "version": "1.0.0" in clientInfo instead of the built package version. External MCP servers therefore see the wrong client version. The report contrasts with cortex-mcp-types/src/initialization.rs:77 using env!("CARGO_PKG_VERSION").
Error Message
Debug Logs
System Information
Bounty Challenge v0.0.6
OS: Linux
Screenshots
Steps to Reproduce
Run MCP debug with v0.0.6; observe initialize message reports version "1.0.0".
Expected Behavior
Report the actual package version, e.g. "version": env!("CARGO_PKG_VERSION").
Actual Behavior
Initialize always advertises "1.0.0".
Additional Context
cortex-cli/src/mcp_cmd/debug.rs — clientInfo / version hardcoded; lines cited in title ~429, ~567.