Skip to content

MCP Inspector: install, tools and limits

Better Design

Direct answer

MCP Inspector is the reference developer tool for testing and debugging MCP servers, which connects to a server so you can see and call its tools, resources, prompts and skills. It runs over stdio, SSE or Streamable HTTP toward the server under test, needs no sign-in of its own, and gives you 17 CLI methods and 10 web UI tabs to call a server's tools by hand or from CI.

A hand-drawn terminal that connects a coding agent to MCP Inspector, with the server's name and tool count written beside it.

What MCP Inspector does

MCP Inspector is the reference developer tool for testing and debugging MCP servers, which connects to a server so you can see and call its tools, resources, prompts and skills. It is a tool you run, not a server you add to an agent, and one package ships a web UI, a scriptable CLI, a terminal UI and an experimental connection CLI called mcpdo.

The Model Context Protocol project maintains it. The latest release on npm is @modelcontextprotocol/inspector 2.15.0, published November 12, 2026. It is licensed under Apache-2.0 for new contributions, MIT for code not relicensed, and CC-BY-4.0 for the docs.

How a coding agent uses MCP Inspector

The agent asks, MCP Inspector acts, and the result comes back into the session.

A hand-drawn three-step flow from the coding agent to MCP Inspector and back: Check that my server's tools work, Connects to the server and calls a tool, The tool result and the protocol log.
  1. The agent asks: Check that my server's tools work
  2. MCP Inspector acts: Connects to the server and calls a tool
  3. The result comes back: The tool result and the protocol log

Install MCP Inspector in a terminal

a terminal
# web UI (default)
npx @modelcontextprotocol/inspector
# scriptable CLI
npx @modelcontextprotocol/inspector --cli
# terminal UI
npx @modelcontextprotocol/inspector --tui
# experimental connection CLI
npx -p @modelcontextprotocol/inspector mcpdo --help

The commands and tabs MCP Inspector gives you

MCP Inspector's own documentation lists these, read on November 12, 2026.

  • CLI methods: initialize, tools/list, tools/call, resources/list, resources/read, resources/templates/list, prompts/list, prompts/get, logging/setLevel, skills/list, skills/get, resources/directory/read, servers/list, servers/show, servers/add, servers/edit, servers/remove
  • Web UI tabs: Servers, Apps, Tools, Prompts, Resources, Skills, Tasks, Logs, Protocol, Network
  • Terminal UI tabs: Resources, Tools, Prompts, Skills, Auth, Protocol, Network
  • Launch modes: --web (default), --cli, --tui, mcpdo (second binary)

Settings worth knowing in MCP Inspector

--method <method> with --tool-name and --tool-arg key=value (or --tool-args-json)
What it changes

Calls a tool from the CLI.

Server

MCP Inspector

--format json
What it changes

Prints one JSON object on stdout, for jq and CI.

Server

MCP Inspector

--load (with --load-concurrency, --load-duration, --load-max-p99 and others)
What it changes

Load-tests one tool and fails CI on a threshold with exit code 10.

Server

MCP Inspector

--app-info
What it changes

Probes a tool's MCP App UI metadata without calling it; exit 0 means it has an app, 2 means no app.

Server

MCP Inspector

--strict on tools/list
What it changes

Reports tool-schema portability problems and exits 6 on error-severity findings.

Server

MCP Inspector

Sign-in, limits and caveats for MCP Inspector

Sign-in: None for the Inspector itself. It supports OAuth to the server under test (--relogin, --stored-auth-only, --oauth-debug). Secrets such as OAuth tokens, client secrets and stdio env values go to the OS keychain, or to ~/.mcp-inspector/secrets.json when no keychain exists. The web backend guards /api/* with a per-launch MCP_INSPECTOR_API_TOKEN.

Limits and price: MCP Inspector is open source and free to run. Its documentation states no usage limit. The web UI binds 127.0.0.1:6274 by default, and the MCP Apps sandbox uses port 6275.

  • It needs Node.js ^22.23.4, ^24.22.1 or 26.12.1 and newer.
  • v2 changed the meaning of --config (a read-only session file) and --catalog (a writable list, default ~/.mcp-inspector/mcp.json); read the v1 to v2 migration guide.
  • The API token is not access control: anyone who can load the web page can act as you, so do not expose it beyond a trusted user without an authenticating proxy or tunnel.
  • A URL without /mcp or /sse in the path fails until you pass --transport http or --transport sse.
  • The CLI rejects stream or session-only methods such as logging/tail, and it has no roots flag; roots come only from a catalog or config file.

Use MCP Inspector for interface work

The Apps tab and the --app-info probe let you render and check an MCP App's UI resource, its CSP and its permissions before a host such as Claude shows it.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "MCP Inspector: install, tools and limits" at https://better-design.com/blog/mcp-inspector and help me apply it to my project.

MCP Inspector is the reference developer tool for testing and debugging MCP servers, which connects to a server so you can see and call its tools, resources, prompts and skills. It runs over stdio, SSE or Streamable HTTP toward the server under test, needs no sign-in of its own, and gives you 17 CLI methods and 10 web UI tabs to call a server's tools by hand or from CI.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

What does MCP Inspector do?

MCP Inspector is the reference developer tool for testing and debugging MCP servers, which connects to a server so you can see and call its tools, resources, prompts and skills. It is a tool you run, not a server you add to an agent, and one package ships a web UI, a scriptable CLI, a terminal UI and an experimental connection CLI called mcpdo.

Does MCP Inspector need an API key or sign-in?

None for the Inspector itself. It supports OAuth to the server under test (--relogin, --stored-auth-only, --oauth-debug). Secrets such as OAuth tokens, client secrets and stdio env values go to the OS keychain, or to ~/.mcp-inspector/secrets.json when no keychain exists. The web backend guards /api/* with a per-launch MCP_INSPECTOR_API_TOKEN.

Is MCP Inspector free?

MCP Inspector is open source and free to run. Its documentation states no usage limit. The web UI binds 127.0.0.1:6274 by default, and the MCP Apps sandbox uses port 6275.

Where these MCP Inspector facts come from

Each fact on this page comes from MCP Inspector's own repository, documentation or package registry, read on November 12, 2026.

Add design rules next to it

MCP Inspector gives the agent its capabilities. It does not tell the agent what a good screen looks like. Better Design adds that part: a design system, interface principles and review rules that the agent calls while it builds.