Skip to content

Sync MCP server version metadata#312

Open
wer416182-afk wants to merge 1 commit into
makenotion:mainfrom
wer416182-afk:sync-server-version
Open

Sync MCP server version metadata#312
wer416182-afk wants to merge 1 commit into
makenotion:mainfrom
wer416182-afk:sync-server-version

Conversation

@wer416182-afk

Copy link
Copy Markdown

Summary

Keep the MCP serverInfo.version metadata in sync with the package version instead of hardcoding 1.0.0.

  • Let MCPProxy accept a server metadata version.
  • Load the package version from the root package.json when initializing the Notion proxy.
  • Add coverage that verifies the configured version is passed to the MCP SDK Server.

Fixes #310.

Validation

  • npm ci --ignore-scripts
  • $env:NODE_ENV='test'; npx vitest run src/openapi-mcp-server/mcp/__tests__/proxy.test.ts -> 27 passed
  • npm run build
  • npm pack --dry-run --ignore-scripts --json
  • git diff --check

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.

MCP serverInfo.version is hardcoded to 1.0.0 in package 2.2.1

1 participant