In depth
MCP Inspector is the indispensable dev tool for building and debugging MCP servers. Launch it with `npx @modelcontextprotocol/inspector <command>`, and it spawns a browser UI that connects to your server, runs the initialize handshake, and displays every capability, tool, and resource.
From the UI, you can: list tools and view their JSON schemas; invoke a tool with arbitrary arguments and see the response; browse resources and read their content; test prompts by providing arguments; inspect the raw JSON-RPC traffic; and observe progress notifications in real time.
Inspector is invaluable when developing a new MCP server. Instead of wiring up a full client (Claude Desktop, Cursor) to test each change, you iterate against Inspector with instant feedback. It also helps debug production issues — point it at a remote server and see exactly what tools are available and whether they behave correctly.
The tool is open-source, MIT-licensed, and part of the official MCP toolchain. It supports all three transports (stdio, SSE, streamable HTTP) and handles auth flows.