Skip to content

v3.2.0 — Safety annotations, reliability hardening, live-tested

Choose a tag to compare

@GMS64260 GMS64260 released this 04 Jul 18:46
· 62 commits to main since this release
aebd3db

Combined release: v3.1.0 + v3.2.0 (npm was last published at 3.0.0).

v3.2.0

MCP tool safety annotations (#3)

All 84 tools now carry ToolAnnotations, derived from the tool name so future tools are annotated automatically:

  • readOnlyHint: true on list/get/search/count/stats tools (56)
  • destructiveHint: true on delete/update/set/assign tools (9)
  • create/add/link/attach marked additive: non-destructive, non-idempotent (19)
  • openWorldHint: false everywhere

Live smoke test + 2 bugs found & fixed

New npm run smoke (+ -- --write): 23 checks against a real GLPI 11 instance, all passing.

  • Fixed — search off-by-one: limit: 5 returned 6 rows (GLPI ranges are inclusive)
  • Fixed — resolveField on localized instances: status now resolves via canonical uid / SQL column name, not just the translated label ("Statut")

v3.1.0 — Reliability hardening

  • Request timeout on every HTTP call via AbortController (GLPI_TIMEOUT_MS, default 15s)
  • Retry on 429 (honours Retry-After) and transient network errors, with exponential backoff
  • Runtime input validation (zod) on ticket tools → clear InvalidParams errors
  • Differentiated MCP errors: validation / GLPI API (status + code) / internal
  • Config validated at startup (URL format, auth method present)
  • Resilient startup: server starts even if GLPI is momentarily unreachable
  • Debug logging to stderr via GLPI_DEBUG=1
  • New env vars: GLPI_TIMEOUT_MS, GLPI_MAX_RETRIES, GLPI_DEBUG

Tests: 11/11 unit + 23/23 live smoke checks.

Full changelog: https://github.com/GMS64260/mcp-glpi/blob/main/CHANGELOG.md