The v2 Inspector is now the default release.
npx @modelcontextprotocol/inspector # web UI
npx @modelcontextprotocol/inspector --cli # CLI
npx @modelcontextprotocol/inspector --tui # TUIWhat's new
v2 ships as a single package with three clients — a Vite + React + Mantine web UI, a scriptable CLI, and an Ink-based TUI — over a shared @inspector/core runtime, so all three behave identically.
Upgrading from v1
- Node >= 22.19.0 is now required (was >= 22.7.5).
- CLI flags changed substantially. In particular
--confignow means a read-only session file;--catalogis the writable server list. See MCP server configuration. - The v1 sub-packages (
inspector-client,inspector-server,inspector-cli) are deprecated and not part of v2 — v2 publishes a single package.
v1
v1 is deprecated and receives security fixes only, published under the v1-latest tag:
npm i @modelcontextprotocol/inspector@v1-latest