Skip to content

Commit eec229f

Browse files
committed
Update README
1 parent af9440a commit eec229f

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,21 @@ Add the following config to your `claude_desktop_config` file:
5050

5151
To 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

0 commit comments

Comments
 (0)