Skip to content

Use application version for MCP server version - #24

Merged
mjradwin merged 1 commit into
mainfrom
claude/serverversion-apiversion-strip-ty123c
Aug 31, 2026
Merged

Use application version for MCP server version#24
mjradwin merged 1 commit into
mainfrom
claude/serverversion-apiversion-strip-ty123c

Conversation

@mjradwin

Copy link
Copy Markdown
Member

Summary

Update the MCP server version to dynamically use the application's build version instead of a hardcoded constant.

Changes

  • Import config package to access APIVersion
  • Replace hardcoded serverVersion constant with a variable that strips the leading "v" from config.APIVersion
  • Update comment to clarify that serverVersion now represents the application's own build version

Implementation Details

The serverVersion is now derived from the centralized config.APIVersion, ensuring the MCP server advertises the same version as the rest of the application. The leading "v" is trimmed to match the format the Node McpServer expects (e.g., "1.0.1" instead of "v1.0.1").

https://claude.ai/code/session_01R5CFJ5CrtCdEDDdTNJ3C5n

Strip the leading v so the MCP Implementation version matches the
application's build version rather than a hardcoded string.
@mjradwin
mjradwin merged commit a360403 into main Aug 31, 2026
2 checks passed
@mjradwin
mjradwin deleted the claude/serverversion-apiversion-strip-ty123c branch August 31, 2026 17:23
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.

2 participants