inspector (modelcontextprotocol/inspector)

Searching Database…

What is this?MCP Inspector is a developer tool for inspecting Model Context Protocol (MCP) servers, shipped as a single npm package with web, CLI, and TUI interfaces for testing and debugging.
Is this one app or three separate tools?It is a single package, @modelcontextprotocol/inspector, bundling three interfaces: a Vite+React+Mantine web app with a Node backend, a scriptable CLI for automation and CI, and an Ink-based terminal UI, all launched through one global binary.
How do I start the inspector?Install and run it through the global mcp-inspector binary, then pick a mode: --web for the browser UI, the CLI for scripted checks, or the default TUI for an interactive terminal session.
What do I need installed to run it?Node.js 22.19.0 or newer. The project is not an npm workspace, so each client under clients/ keeps its own package.json and node_modules, with shared code in core/.
What changed between v1 and v2, and should I worry about breaking changes?v2 is the actively developed line (on v2/main); v1 gets security fixes only, published under the npm v1-latest tag. Moving from v1 to v2 involves CLI flag changes, a new --config vs --catalog split, a Node engine bump, and features that no longer ship.
Can I run it in Docker instead of installing Node locally?Yes, a container image is provided, with a dedicated guide covering ports, volumes, and where secrets go.
What is AGENTS.md for?AGENTS.md is the project's contract for making changes: version/label conventions, TypeScript and Mantine/React standards, testing and coverage requirements, and the mandatory pre-push gate, written for both humans and AI coding agents.
What does the project's quality gate check before merging?Running npm run local:gate chains every client's validate/coverage/smoke/verify scripts plus Storybook tests; there is no single aggregate root test script otherwise.
Why doesn't the repo use npm workspaces?Each client under clients/ keeps its own package.json and node_modules, with shared code living in core/ and consumed via a @inspector/core build-time alias, so each client only declares the dependencies it actually uses.
Size
37.1 MB
Stars
11.4K
Age
2y
Commits · 90 Days