Skip to content

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

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

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

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

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