Merge pull request #54 from modelcontextprotocol/jspahrsummers-patch-1

Simplify/clarify TS first server `command`
This commit is contained in:
Justin Spahr-Summers 2024-11-27 10:41:44 -06:00 • committed by GitHub
commit 79ec3ca48e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -372,7 +372,6 @@ This guide uses the OpenWeatherMap API. You'll need a free API key from [OpenWea
<Step title="Build and test"> <Step title="Build and test">
```bash ```bash
npm run build npm run build
npm link
``` ```
</Step> </Step>
</Steps> </Steps>
@ -387,7 +386,8 @@ This guide uses the OpenWeatherMap API. You'll need a free API key from [OpenWea
{ {
"mcpServers": { "mcpServers": {
"weather": { "weather": {
"command": "weather-server", "command": "node",
"args": ["/path/to/weather-server/build/index.js"],
"env": { "env": {
"OPENWEATHER_API_KEY": "your-api-key", "OPENWEATHER_API_KEY": "your-api-key",
} }