MCP Inspector changeddocs/draft/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 30 Oct 2026 18:37 UTC.
Upstream edited
Recorded here
Lines+55added
Lines−55removed
From line
22
where the diff opens
First seen
26 Aug 2026
this site's first read of the page
Recorded edits10to this page, all time
The whole hunk
from line 22, old and new numbered
/
from line 22
2222
2323The Inspector requires **Node 22.19.0 or newer** and runs directly through `npx`. No installation is required:
2424
25**Web**
25> [tab] Web
26>
27> ```bash theme={null}
28> # Launch the web UI and connect to a local stdio server
29> npx @modelcontextprotocol/inspector node path/to/server/index.js
30>
31> # Or launch with no target and add servers from the UI
32> npx @modelcontextprotocol/inspector
33> ```
34>
35> The 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/draft/tools/inspector/web.md).
2636
27```bash theme={null}
28# Launch the web UI and connect to a local stdio server
29npx @modelcontextprotocol/inspector node path/to/server/index.js
37> [tab] CLI
38>
39> ```bash theme={null}
40> # List a server's tools and exit
41> npx @modelcontextprotocol/inspector --cli node path/to/server/index.js --method tools/list
42>
43> # Call a tool and pipe the result into jq
44> npx @modelcontextprotocol/inspector --cli https://api.example.com/mcp --transport http \
45> --method tools/call --tool-name get_weather --tool-arg city=Boston --format json | jq .result
46> ```
47>
48> See [CLI client](https://modelcontextprotocol.io/docs/draft/tools/inspector/cli.md).
3049
31# Or launch with no target and add servers from the UI
32npx @modelcontextprotocol/inspector
33```
50> [tab] TUI
51>
52> ```bash theme={null}
53> npx @modelcontextprotocol/inspector --tui node path/to/server/index.js
54> ```
55>
56> See [TUI client](https://modelcontextprotocol.io/docs/draft/tools/inspector/tui.md).
3457
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/draft/tools/inspector/web.md).
36
37**CLI**
38
39```bash theme={null}
40# List a server's tools and exit
41npx @modelcontextprotocol/inspector --cli node path/to/server/index.js --method tools/list
42
43# Call a tool and pipe the result into jq
44npx @modelcontextprotocol/inspector --cli https://api.example.com/mcp --transport http \
45 --method tools/call --tool-name get_weather --tool-arg city=Boston --format json | jq .result
46```
47
48See [CLI client](https://modelcontextprotocol.io/docs/draft/tools/inspector/cli.md).
49
50**TUI**
51
52```bash theme={null}
53npx @modelcontextprotocol/inspector --tui node path/to/server/index.js
54```
55
56See [TUI client](https://modelcontextprotocol.io/docs/draft/tools/inspector/tui.md).
57
5858### Inspecting published servers
5959
6060Pass the command that launches the server as the Inspector's arguments, or point it at a remote server with `--server-url`:
6161
62**npm package**
62> [tab] npm package
63>
64> ```bash theme={null}
65> npx -y @modelcontextprotocol/inspector npx @modelcontextprotocol/server-filesystem ~/Desktop
66> ```
6367
64```bash theme={null}
65npx -y @modelcontextprotocol/inspector npx @modelcontextprotocol/server-filesystem ~/Desktop
66```
68> [tab] PyPI package
69>
70> ```bash theme={null}
71> npx @modelcontextprotocol/inspector uvx mcp-server-git --repository ~/code/mcp/servers.git
72> ```
6773
68**PyPI package**
74> [tab] Remote HTTP server
75>
76> ```bash theme={null}
77> npx @modelcontextprotocol/inspector --server-url https://api.example.com/mcp --transport http
78> ```
6979
70```bash theme={null}
71npx @modelcontextprotocol/inspector uvx mcp-server-git --repository ~/code/mcp/servers.git
72```
73
74**Remote HTTP server**
75
76```bash theme={null}
77npx @modelcontextprotocol/inspector --server-url https://api.example.com/mcp --transport http
78```
79
8080Always read a server's own README first, since every server requires different commands and arguments.
8181
8282> [!WARNING]
from line 117
117117
118118## Where to go next
119119
120> **[Web client](https://modelcontextprotocol.io/docs/draft/tools/inspector/web.md)**
120> [card] [Web client](https://modelcontextprotocol.io/docs/draft/tools/inspector/web.md)
121121>
122122> A tab-by-tab walkthrough of the graphical inspector.
123123
124> **[CLI client](https://modelcontextprotocol.io/docs/draft/tools/inspector/cli.md)**
124> [card] [CLI client](https://modelcontextprotocol.io/docs/draft/tools/inspector/cli.md)
125125>
126126> Method reference, output formats, exit codes, and CI recipes.
127127
128> **[TUI client](https://modelcontextprotocol.io/docs/draft/tools/inspector/tui.md)**
128> [card] [TUI client](https://modelcontextprotocol.io/docs/draft/tools/inspector/tui.md)
129129>
130130> Terminal navigation and keyboard reference.
131131
132> **[Configuration and flags](https://modelcontextprotocol.io/docs/draft/tools/inspector/configuration.md)**
132> [card] [Configuration and flags](https://modelcontextprotocol.io/docs/draft/tools/inspector/configuration.md)
133133>
134134> Catalog vs. config files, the full per-client flag reference, and
135135> environment variables.
136136
137> **[Authorization](https://modelcontextprotocol.io/docs/draft/tools/inspector/authorization.md)**
137> [card] [Authorization](https://modelcontextprotocol.io/docs/draft/tools/inspector/authorization.md)
138138>
139139> The OAuth flow end to end, mid-session re-authorization, and loopback
140140> callbacks.
141141
142> **[Protocol eras](https://modelcontextprotocol.io/docs/draft/tools/inspector/protocol-eras.md)**
142> [card] [Protocol eras](https://modelcontextprotocol.io/docs/draft/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](https://modelcontextprotocol.io/docs/draft/tools/inspector/mcpdo.md)**
147> [card] [mcpdo connection client](https://modelcontextprotocol.io/docs/draft/tools/inspector/mcpdo.md)
148148>
149149> Connect once, then run many commands against a named connection.
150150
151> **[Security](https://modelcontextprotocol.io/docs/draft/tools/inspector/security.md)**
151> [card] [Security](https://modelcontextprotocol.io/docs/draft/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](https://modelcontextprotocol.io/docs/draft/tools/inspector/recipes.md)**
156> [card] [Recipes](https://modelcontextprotocol.io/docs/draft/tools/inspector/recipes.md)
157157>
158158> Importing client configs, reviewing MCP Apps, Docker, and network hosting.
159159
160> **[Debugging guide](https://modelcontextprotocol.io/docs/draft/tools/debugging.md)**
160> [card] [Debugging guide](https://modelcontextprotocol.io/docs/draft/tools/debugging.md)
161161>
162162> Broader debugging strategies beyond the Inspector.
163163
No line in this hunk matches that.