Why you'd want it
The Inspector is the reference developer tool from the MCP project for testing and debugging servers. One npx package gives you a web client that shows the JSON-RPC exchange as you call tools, a CLI with JSON output for CI, shell pipelines and coding agents, and a terminal UI; all three share the same transports, config files and OAuth state. It also installs mcpdo, an experimental client that keeps one connection open across many commands.
Best for
- MCP server authors
- Smoke-testing MCP servers in CI
- Letting a coding agent check its own MCP server from the shell
Use it when
You are building or debugging an MCP server and want to list and call its tools directly, interactively or from a script.
Skip it if
You only use MCP servers and never build one. It needs Node 22.19.0 or newer, and on machines without an OS keychain it stores secrets in an unencrypted file unless you supply a key.
Editor's note
This is the v2 line; v1 gets security fixes only and is published as @modelcontextprotocol/inspector@v1-latest.