The official source reports this update: @modelcontextprotocol/codemod@2.1.0. Patch Changes #2765 5ecc791 Thanks @claude ! - Project-type inference no longer counts bare SDK paths that appear only in ordinary string data. The v1→v2 codemod's source scanner matched any quoted @modelcontextprotocol/sdk/client|server subpath anywhere in a file, so a server path stored as data (example text, a log message, a config value) misclassified a client-only project as both — rewriting shared type imports to @modelcontextprotocol/server and adding a server dependency the project never uses. The scanner now requires a module-specifier position: static imports and re-exports ( from '...'
Canonical AI event
CodeMod 2.1.0 Improves Project-Type Inference
The codemod scanner now correctly identifies module-specifier positions, preventing misclassification of client-only projects.
23 Sept 20261 verified claims1 sources1 observations
This official update documents a development concerning @modelcontextprotocol/codemod@2.1.0. Its practical significance depends on the scope and evidence stated by the source.
Read the official source update and verify its stated scope, evidence and timing before acting on it.
Connected knowledge
Entities affected by this event
Continue this topic
Related verified updates
Evidence trail
Sources behind the event
Editorial presentation
Open story