Zabbix MCP server
MCP server for Zabbix monitoring and automation
10 stars224 downloads/wk
Reviews
Write oneNobody has reviewed Zabbix MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Zabbix MCP tools (53, 27 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
action_getapi_versionGet Zabbix API version information.
configuration_exportExport Zabbix configurations.
configuration_importImport configurations into Zabbix.
discoveryrule_getdrule_getGet network discovery rules from Zabbix.
event_acknowledgeAcknowledge events in Zabbix.
event_getgraph_gethistory_gethost_createwrite actionCreate a new host in Zabbix.
host_deletewrite actionDelete hosts from Zabbix.
host_gethost_updatewrite actionUpdate an existing host in Zabbix.
hostgroup_createwrite actionCreate a new host group in Zabbix.
hostgroup_deletewrite actionDelete host groups from Zabbix.
hostgroup_gethostgroup_updatewrite actionUpdate an existing host group in Zabbix.
item_createwrite actionitem_deletewrite actionDelete items from Zabbix.
item_getitem_updatewrite actionUpdate an existing item in Zabbix.
itemprototype_getGet item prototypes from Zabbix.
maintenance_createwrite actionCreate a new maintenance period in Zabbix.
maintenance_deletewrite actionDelete maintenance periods from Zabbix.
maintenance_getGet maintenance periods from Zabbix.
maintenance_updatewrite actionUpdate an existing maintenance period in Zabbix.
mediatype_getGet media types from Zabbix.
problem_getproxy_createwrite actionCreate a new proxy in Zabbix.
proxy_deletewrite actionDelete proxies from Zabbix.
proxy_getproxy_updatewrite actionUpdate an existing proxy in Zabbix.
script_executewrite actionExecute a script on a host in Zabbix.
script_getservice_getGet services from Zabbix.
sla_getGet SLAs from Zabbix.
template_createwrite actionCreate a new template in Zabbix.
template_deletewrite actionDelete templates from Zabbix.
template_gettemplate_updatewrite actionUpdate an existing template in Zabbix.
trend_getGet trend data from Zabbix.
trigger_createwrite actionCreate a new trigger in Zabbix.
trigger_deletewrite actionDelete triggers from Zabbix.
trigger_gettrigger_updatewrite actionUpdate an existing trigger in Zabbix.
user_createwrite actionCreate a new user in Zabbix.
user_deletewrite actionDelete users from Zabbix.
user_getGet users from Zabbix.
user_updatewrite actionUpdate an existing user in Zabbix.
usermacro_createwrite actionCreate a new host macro in Zabbix.
usermacro_deletewrite actionDelete host macros from Zabbix.
usermacro_get
Public scan report
scanner v0.1.9 · 2026-09-20 · same rubric, same numbers if you re-run it
- Code scan33 source files scanned; 33 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 2 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the Zabbix MCP repository's README, as published. We do not edit it. Read it on GitHub
Zabbix MCP Server
<!-- mcp-name: io.github.mhajder/zabbix-mcp -->
Zabbix MCP Server is a Python-based Model Context Protocol (MCP) server designed to provide advanced, programmable access to Zabbix monitoring data and management features. It exposes a modern API for querying, automating, and integrating Zabbix resources such as hosts, templates, triggers, items, problems, events, users, proxies, maintenance periods, and more. The server supports both read and write operations, robust security features, and is suitable for integration with AI assistants, automation tools, dashboards, and custom monitoring workflows.
Features
Core Features
- Query Zabbix hosts, templates, items, triggers, and host groups with flexible filtering
- Retrieve problems, events, and alerts with severity filtering
- Access history and trend data for monitored items
- Monitor trigger states and problem severity
- Manage maintenance periods and scheduled downtimes
- Retrieve user macros and configuration data
- Get SLA and service information
Management Operations
- Create, update, and delete hosts, templates, and host groups (if enabled)
- Manage triggers, items, and discovery rules
- Configure maintenance periods and user macros
- Execute scripts on monitored hosts
- Acknowledge events and close problems
- Create and manage users and proxies
- Support for bulk operations on hosts and templates
Advanced Capabilities
- Rate limiting and API security features
- Read-only mode to restrict all write operations for safe monitoring
- Optional tool-search transform for large tool catalogs
- Bearer token authentication for HTTP transport
- Comprehensive logging and audit trails
- SSL/TLS support and configurable timeouts
- Multiple transport options (STDIO, SSE, HTTP)
- Optional Sentry integration for error tracking
Installation
Prerequisites
the zabbix-utils client accepts, and it refuses to connect outside it unless ZABBIXSKIPVERSION_CHECK=true is set
- Python 3.11 to 3.14
- Access to a Zabbix server. Versions 6.0 to 7.4 are supported - that is the range
- Valid Zabbix API token or user credentials with appropriate permissions
Quick Install from PyPI
The easiest way to get started is to install from PyPI:
# Using UV (recommended)
uvx zabbix-mcp
# Or using pip
pip install zabbix-mcpRemember to configure the environment variables for your Zabbix instance before running the server:
# Create environment configuration
export ZABBIX_URL=https://zabbix.example.com/api_jsonrpc.php
export ZABBIX_TOKEN=your-zabbix-api-tokenInstall from Source
- Clone the repository:
git clone https://github.com/mhajder/zabbix-mcp.git
cd zabbix-mcp- Install dependencies:
# Using UV (recommended)
uv sync
# Or using pip
pip install -e .- Configure environment variables:
cp .env.example .env
# Edit .env with your Zabbix URL and credentials- Run the server:
# Using UV (recommended)
uv run zabbix-mcp
# Or using the installed command directly
zabbix-mcpUsing Docker
Docker images are available on GitHub Packages for easy deployment.
# Normal STDIO image
docker pull ghcr.io/mhajder/zabbix-mcp:latest
# MCPO image for usage with Open WebUI
docker pull ghcr.io/mhajder/zabbix-mcpo:latestDevelopment Setup
For development with additional tools:
# Clone and install with development dependencies
git clone https://github.com/mhajder/zabbix-mcp.git
cd zabbix-mcp
uv sync --group dev
# Run tests
uv run pytest
# Run with coverage
uv run pytest --cov=src/
# Run linting and formatting
uv run ruff check .
uv run ruff format .
# Run type checking
uv run ty check .
# Setup prek hooks
uv run prek installConfiguration
Environment Variables
# Zabbix Connection Details
ZABBIX_URL=https://zabbix.example.com/api_jsonrpc.php
# Authentication - use EITHER token OR user/passwordShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
claude mcp add zabbix-mcp -- uvx zabbix-mcp
Zabbix MCP: common questions
- Is Zabbix MCP server safe?
- Mostly: it is graded B (83/100). Read the Zabbix MCP safety report
- How do I install Zabbix MCP?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Zabbix MCP need an API key?
- Yes. The registry entry asks for
ZABBIX_TOKEN,ZABBIX_PASSWORD. - Is Zabbix MCP maintained?
- The last commit was 2 days ago (2026-09-18). The latest release is v0.6.1.