Merge pull request #74 from simonw/patch-1

Skip the dist/index.js bit
This commit is contained in:
ashwin-ant
2024-11-25 13:58:02 -08:00
committed by GitHub

View File

@@ -2,17 +2,12 @@
The MCP inspector is a developer tool for testing and debugging MCP servers.
It can be run easily from `npx`. For example, in a folder where there's a built JavaScript server at `build/index.js`:
It can be run easily from `npx`:
```
npx @modelcontextprotocol/inspector build/index.js
```
You can also pass arguments along to the server:
```
npx @modelcontextprotocol/inspector build/index.js arg1 arg2 ...
npx @modelcontextprotocol/inspector
```
This starts a localhost web server on port 5173. You can then visit http://localhost:5173/ to interact with the tool.
## License