Merge pull request #1960 from modelcontextprotocol/v2/docs/1822-migration-guide

docs: add the v1 → v2 migration guide
This commit is contained in:
Cliff Hall 2026-08-11 11:26:00 -04:00 • committed by GitHub
commit 925b699040
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,6 +12,8 @@ npx @modelcontextprotocol/inspector --cli node build/index.js
Supports tools, resources, and prompts (plus `--method servers/list` / `servers/show` for catalog entries without connecting).
> Coming from the v1 CLI? See the [v1 → v2 migration guide](../../docs/v1-to-v2-migration.md) — every v1 flag still exists, but exit codes, argument ordering, and the `--` separator changed.
### Examples
**Basic usage**