Skip to content

Commit 84efa9c

Browse files
Simplify/clarify TS first server command
1 parent 9fd4c9d commit 84efa9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/first-server/typescript.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,6 @@ This guide uses the OpenWeatherMap API. You'll need a free API key from [OpenWea
372372
<Step title="Build and test">
373373
```bash
374374
npm run build
375-
npm link
376375
```
377376
</Step>
378377
</Steps>
@@ -387,7 +386,8 @@ This guide uses the OpenWeatherMap API. You'll need a free API key from [OpenWea
387386
{
388387
"mcpServers": {
389388
"weather": {
390-
"command": "weather-server",
389+
"command": "node",
390+
"args": ["/path/to/weather-server/build/index.js"],
391391
"env": {
392392
"OPENWEATHER_API_KEY": "your-api-key",
393393
}

0 commit comments

Comments
 (0)