Skip to content

fix(mcp): sync discovery server metadata version#194

Open
pesoszpesosz wants to merge 1 commit into
transcend-io:mainfrom
pesoszpesosz:codex/sync-discovery-server-version
Open

fix(mcp): sync discovery server metadata version#194
pesoszpesosz wants to merge 1 commit into
transcend-io:mainfrom
pesoszpesosz:codex/sync-discovery-server-version

Conversation

@pesoszpesosz

Copy link
Copy Markdown

Summary

  • read @transcend-io/mcp-server-discovery package metadata at CLI startup
  • pass the package version into createMCPServer instead of the stale 1.0.0 literal
  • add a regression test plus a patch changeset

Why

The published package version is 0.3.6, but the MCP server metadata currently reports 1.0.0 during initialization. Reading the version from the package metadata keeps serverInfo.version aligned with future releases.

Fixes #193.

Validation

  • corepack pnpm --filter @transcend-io/mcp-server-discovery test
  • corepack pnpm --filter @transcend-io/mcp-server-discovery typecheck
  • corepack pnpm --filter @transcend-io/mcp-server-discovery build
  • corepack pnpm check:changeset
  • git diff --check

Note: the local pre-push hook runs the full workspace test suite. On this Windows machine, unrelated @transcend-io/utils pooling tests fail because they expect POSIX-style /logs/... paths while Node returns Windows \\logs\\... paths. The focused discovery package checks above pass.

@pesoszpesosz pesoszpesosz marked this pull request as ready for review June 11, 2026 02:18
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-server-discovery reports version 1.0.0 in package 0.3.6

1 participant