File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change 2
2
3
3
The MCP inspector is a developer tool for testing and debugging MCP servers.
4
4
5
- ## Getting started
5
+ It can be run easily from ` npx ` . For example, in a folder where there's a built JavaScript server at ` build/index.js ` :
6
6
7
- Clone this repository, then install its dependencies:
8
-
9
- ``` sh
10
- npm install
7
+ ```
8
+ npx @modelcontextprotocol/inspector build/index.js
11
9
```
12
10
13
- You can run it in dev mode via :
11
+ You can also pass arguments along to the server :
14
12
15
- ``` bash
16
- npm run dev
13
+ ```
14
+ npx @modelcontextprotocol/inspector build/index.js arg1 arg2 ...
17
15
```
18
16
19
- This will start both the client and server.
20
-
21
- To run in production mode:
17
+ ## License
22
18
23
- ``` bash
24
- npm run build
25
- npm start
26
- ```
19
+ This project is licensed under the MIT License—see the [ LICENSE] ( LICENSE ) file for details.
You can’t perform that action at this time.
0 commit comments