Skip to content

Commit 232d5ff

Browse files
committed
Update README instructions
1 parent 676de45 commit 232d5ff

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

README.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,18 @@
22

33
The MCP inspector is a developer tool for testing and debugging MCP servers.
44

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`:
66

7-
Clone this repository, then install its dependencies:
8-
9-
```sh
10-
npm install
7+
```
8+
npx @modelcontextprotocol/inspector build/index.js
119
```
1210

13-
You can run it in dev mode via:
11+
You can also pass arguments along to the server:
1412

15-
```bash
16-
npm run dev
13+
```
14+
npx @modelcontextprotocol/inspector build/index.js arg1 arg2 ...
1715
```
1816

19-
This will start both the client and server.
20-
21-
To run in production mode:
17+
## License
2218

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.

0 commit comments

Comments
 (0)