weather-agent-mcp 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +8 -6
  2. package/dist/weather-mcp.js +34498 -104
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -32,9 +32,11 @@ npm run ask -- --provider=claude "Стоит ли брать дождевик в
32
32
 
33
33
  ## MCP в Cursor / Copilot
34
34
 
35
- Пакет на npm: [`weather-agent-mcp`](https://www.npmjs.com/package/weather-agent-mcp) (`0.1.2`).
35
+ Пакет на npm: [`weather-agent-mcp`](https://www.npmjs.com/package/weather-agent-mcp) (`0.1.3`).
36
36
  Хост получает **tools** (geocode / current / forecast / compare); agent loop остаётся у Cursor/Copilot.
37
37
 
38
+ > **Важно:** Cursor как GUI-приложение часто **не видит** `npx` из Volta/nvm (ошибка `Connection closed`). Укажите **абсолютный** путь: `which npx`.
39
+
38
40
  ### Cursor
39
41
 
40
42
  Файл `~/.cursor/mcp.json` (или MCP config проекта):
@@ -43,14 +45,14 @@ npm run ask -- --provider=claude "Стоит ли брать дождевик в
43
45
  {
44
46
  "mcpServers": {
45
47
  "open-meteo-weather": {
46
- "command": "npx",
47
- "args": ["-y", "weather-agent-mcp"]
48
+ "command": "/Users/mac/.volta/bin/npx",
49
+ "args": ["-y", "weather-agent-mcp@0.1.3"]
48
50
  }
49
51
  }
50
52
  }
51
53
  ```
52
54
 
53
- Перезапустите Cursor (или Reload MCP). В списке tools должны появиться `geocode`, `getCurrentWeather`, `getForecast`, `compareWeather`.
55
+ Перезапустите Cursor (или Reload MCP). Tools: `geocode`, `getCurrentWeather`, `getForecast`, `compareWeather`.
54
56
 
55
57
  ### GitHub Copilot / VS Code
56
58
 
@@ -61,8 +63,8 @@ npm run ask -- --provider=claude "Стоит ли брать дождевик в
61
63
  "servers": {
62
64
  "open-meteo-weather": {
63
65
  "type": "stdio",
64
- "command": "npx",
65
- "args": ["-y", "weather-agent-mcp"]
66
+ "command": "/Users/mac/.volta/bin/npx",
67
+ "args": ["-y", "weather-agent-mcp@0.1.3"]
66
68
  }
67
69
  }
68
70
  }