MCP Inspector changeddocs/2025-06-18/tools/inspector
Upstream edited this page at 28 Jul 2026 15:42 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 20 Oct 2026 20:07 UTC.
Upstream edited
Recorded here
Lines+36added
Lines−44removed
From line
22
where the diff opens
First seen
26 Aug 2026
this site's first read of the page
Recorded edits2to this page, all time
The whole hunk
from line 22, old and new numbered
/
from line 22
2222
2323A common way to start server packages from [npm](https://npmjs.com) or [PyPI](https://pypi.org).
2424
25<Tabs>
26 <Tab title="npm package">
27 ```bash theme={null}
28 npx -y @modelcontextprotocol/inspector npx <package-name> <args>
29 # For example
30 npx -y @modelcontextprotocol/inspector npx @modelcontextprotocol/server-filesystem /Users/username/Desktop
31 ```
32 </Tab>
25**npm package**
3326
34 <Tab title="PyPI package">
35 ```bash theme={null}
36 npx @modelcontextprotocol/inspector uvx <package-name> <args>
37 # For example
38 npx @modelcontextprotocol/inspector uvx mcp-server-git --repository ~/code/mcp/servers.git
39 ```
40 </Tab>
41</Tabs>
27```bash theme={null}
28npx -y @modelcontextprotocol/inspector npx <package-name> <args>
29# For example
30npx -y @modelcontextprotocol/inspector npx @modelcontextprotocol/server-filesystem /Users/username/Desktop
31```
4232
33**PyPI package**
34
35```bash theme={null}
36npx @modelcontextprotocol/inspector uvx <package-name> <args>
37# For example
38npx @modelcontextprotocol/inspector uvx mcp-server-git --repository ~/code/mcp/servers.git
39```
40
4341#### Inspecting locally developed servers
4442
4543To inspect servers locally developed or downloaded as a repository, the most common
4644way is:
4745
48<Tabs>
49 <Tab title="TypeScript">
50 ```bash theme={null}
51 npx @modelcontextprotocol/inspector node path/to/server/index.js args...
52 ```
53 </Tab>
46**TypeScript**
5447
55 <Tab title="Python">
56 ```bash theme={null}
57 npx @modelcontextprotocol/inspector \
58 uv \
59 --directory path/to/server \
60 run \
61 package-name \
62 args...
63 ```
64 </Tab>
65</Tabs>
48```bash theme={null}
49npx @modelcontextprotocol/inspector node path/to/server/index.js args...
50```
6651
52**Python**
53
54```bash theme={null}
55npx @modelcontextprotocol/inspector \
56 uv \
57 --directory path/to/server \
58 run \
59 package-name \
60 args...
61```
62
6763Please carefully read any attached README for the most accurate instructions.
6864
6965## Feature overview
7066
71<Frame caption="The MCP Inspector interface">
72 <img src="https://mintcdn.com/mcp/4ZXF1PrDkEaJvXpn/images/mcp-inspector.png?fit=max&auto=format&n=4ZXF1PrDkEaJvXpn&q=85&s=83b12e2a457c96ef4ad17c7357236290" width="2888" height="1761" data-path="images/mcp-inspector.png" />
73</Frame>
67
7468
7569The Inspector provides several features for interacting with your MCP server:
7670
from line 123
129123
130124## Next steps
131125
132<CardGroup cols={2}>
133 <Card title="Inspector Repository" icon="github" href="https://github.com/modelcontextprotocol/inspector">
134 Check out the MCP Inspector source code
135 </Card>
126> **[Inspector Repository](https://github.com/modelcontextprotocol/inspector)**
127>
128> Check out the MCP Inspector source code
136129
137 <Card title="Debugging Guide" icon="bug" href="/docs/2025-06-18/tools/debugging">
138 Learn about broader debugging strategies
139 </Card>
140</CardGroup>
130> **[Debugging Guide](/docs/2025-06-18/tools/debugging)**
131>
132> Learn about broader debugging strategies
141133
No line in this hunk matches that.