MCP Inspector is the official developer tool for testing and debugging MCP servers, shipped as the npm package @modelcontextprotocol/inspector. It has four interfaces: a web UI with a Node backend, a scriptable CLI for automation and CI, an interactive terminal UI, and an experimental mcpdo mode that connects once and runs many commands.
Run npx @modelcontextprotocol/inspector for the web version, or add --cli or --tui. Point it at your server, list its tools, call them and read the raw messages.
New code is Apache-2.0, some older contributions are MIT and the docs are CC-BY-4.0.