‹ The Index

Codemod

npm ✓ Anthropic · official

Codemod to migrate MCP TypeScript SDK code from v1 to v2

Works with: Claude Code, Cursor, Claude Desktop, Codex CLI, Gemini CLI, Cline, Windsurf, VS Code (installable)
installable: each client documents how to load an MCP server of this type — that is the client's promise, not a claim verified against this capability

Category: Dev Tools & CI — see all ranked ›

Work: Application development

Who it is for: Software engineer

Install (Claude Code):

claude mcp add modelcontextprotocol-codemod -- npx -y @modelcontextprotocol/codemod

Security audit

scanned 2026-08-05

Every finding is shown in full — which advisory, the version that fixes it, and the exact command run at install time. Nothing in this audit is behind a licence.

No known advisoriesclearchecked against OSV for 2.0.0
Reads and writes filesfrom declared dependencies
Signed build provenancepublished from public CI with an attestation

npm ↗  ·  source ↗  ·  pkg:@modelcontextprotocol/codemod

Already running this? npx tashan-cli doctor checks your whole config against the Index — how it works ›

Measured 2026-08-05  ·  scorer s5  ·  how  ·  something wrong here?