github initMAX/zabbix-mcp-server v1.27

latest releases: v1.45, v1.44, v1.43...
7 months ago

v1.27 - 2026-05-04

Admin-portal polish release. v1.26 went into field testing immediately after tag and turned up a long list of small UI rough edges - tooltip popups clipped to invisibility, sort indicators that looked different on every column, a Tokens table that did not fit a 1200px laptop screen, a Wizard whose anchor scroll dropped step 3 behind the sticky page header. v1.27 closes 22 of those, plus exposes the v1.26 frontend_username / frontend_password config in the admin UI so operators do not have to hand-edit config.toml to enable graph_render.

Added

  • frontend_username / frontend_password fields in the Servers Edit form (admin portal). v1.26 shipped the wrapper code that uses these for graph_render's frontend-cookie login, but the fields were only reachable via direct config.toml editing. The form now has a "Graph rendering (optional)" fieldset under Request timeout, with the same "leave password empty to keep current" semantics the API token uses. Username writes through unconditionally; clearing the username also drops a stored password so we never leave an orphan secret. Reported in field after the v1.26 upgrade - operator opened the admin UI looking for a place to set the new feature, found nothing, and had to be pointed at /etc/zabbix-mcp/config.toml.
  • Sortable headers on every admin portal table. Audit log was already sortable server-side via htmx; tokens / users lists already had the in-DOM _zmcpSortTable JS but only on a couple of columns. v1.27 puts the same class="sortable" + ↑↓ arrow pair on every column where a sort makes semantic sense (Tokens: Name / Prefix / Scopes / Servers / Mode / IPs / Status / Last Used; Users: Username / Last Login; Dashboard Recent Activity: Timestamp / Action / User / Target / IP). Actions columns and free-text JSON columns stay unsortable. Same pattern across all four tables.

Fixed

  • Dashboard "Active Tasks" panel - missing tooltips and zero gap to "Recent Activity". The four stat tiles (Live tasks, Oldest task, Default TTL, TTL ceiling) shipped without the per-metric tooltip-icon that the rest of the admin portal uses, so an operator landing on the dashboard had no way to learn what each number means without reading the CHANGELOG. Each tile now has a 🛈 icon next to its label with a hover-revealed explanation (cap, sweeper interaction, ttl-override semantics). The panel title also got a tooltip pointing at the MCP 2025-11-25 Tasks API. Side fix: the "Recent Activity" card had no margin-top, so it visually merged with the bottom of the Active Tasks card; added the standard 1.5em to match the spacing every other dashboard card uses.
  • Tooltip popups on card titles were clipped to invisibility. Hovering the tooltip-icon next to "Active Tasks" on the dashboard lit up the icon but the popup body never appeared. The ::after pseudo that renders the tooltip is absolute-positioned, but absolute positioning still respects an ancestor's overflow:hidden clip rectangle - and .card-title carries overflow:hidden + text-overflow:ellipsis as a guard against runaway user-controlled text (token / template / server names) blowing out the card layout (added 2026-04-27). Scoped overflow:visible override via :has(.tooltip-icon) lifts the clip only on titles that actually host a tooltip; long-name truncation guard stays intact for the user-controlled-name cards that need it.
  • Inconsistent sort glyphs on table headers. The previous CSS used a single ↕ (U+2195) for the unsorted state and switched to ↑ / ↓ (U+2191 / U+2193) on the active column. DejaVu / Noto / SF Pro draw the ↕ glyph at a different baseline and width than the single arrows, so the unsorted columns looked off-pattern next to the sorted one - field-reported on the audit log header strip ("the leftmost is OK, the others are shit"). Iterated through three glyph designs in field testing - the final shape is an inline horizontal ↑↓ pair sitting immediately after the header text; the active direction lights up in the primary accent color at full opacity + bold weight, the inactive one fades to 0.15 so the column still reads as toggleable. Hover lifts both to 0.7 when no sort is active. Pure CSS, no JS, works the same on every .sortable th across audit / tokens / users / dashboard tables.
  • Audit log sort toggle worked in only one direction. The thead carried hx-get URLs computed from sort_by / sort_order at full-page render time, but htmx swaps only the tbody on sort - so after the first click the thead state went stale and the second click on a different column toggled against that stale state. Replaced with a custom JS handler that reads thead.dataset.sortBy / sortOrder live, fires htmx.ajax manually with current filter inputs, and updates the thead state in the same tick. New columns get a sensible default direction (timestamp -> desc, text columns -> asc). Side-fix in base.html: the global delegated th.sortable click handler that runs in-DOM sort for the tokens / users tables was also firing on the audit log thead and double-toggling the class - skip rule extended to also exclude th[data-sort-key].
  • Token table polish for a 1200px viewport. Reported as "skrolovani do strany mi vadi". Six related fixes shrink the table from 1426px wide to ~1100px:
    • Token name Prefix column shows the last-4 hex chars of the hash with leading ... (...0de5) instead of the first-12 with trailing .... The leading characters of a SHA-256 hash carry no signal vs. the trailing ones; the eye lands on the part that varies and the column is half the width.
    • Scopes / Servers columns sort the chip list alphabetically, show the first 2, collapse the rest into a +N more muted pill with a hover tooltip listing the full set.
    • Read-only column became Mode; renders compact RO / RW pills with a hover tooltip explaining each. The Read/Write text label was wide on its own.
    • IP Restrictions column header became IPs.
    • Action column collapsed Duplicate / Activate / Revoke to 14x14 inline-SVG icon buttons (title= + aria-label= carry the full text). Delete keeps its text since it is the destructive action and operators rely on reading the word before clicking. Per-button min-width: 78px removed; button height matches btn-sm (~26px).
    • Legacy migration marker became a compact warning-color ! pill positioned BEFORE the name (previous trailing-pill design got truncated by the cell-truncate ellipsis on long names) with a tooltip-right popover explaining the migration.
  • Tooltip popups got cut off near table / sidebar edges. .table-container { overflow-x: auto } implicitly turned overflow-y from visible into auto per CSS spec - so popups floating above the first row of a table got clipped to invisible. Decoupled the axes: overflow-x: auto; overflow-y: visible. Plus the Name-column tooltips on /tokens were anchored above the trigger and 380px wide - on the leftmost column they spilled past the page's left margin into the sidebar and got cut off. Switched to tooltip-right for the Name-column popups so they grow into the table (where there is room) instead of out toward the sidebar.
  • Truncated token name tooltip only on rows that actually need one. A long token name gets ellipsis-truncated to fit the column; rows with shorter names render in full. Earlier work showed a styled tooltip on every row, which was redundant noise on the readable ones. Now a small JS handler runs once on DOMContentLoaded and adds the native title="..." attribute (with the full name) ONLY to .name-trunc elements where scrollWidth > clientWidth. Native title gives the browser auto-wrap + viewport-edge auto-flip so a 100+ char token name renders at any viewport width without manual positioning.
  • Badge spacing in chip rows. Adjacent-sibling left margins (.badge + .badge { margin-left: 4px }) survived the wrap on multi-line chip rows: the second / third chip on a wrapped line still had 4px of margin-left even with no sibling to its left, so wrapped rows visually started 4px to the right of column 0 - a phantom step pattern. Replaced with trailing margins (.badge { margin-right: 4px; margin-bottom: 4px }). Standard "trailing gap" pattern, single-line layout unchanged, wrap layout cleaned up.
  • Wizard step anchors landed under the sticky header. Clicking a token card on /wizard scrolled to #wiz-step-3, but the step heading ended up hidden under the 56px sticky page header so the operator could not see step 3 had become active. Reported as "step 3 se posune moc malo". Pure-CSS fix: scroll-margin-top: calc(var(--header-height) + 16px) on .wiz-step shifts the browser's anchor-scroll landing point down by exactly the header's height plus a small visual gap. Works for hash navigation, browser back-button restoration, and direct deep links.
  • Wizard token card title wraps long unbroken names. The Wizard step 2 token cards rendered a 100+ character token name (operator can paste those through duplicate-from) on a single unbroken line, blowing through the card's right border into the next column. Added overflow-wrap: anywhere + word-break: break-word + min-width: 0; max-width: 100% to .wiz-card-title so the title breaks at any character when the unbroken word would not fit.

Don't miss a new zabbix-mcp-server release

NewReleases is sending notifications on new releases.