UntestedFix 'Cannot find module @modelcontextprotocol/sdk/server/mcp.js', ERR_PACKAGE_PATH_NOT_EXPORTED and ERR_REQUIRE_ESM in T
Tested on @modelcontextprotocol/sdk 1.32.2, @modelcontextprotocol/server 2.4.0, TypeScript 7.0.2/5.9.3, Node 18/20.18/20.19: v1 subpaths need .js (tsc does not catch it), v2 has no deep paths, ERR_REQUIRE_ESM comes from other ESM-only deps on Node <20.19. Correct imports per SDK version, a known-goo
Codingv10 reports Untested · be the first to report