add npm run dev:sdk to get live sdk changes w/ simple server (#533)

* add `npm run dev:sdk` to get live sdk changes w/ simple server
This commit is contained in:
Olivier Chafik 2025-07-10 11:26:17 +01:00 • committed by GitHub
commit b2347dbb0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -254,6 +254,12 @@ Development mode:
```bash
npm run dev
# To co-develop with the typescript-sdk package (assuming it's cloned in ../typescript-sdk; set MCP_SDK otherwise):
npm run dev:sdk "cd sdk && npm run examples:simple-server:w"
# then open http://localhost:3000/mcp as SHTTP in the inspector.
# To go back to the deployed SDK version:
# npm run unlink:sdk && npm i
```
> **Note for Windows users:**