← Back to all projects
MCP Inspector
Connect to an MCP server and try its tools, resources and prompts before an agent does
OfficialMIT
What is MCP Inspector?
Connects to an MCP server you are developing and lets you call its tools, read its resources and render its prompts one at a time, checking each response as it comes back. It starts from npx with nothing installed, as a web UI, a scriptable CLI for CI, or a terminal TUI — all from the same command. It is a development-time check, not production monitoring or evals.
What can you do with MCP Inspector?
- Start from npx and connect —
npx @modelcontextprotocol/inspectorstarts it with nothing installed; connect to a local server launched over stdio or to a remote one by URL. - Try tools, resources and prompts one by one — List the server's tools, fill in arguments in a form, call one, and see the exact result or error that comes back — the same for resources and prompts.
- One command, three clients — The default is the web UI;
--clisuits scripts and CI checks, and--tuistays entirely in the terminal. All three run from the samemcp-inspectorbinary. - Sign in to OAuth-protected servers — OAuth flows for remote servers run inside the Inspector, so a server behind authentication can still be exercised during development.
- Keep server definitions in a file — Connection targets can come from a
--configor--catalogfile, so a set of server definitions can be reused and switched between instead of retyped.
Before you choose MCP Inspector
- As of v2.2.0 the repository contains no licence text — only package.json's MIT field. The licence was deliberately changed to a hybrid during the Linux Foundation transition, so there are currently no terms to read.
- v2 requires Node 22.19 or newer and changes command flags and shipped packages from v1; the v1 line receives security fixes only.
Star history
17 Aug to 30 Oct · +518
10.7k11.2k
Frequently asked questions
Is MCP Inspector free for commercial use?
MCP Inspector is released under the MIT licence — OSI-approved open source, which permits commercial use.
How can MCP Inspector be deployed?
MCP Inspector is available as Runs locally.