Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · mcp

MCP Inspector changeddocs/2026-07-28/tools/inspector

Nearest release: v2.1.295, published 5 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 8 Oct 2026 12:58 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 24 Oct 2026 11:07 UTC.

Upstream edited
Recorded here
Lines+18added
Lines−18removed
From line 2 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits10to this page, all time

The whole hunk

from line 2, old and new numbered
/
lines
from line 2
22 
33> Interactive developer tooling for testing and debugging MCP servers, in the browser, on the command line, and in the terminal
44 
5The [MCP Inspector](https://github.com/modelcontextprotocol/inspector) is the reference developer tool for testing and debugging [MCP servers](/docs/2026-07-28/learn/server-concepts.md). It ships as a single package, `@modelcontextprotocol/inspector`, providing **three clients behind one binary**:
5The [MCP Inspector](https://github.com/modelcontextprotocol/inspector) is the reference developer tool for testing and debugging [MCP servers](https://modelcontextprotocol.io/docs/2026-07-28/learn/server-concepts.md). It ships as a single package, `@modelcontextprotocol/inspector`, providing **three clients behind one binary**:
66 
77| Client | Invocation | What it's for |
88| - | - | - |
from line 10
1010| **CLI** | `npx @modelcontextprotocol/inspector --cli` | A scriptable, machine-readable client for CI, shell pipelines, and coding agents. |
1111| **TUI** | `npx @modelcontextprotocol/inspector --tui` | An interactive terminal UI, for when a browser isn't available or wanted. |
1212 
13All three are built on the same shared core, so a connection behaves identically across them: the same transports, the same configuration files, the same OAuth state on disk, and the same [protocol-era](/docs/2026-07-28/tools/inspector/protocol-eras.md) negotiation (legacy vs. modern 2026-07-28).
13All three are built on the same shared core, so a connection behaves identically across them: the same transports, the same configuration files, the same OAuth state on disk, and the same [protocol-era](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/protocol-eras.md) negotiation (legacy vs. modern 2026-07-28).
1414 
15The package also installs **`mcpdo`**, an experimental [connection client](/docs/2026-07-28/tools/inspector/mcpdo.md) that connects to a server once and keeps it open across many commands, on the same core.
15The package also installs **`mcpdo`**, an experimental [connection client](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/mcpdo.md) that connects to a server once and keeps it open across many commands, on the same core.
1616 
1717![](https://mintcdn.com/mcp/pUebPdrb6PY5_mfH/images/inspector/web-monitor-sidebar.png?fit=max\&auto=format\&n=pUebPdrb6PY5_mfH\&q=85\&s=2ced9eeefa020be53fe4fe957b7d07c6)
1818 
from line 32
3232npx @modelcontextprotocol/inspector
3333```
3434 
35The command prints a URL carrying a per-launch API token and opens it in your browser (set `MCP_AUTO_OPEN_ENABLED=false` to stop it opening). See [Web client](/docs/2026-07-28/tools/inspector/web.md).
35The command prints a URL carrying a per-launch API token and opens it in your browser (set `MCP_AUTO_OPEN_ENABLED=false` to stop it opening). See [Web client](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/web.md).
3636 
3737**CLI**
3838 
from line 45
4545 --method tools/call --tool-name get_weather --tool-arg city=Boston --format json | jq .result
4646```
4747 
48See [CLI client](/docs/2026-07-28/tools/inspector/cli.md).
48See [CLI client](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/cli.md).
4949 
5050**TUI**
5151 
from line 53
5353npx @modelcontextprotocol/inspector --tui node path/to/server/index.js
5454```
5555 
56See [TUI client](/docs/2026-07-28/tools/inspector/tui.md).
56See [TUI client](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/tui.md).
5757 
5858### Inspecting published servers
5959 
from line 87
8787> sessions, Termux, and containers with a mounted volume) they are saved to
8888> `~/.mcp-inspector/secrets.json` instead, **unencrypted unless you supply a
8989> key**. See [Where secrets are
90> stored](/docs/2026-07-28/tools/inspector/configuration.md#where-secrets-are-stored)
90> stored](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/configuration.md#where-secrets-are-stored)
9191> for how to get a keychain back, encrypt the file, or keep secrets in memory
9292> only.
9393 
from line 98
98981. **The mode flag:** `--web` (default), `--cli`, or `--tui`. At most one; passing two errors with `Specify at most one of --web, --cli, or --tui.`
99992. **`-h` / `--help`.**
100100 
101Everything else (`--catalog`, `--config`, `--server-url`, `--transport`, `--method`, the OAuth flags) is defined by the *client*, not the launcher, and the clients do not all define the same set. The [Configuration and flags](/docs/2026-07-28/tools/inspector/configuration.md) page is organized that way, by owner.
101Everything else (`--catalog`, `--config`, `--server-url`, `--transport`, `--method`, the OAuth flags) is defined by the *client*, not the launcher, and the clients do not all define the same set. The [Configuration and flags](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/configuration.md) page is organized that way, by owner.
102102 
103103> [!NOTE]
104104>
from line 117
117117 
118118## Where to go next
119119 
120> **[Web client](/docs/2026-07-28/tools/inspector/web.md)**
120> **[Web client](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/web.md)**
121121>
122122> A tab-by-tab walkthrough of the graphical inspector.
123123 
124> **[CLI client](/docs/2026-07-28/tools/inspector/cli.md)**
124> **[CLI client](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/cli.md)**
125125>
126126> Method reference, output formats, exit codes, and CI recipes.
127127 
128> **[TUI client](/docs/2026-07-28/tools/inspector/tui.md)**
128> **[TUI client](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/tui.md)**
129129>
130130> Terminal navigation and keyboard reference.
131131 
132> **[Configuration and flags](/docs/2026-07-28/tools/inspector/configuration.md)**
132> **[Configuration and flags](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/configuration.md)**
133133>
134134> Catalog vs. config files, the full per-client flag reference, and
135135> environment variables.
136136 
137> **[Authorization](/docs/2026-07-28/tools/inspector/authorization.md)**
137> **[Authorization](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/authorization.md)**
138138>
139139> The OAuth flow end to end, mid-session re-authorization, and loopback
140140> callbacks.
141141 
142> **[Protocol eras](/docs/2026-07-28/tools/inspector/protocol-eras.md)**
142> **[Protocol eras](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/protocol-eras.md)**
143143>
144144> Legacy vs. modern (2026-07-28) operation, and how every tab changes between
145145> protocol eras.
146146 
147> **[mcpdo connection client](/docs/2026-07-28/tools/inspector/mcpdo.md)**
147> **[mcpdo connection client](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/mcpdo.md)**
148148>
149149> Connect once, then run many commands against a named connection.
150150 
151> **[Security](/docs/2026-07-28/tools/inspector/security.md)**
151> **[Security](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/security.md)**
152152>
153153> The threat model: the web backend's token, Docker, secret storage, stdio
154154> servers, and the mcpdo daemon.
155155 
156> **[Recipes](/docs/2026-07-28/tools/inspector/recipes.md)**
156> **[Recipes](https://modelcontextprotocol.io/docs/2026-07-28/tools/inspector/recipes.md)**
157157>
158158> Importing client configs, reviewing MCP Apps, Docker, and network hosting.
159159 
160> **[Debugging guide](/docs/2026-07-28/tools/debugging.md)**
160> **[Debugging guide](https://modelcontextprotocol.io/docs/2026-07-28/tools/debugging.md)**
161161>
162162> Broader debugging strategies beyond the Inspector.
163163 
Feedback