Adds comprehensive HTTP logging and token persistence

Introduces robust HTTP request and tool invocation logging with sensitive data sanitization and configurable file rotation. This improves debuggability and operational oversight.

Implements token state persistence to disk, allowing the server to maintain authenticated sessions across restarts.

Adds `_with_webhook` variants for alarm registration tools, enabling explicit webhook configuration. Corrects spelling inconsistencies in geographical alarm tools (e.g., 'neighbourhood' to 'neighborhood').

Includes a new build and packaging script.
This commit is contained in:
2026-03-25 15:22:59 +03:00
parent 02e8c2a89b
commit 8b151ae4c4
11 changed files with 947 additions and 78 deletions
Executable
+7
View File
@@ -0,0 +1,7 @@
npm ci
npm run build
rg -n "initializeHttpLogger" dist/index.js
rg -n "http logger initialized|kind\":\"tool\"" dist/http-logger.js
rm -f iklim-mcp-server-dist.zip
zip -r iklim-mcp-server-dist.zip dist package.json package-lock.json
sha256sum iklim-mcp-server-dist.zip