File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -50,20 +50,21 @@ Add the following config to your `claude_desktop_config` file:
5050
5151To test the MCP server, we can use [ mcp inspector] ( https://github.com/modelcontextprotocol/inspector ) .
5252
53- Run the following command to watch and build the project:
54-
5553``` bash
56- npm run dev
54+ # also set USEGRANT_API_KEY
55+ npx @modelcontextprotocol/inspector -e USEGRANT_API_KEY=your_api_key_here npx tsx src/index.ts
56+
57+ # or
58+ # if to use custom ports
59+ export CLIENT_PORT=4321
60+ export SERVER_PORT=4322
61+ npx @modelcontextprotocol/inspector npx tsx src/index.ts
5762```
5863
59- and then start the inspector :
64+ To watch and build the project :
6065
6166``` bash
62- npx @modelcontextprotocol/inspector dist/index.js
63-
64- # or
65- # if to use custom ports
66- CLIENT_PORT=4321 SERVER_PORT=4322 npx @modelcontextprotocol/inspector node dist/index.js
67+ npm run dev
6768```
6869
6970## License
You can’t perform that action at this time.
0 commit comments