Repository navigation
v3.2.0 — Safety annotations, reliability hardening, live-tested
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: trueon list/get/search/count/stats tools (56)destructiveHint: trueon delete/update/set/assign tools (9)- create/add/link/attach marked additive: non-destructive, non-idempotent (19)
openWorldHint: falseeverywhere
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: 5returned 6 rows (GLPI ranges are inclusive) - Fixed —
resolveFieldon localized instances:statusnow 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
InvalidParamserrors - 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