Zabbix API MCP logo

Zabbix API MCP

Connects AI agents to Zabbix for incident briefs, monitoring queries, maintenance checks, and selective write actions.

Install Zabbix API MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "zabbix-api-mcp": {
      "command": "uvx",
      "args": [
        "zapi-mcp"
      ],
      "env": {
        "ZABBIX_URL": "YOUR_VALUE_HERE",
        "ZABBIX_API_TOKEN": "YOUR_VALUE_HERE",
        "ZABBIX_USER": "YOUR_VALUE_HERE",
        "ZABBIX_PASSWORD": "YOUR_VALUE_HERE",
        "ZABBIX_CATEGORIES_INI": "YOUR_VALUE_HERE",
        "ZABBIX_BRIEF_RECENT_HOURS": "YOUR_VALUE_HERE",
        "ZABBIX_BRIEF_PROBLEM_LIMIT": "YOUR_VALUE_HERE",
        "ZABBIX_READ_ONLY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx zapi-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Zabbix API MCP MCP server connects MCP clients to Zabbix for network-operations workflows. Its tools produce a daily brief, query active problems, hosts, item values, and maintenance windows, while optional write tools acknowledge problems and create maintenance windows. Authentication adapts to Zabbix 6.0, 6.4, and 7.0 API conventions. Reach for it when an agent needs structured Zabbix investigation with configurable, site-specific monitoring categories.

Use cases

  • Generate a morning incident brief from active Zabbix problems
  • Investigate hosts, tags, groups, and current item values
  • Check whether alerts are covered by maintenance windows
  • Acknowledge a Zabbix problem with an operational note
  • Open an idempotent maintenance window for selected hosts

Key features

  • Daily briefs with severity-grouped active problems
  • Host, problem, item, and maintenance queries
  • Configurable tag-based monitoring categories
  • Zabbix version-adaptive authentication
  • Optional problem acknowledgement and maintenance actions
  • Read-only mode that removes write tools

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 71d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · zapi-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit15d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity14 viewsConfig copies, upvotes, and views on AllMCPs.

How Zabbix API MCP works

What Zabbix API MCP MCP server does

Zabbix API MCP exposes Zabbix monitoring data and selected operational actions through MCP tools. Its main workflow is daily_brief, which combines active Warning-and-higher problems with hosts in maintenance and optional category sections. Other tools support focused investigation: listing problems, finding hosts by role, tag, or group, reading current item values, and reviewing maintenance windows.

Two tools can change Zabbix state: acknowledge_problem adds an acknowledgement message without closing the problem, and set_maintenance opens an idempotent maintenance window. The server can hide both write tools entirely in read-only mode, making it suitable for investigation-focused assistants.

How it works

The server communicates with the Zabbix API using a base URL and either an API token or a username and password. It appends /api_jsonrpc.php when the configured URL does not already include that endpoint. Authentication supports the user and auth style used by Zabbix 6.0 LTS and the username plus Bearer authorization approach used by later API versions.

daily_brief groups problems by severity and orders them newest first. Recent problems are shown individually, while older active problems are folded into a count based on the configured recent-hours window. The output reports the true total when a fetch limit applies. It also includes active maintenance and windows beginning later the same day, helping distinguish planned work from new incidents.

Setup and configuration

Install the package with either uv pip install zapi-mcp or pip install zapi-mcp. The repository can also be installed from source with uv sync or pip install -e .. It runs as a standard MCP process and can be configured in Claude Desktop, Claude Code, or Codex.

Set ZABBIX_URL and authenticate with either ZABBIX_API_TOKEN or both ZABBIX_USER and ZABBIX_PASSWORD. A token takes precedence over a leftover username, but supplying a token together with both username and password is invalid. ZABBIX_CATEGORIES_INI optionally points to an INI file defining site-specific daily-brief categories.

ZABBIX_BRIEF_RECENT_HOURS controls the recent-problem window and defaults to 24 hours. ZABBIX_BRIEF_PROBLEM_LIMIT caps the number of problems fetched for a brief. Set ZABBIX_READ_ONLY to true, 1, yes, or on to prevent the write tools from being registered.

Tools and capabilities

  • health_check reports server and Zabbix connectivity, authentication status, detected API version, and configured brief categories.
  • daily_brief summarizes active problems, maintenance coverage, and configured category results.
  • get_problems filters active problems by severity and tag, includes age and event IDs, and can include disabled entities.
  • get_hosts filters hosts by role, tag, or group and returns addresses and tags.
  • get_host_items reads current item values for a selected host.
  • get_maintenance_windows lists active, upcoming, or expired maintenance windows.
  • acknowledge_problem and set_maintenance provide the two available state-changing actions.

Category sections can report item values above a threshold or active problems matching host tags. Exact item-key matching and substring matching are supported.

Limitations and notes

The Zabbix API user needs read access to queried host groups. Acknowledge permission is required for acknowledge_problem, maintenance-write permission for set_maintenance, and maintenance-read permission for maintenance-related queries and the brief's maintenance section. The server does not close problems when acknowledging them. Maintenance selection uses either a location tag or an exact host name, not both. Expired and future maintenance windows outside the current day's scope require get_maintenance_windows.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Zabbix API MCP

Zabbix API MCP is an MCP server that connects AI clients to the Zabbix API. Its main tools generate daily briefs, query problems, hosts, item values, and maintenance windows, with optional actions to acknowledge problems and create maintenance windows. It supports token or username/password authentication across multiple Zabbix API versions.

Install it with `uv pip install zapi-mcp` or `pip install zapi-mcp`. You can also clone the repository and install it with `uv sync` or `pip install -e .`. Configure it as an MCP process in a supported client, then provide the required Zabbix environment variables.

Set `ZABBIX_URL` and use either `ZABBIX_API_TOKEN` or both `ZABBIX_USER` and `ZABBIX_PASSWORD`. A configured token takes precedence over a leftover username, while setting a token together with both username and password is treated as a configuration error.

Set `ZABBIX_READ_ONLY=true` to stop `acknowledge_problem` and `set_maintenance` from being registered. The remaining investigation tools continue to work, and the server also refuses those write actions if they are called directly.

Yes. Claude Code can install it through the repository's plugin marketplace or run it manually from `.mcp.json`. The plugin launches `uvx zapi-mcp`; the environment variables must be exported before Claude Code starts, and `uv` must be available on the process PATH.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewZabbix API MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/zabbix-api-mcp?style=directory)](https://allmcps.com/mcp/zabbix-api-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/zabbix-api-mcp"><img src="https://allmcps.com/api/badge/zabbix-api-mcp?style=directory" alt="Zabbix API MCP on AllMCPs" /></a>