Skip to content

fix(memory): read server version from package metadata - #4409

Closed
nnqbao wants to merge 1 commit into
modelcontextprotocol:mainfrom
nnqbao:fix-memory-server-version
Closed

nnqbao wants to merge 1 commit into
modelcontextprotocol:mainfrom
nnqbao:fix-memory-server-version

Conversation

@nnqbao

@nnqbao nnqbao commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • read the memory server version from package.json instead of hardcoding 0.6.3
  • support both source/test execution and published dist/index.js path layout
  • add regression coverage for fallback package.json lookup

Fixes #4406.

Tests

  • npm test --workspace @modelcontextprotocol/server-memory -- __tests__/file-path.test.ts
  • npm run build --workspace @modelcontextprotocol/server-memory

@nnqbao

nnqbao commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Closing this PR to keep the backlog tidy after more than 48 hours without maintainer feedback. Please feel free to reopen it if a maintainer finds it useful. Thank you.

@nnqbao nnqbao closed this Jul 14, 2026
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.

serverInfo.version hardcoded as "0.6.3" in @modelcontextprotocol/server-memory@2026.1.26

1 participant