mcp-grocy 2.6.0 → 2.7.0

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ # [2.7.0](https://github.com/miguelangel-nubla/mcp-grocy/compare/v2.6.0...v2.7.0) (2026-08-03)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **server:** fix strict null check in invokeTool and add pre-commit type-check ([affc8d0](https://github.com/miguelangel-nubla/mcp-grocy/commit/affc8d0015343e26fff4cf2b2abdf21c2c4a967a))
6
+
7
+ ### Features
8
+
9
+ - add serialize_structured_to_content configuration to improve compatibility with legacy clients ([4371c18](https://github.com/miguelangel-nubla/mcp-grocy/commit/4371c18bd2b9038ab68c79403cd0e5f47619c23b))
10
+
1
11
  # [2.6.0](https://github.com/miguelangel-nubla/mcp-grocy/compare/v2.5.0...v2.6.0) (2026-07-06)
2
12
 
3
13
  ### Bug Fixes
@@ -1,20 +1,30 @@
1
- # [2.6.0](https://github.com/miguelangel-nubla/mcp-grocy/compare/v2.5.0...v2.6.0) (2026-07-06)
1
+ # [2.7.0](https://github.com/miguelangel-nubla/mcp-grocy/compare/v2.6.0...v2.7.0) (2026-08-03)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * reap idle streamable HTTP sessions to prevent McpServer leak ([c55b2c4](https://github.com/miguelangel-nubla/mcp-grocy/commit/c55b2c4808dac4ac5f0c55a45936c8f995d5efc3))
6
+ * **server:** fix strict null check in invokeTool and add pre-commit type-check ([affc8d0](https://github.com/miguelangel-nubla/mcp-grocy/commit/affc8d0015343e26fff4cf2b2abdf21c2c4a967a))
7
+
8
+
9
+ ### Features
10
+
11
+ * add serialize_structured_to_content configuration to improve compatibility with legacy clients ([4371c18](https://github.com/miguelangel-nubla/mcp-grocy/commit/4371c18bd2b9038ab68c79403cd0e5f47619c23b))
12
+
13
+ # [2.6.0](https://github.com/miguelangel-nubla/mcp-grocy/compare/v2.5.0...v2.6.0) (2026-07-06)
14
+
15
+ ### Bug Fixes
7
16
 
17
+ - reap idle streamable HTTP sessions to prevent McpServer leak ([c55b2c4](https://github.com/miguelangel-nubla/mcp-grocy/commit/c55b2c4808dac4ac5f0c55a45936c8f995d5efc3))
8
18
 
9
19
  ### Features
10
20
 
11
- * add shopping_list_update_item tool to allow modifying list items ([dcbc974](https://github.com/miguelangel-nubla/mcp-grocy/commit/dcbc9746630667bbe89330bab7f7e9f84a3f060f))
12
- * add shopping_lists_* configurations to example yaml ([204f03d](https://github.com/miguelangel-nubla/mcp-grocy/commit/204f03dca8c9ca17f3cfc476274f0a5b844912c7))
13
- * configure husky git hooks ([c8ac158](https://github.com/miguelangel-nubla/mcp-grocy/commit/c8ac1582f477c6dc074166b5a9753a06608c8007))
14
- * enhance shopping list tools with manual item support and enriched metadata resolution ([a1a8ce3](https://github.com/miguelangel-nubla/mcp-grocy/commit/a1a8ce341b61e5b24a366ae74a95a2c92e93e07c))
15
- * enrich shopping list tool responses with product and quantity unit details ([56bd553](https://github.com/miguelangel-nubla/mcp-grocy/commit/56bd553e17d913db1f2c61fc963a900f6477f45f))
16
- * expand shopping module with get, update, and filtered list capabilities ([d7e0e5d](https://github.com/miguelangel-nubla/mcp-grocy/commit/d7e0e5d94962c1b4daf0835a91fc275c25188673))
17
- * make productId optional in shopping list add tool ([a427e18](https://github.com/miguelangel-nubla/mcp-grocy/commit/a427e1832a9b70e579dae062c7665ec472656359))
21
+ - add shopping_list_update_item tool to allow modifying list items ([dcbc974](https://github.com/miguelangel-nubla/mcp-grocy/commit/dcbc9746630667bbe89330bab7f7e9f84a3f060f))
22
+ - add shopping*lists*\* configurations to example yaml ([204f03d](https://github.com/miguelangel-nubla/mcp-grocy/commit/204f03dca8c9ca17f3cfc476274f0a5b844912c7))
23
+ - configure husky git hooks ([c8ac158](https://github.com/miguelangel-nubla/mcp-grocy/commit/c8ac1582f477c6dc074166b5a9753a06608c8007))
24
+ - enhance shopping list tools with manual item support and enriched metadata resolution ([a1a8ce3](https://github.com/miguelangel-nubla/mcp-grocy/commit/a1a8ce341b61e5b24a366ae74a95a2c92e93e07c))
25
+ - enrich shopping list tool responses with product and quantity unit details ([56bd553](https://github.com/miguelangel-nubla/mcp-grocy/commit/56bd553e17d913db1f2c61fc963a900f6477f45f))
26
+ - expand shopping module with get, update, and filtered list capabilities ([d7e0e5d](https://github.com/miguelangel-nubla/mcp-grocy/commit/d7e0e5d94962c1b4daf0835a91fc275c25188673))
27
+ - make productId optional in shopping list add tool ([a427e18](https://github.com/miguelangel-nubla/mcp-grocy/commit/a427e1832a9b70e579dae062c7665ec472656359))
18
28
 
19
29
  # [2.5.0](https://github.com/miguelangel-nubla/mcp-grocy/compare/v2.4.4...v2.5.0) (2026-03-30)
20
30
 
@@ -29,7 +29,9 @@ Enable HTTP/SSE transport for web-based access:
29
29
  | `MCP_SESSION_IDLE_TIMEOUT_MS` | Reap an idle MCP session after this many ms | `300000` | `600000` |
30
30
  | `MCP_SESSION_SWEEP_INTERVAL_MS` | How often, in ms, to sweep for idle sessions to reap | `60000` | `30000` |
31
31
 
32
- The matching YAML keys are `server.session_idle_timeout_ms` and `server.session_sweep_interval_ms`.
32
+ | `SERIALIZE_STRUCTURED_TO_CONTENT` | Also serialize structured JSON into content text blocks | `false` | `true` |
33
+
34
+ The matching YAML key is `server.serialize_structured_to_content`.
33
35
 
34
36
  ### Transport Modes
35
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-grocy",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Model Context Protocol (MCP) server for Grocy integration",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -20,6 +20,7 @@
20
20
  "scripts": {
21
21
  "prebuild": "node scripts/build.js",
22
22
  "build": "tsc",
23
+ "type-check": "tsc --noEmit",
23
24
  "prepare": "husky",
24
25
  "start": "node build/main.js",
25
26
  "dev": "npm run build && node build/main.js",