github initMAX/zabbix-mcp-server v1.46.1
v1.46.1: a refused save keeps what was typed, data directories not fixed to /etc/zabbix-mcp, more in the audit row (#49)

one hour ago

v1.46.1 - 2026-12-05

Follow-ups of the v1.46 review that were found and left open there: a refused save no longer throws away what was typed, the portal's data directories are no longer fixed to /etc/zabbix-mcp, an error of /authorize is a page in a browser, times state their time zone, and the audit row of a tool call says more (#49). Verified the same way as v1.46: 2053 tests on Python 3.14 and 3.10 (as root and as an ordinary user), with MCP SDK 2.0.0 and 2.3.0 and inside the Docker image, all tools against Zabbix 5.0 to 8.0, the caller's token against real Zabbix 5.4 to 8.0.

Upgrading

  • Nothing to change. A config of v1.46 loads as it is and an installation in /etc/zabbix-mcp keeps every path it has.
  • A validation error in the portal now answers with the page itself (HTTP 200) instead of a redirect. Only a script that drives the portal's forms would notice.
  • The audit row of a tool call has four more fields (session, scopes, arguments, result_count); the existing ones are unchanged.

Fixed

  • A refused save no longer throws away what was typed. On a validation error the token, Zabbix server, user and OAuth client edit pages and the Settings page came back with the stored values and only a message. They now come back with every field as submitted (in Settings: the section that was submitted) and the reason. A typed password, API token or key is not put back into the page, and the message says so.
  • The portal's data directories are no longer fixed to /etc/zabbix-mcp. Custom report templates, the logo, the TLS files and the update-check cache could not be written by a user-mode install or a server started by hand ("Permission denied"). /etc/zabbix-mcp is used exactly as before whenever the configuration lives there or it is writable; otherwise the directory of config.toml is used (templates/, assets/, tls/, state/ are created there). ZABBIX_MCP_DATA_DIR names the directory outright. Once data is kept next to config.toml it stays there, and the directory in force is logged at every start. The path checks that confine template and upload files apply to the directory in force; a template still kept in /etc/zabbix-mcp/templates is read from there and copied on its first edit. Creating a template or uploading a logo no longer overwrites a file that is already there under another purpose.
  • An error of /authorize in a browser was raw JSON (an unknown client, a redirect address that does not match). It is the sign-in error page now, with what to do next; a client that asks for JSON still gets JSON.
  • Times in the audit log, on the dashboard and on the Usage page had no time zone. They are server time, and the page says so with the offset, e.g. "server time, currently UTC+01:00 (CET)".
  • A token's scopes took any text when an admin saved them; only scope names are accepted now.

Added

  • More in the audit row of a tool call (#49): the first eight characters of the MCP session id (to tell the calls of one session apart; the full id is not written), the scopes of the calling token, the names of the arguments that were passed (names only, never values) and, where the answer is a list, how many items it had.

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

NewReleases is sending notifications on new releases.