Merge pull request #54 from modelcontextprotocol/jspahrsummers-patch-1
Simplify/clarify TS first server `command`
This commit is contained in:
commit
79ec3ca48e
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue