Skip to content

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

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

fix(memory): read server version from package metadata#4409
kingrubic wants to merge 1 commit into
modelcontextprotocol:mainfrom
kingrubic:fix-memory-server-version

Conversation

@kingrubic

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

@kingrubic

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.

@kingrubic kingrubic 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