Zabbix

Developer tools

Complete MCP server for Zabbix integration, Connect AI assistants to Zabbix monitoring with a single unified tool covering 100% of Zabbix APIs. Includes read-only mode and documentation tools for seamless exploration of hosts, items, triggers, templates, problems, and more.

Your AI app calls the Zabbix MCP server, which does the developer tools work and sends the result back to the chat.

About Zabbix

Zabbix is a community MCP server from mpeirone, filed in our directory under developer tools. Complete MCP server for Zabbix integration, Connect AI assistants to Zabbix monitoring with a single unified tool covering 100% of Zabbix APIs. Includes read-only mode and documentation tools for seamless exploration of hosts, items, triggers, templates, problems, and more.

At a glance

Publisher
mpeirone (community)
Runs
See the README for setup
Written in
Python
License
GPL-3.0
GitHub stars
267

How to set up Zabbix

  1. Follow the install steps in the Zabbix README; it is written in Python, so have that toolchain ready.
  2. Check the Zabbix README for keys or settings; the registry lists none that Zabbix requires.
  3. Add Zabbix to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Zabbix tools to confirm the connection.
  5. Run one read-only task with Zabbix first, and keep your app asking before each tool call until the results look right.

Zabbix compared with similar servers

  • Es Ine by es-ine has fewer GitHub stars than Zabbix (266 against 267); both are community servers, and both run locally.
  • Integrate MCP With Copilot by skills has more GitHub stars than Zabbix (268 against 267); both are community servers, and both run locally.
  • Kiln (codeofaxel) by codeofaxel has fewer GitHub stars than Zabbix (265 against 267); both are community servers, and Kiln (codeofaxel) runs as a remote server and Zabbix runs on your own machine.

Before you connect Zabbix

  • Give Zabbix its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Zabbix tool call until you trust what it does with them.
  • Treat text that Zabbix fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Zabbix on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Zabbix

How marketing and sales teams put Zabbix to work, by company size. Pick the size closest to yours and start Zabbix on one use case.

Small business

  • A small business with a developer can use Zabbix to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Zabbix to explain and fix a marketing site issue without context switching between tools.
  • Zabbix runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Zabbix to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Zabbix to keep scripts and automations documented and versioned as they change.
  • Start Zabbix on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Zabbix with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Zabbix so web and marketing engineering share one reviewed way of working with AI.
  • Zabbix is a community server, so have security review the code and pin a version before Zabbix touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Zabbix README

From mpeirone/zabbix-mcp-server on GitHub, shared under its GPL-3.0 license. Images are left out; the original has them.

README.md

Zabbix MCP Server

A lightweight Model Context Protocol (MCP) server that provides complete access to the entire Zabbix API through just 3 tools. Compatible with Zabbix 6.0+.

Why Zabbix MCP Server?

  • Complete API Coverage - Access every Zabbix API method (100+) through a unified interface
  • Lightweight Context - Only 3 tools instead of 50+ individual tools, keeping LLM context minimal
  • Always Up-to-Date - Works with current and future Zabbix API methods automatically
  • Zabbix 6.0+ Compatible - Supports Zabbix 6.0, 6.4, 7.0, and newer versions

The 3 Tools

Tool Purpose
zabbix_api Execute any Zabbix API method
zabbix_api_docs Get documentation for any API method
zabbix_api_list Discover available API objects and methods

Quick Start

Option 1: Claude Code Integration

Add to your Claude Code MCP configuration:

claude mcp add zabbix \
  --env ZABBIX_URL=https://your-zabbix-server.com \
  --env ZABBIX_TOKEN=your_api_token \
  -- uvx --from git+https://github.com/mpeirone/zabbix-mcp-server@main zabbix-mcp
Option 2: Run with uv
git clone https://github.com/mpeirone/zabbix-mcp-server.git
cd zabbix-mcp-server
uv sync

# Configure environment
export ZABBIX_URL=https://your-zabbix-server.com
export ZABBIX_TOKEN=your_api_token

# Start the server
uv run python scripts/start_server.py
Test Connection
uv run python scripts/test_server.py

Option 3: Run with docker

git clone https://github.com/mpeirone/zabbix-mcp-server.git
cd zabbix-mcp-server

# Using docker-compose
docker compose up -d

# Or build manually
docker build -t zabbix-mcp-server .
docker run -e ZABBIX_URL=https://zabbix.example.com -e ZABBIX_TOKEN=your_token zabbix-mcp-server

Environment Variables

Required
Variable Description Example
ZABBIX_URL Zabbix server URL https://your-zabbix-server.com
Authentication (choose one)
Variable Description
ZABBIX_TOKEN API token (recommended)
ZABBIX_USER + ZABBIX_PASSWORD Username and password
Security
Variable Default Description
READ_ONLY false Set to true to allow only read operations
VERIFY_SSL true Enable/disable SSL verification
ZABBIX_API_WHITELIST .* Comma-separated regex patterns for allowed API methods
ZABBIX_API_BLACKLIST (empty) Comma-separated regex patterns for blocked API methods
ZABBIX_SKIP_VERSION_CHECK false Skip Zabbix version compatibility check
ZABBIX_API_TIMEOUT 30 API request timeout in seconds
Transport
Variable Default Description
ZABBIX_MCP_TRANSPORT stdio Transport type: stdio or streamable-http
ZABBIX_MCP_HOST 127.0.0.1 HTTP server host (when using streamable-http)
ZABBIX_MCP_PORT 8000 HTTP server port (when using streamable-http)
ZABBIX_MCP_STATELESS_HTTP false Stateless HTTP mode
AUTH_TYPE - Must be no-auth for HTTP transport (when using streamable-http)
Debug
Variable Default Description
DEBUG false Set to true for verbose logging

Usage Examples

Get Hosts
zabbix_api(method='host.get', params={'output': ['hostid', 'name']})
Get Problems
zabbix_api(method='problem.get', params={'output': 'extend', 'recent': True})
Create Host
zabbix_api(method='host.create', params={
    'host': 'server-01',
    'groups': [{'groupid': '1'}],
    'interfaces': [{'type': 1, 'main': 1, 'useip': 1, 'ip': '192.168.1.100', 'port': '10050'}]
})
Get Method Documentation
zabbix_api_docs(method='host.create')
List Available Methods
zabbix_api_list()              # All objects and methods
zabbix_api_list(object='host')  # Host methods only

Security Features

Read-Only Mode

Set READ_ONLY=true to block all write operations:

export READ_ONLY=true

Only get, version, check, and export operations will be allowed.

API Method Filtering

Control which API methods can be called using whitelist/blacklist patterns:

# Allow only host.* and item.get methods
export ZABBIX_API_WHITELIST="host\..*,item\.get"

# Block all delete and create operations
export ZABBIX_API_BLACKLIST=".*\.delete,.*\.create"

Both support comma-separated regex patterns. Blacklist is checked first.

MCP Client Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "zabbix": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/mpeirone/zabbix-mcp-server@main", "zabbix-mcp"],
      "env": {
        "ZABBIX_URL": "https://zabbix.example.com",
        "ZABBIX_TOKEN": "your_api_token"
      }
    }
  }
}

Troubleshooting

Connection Issues
  • Verify ZABBIX_URL is accessible
  • Check authentication credentials
  • Ensure Zabbix API is enabled
Permission Errors
  • Verify Zabbix user permissions
  • Check if READ_ONLY mode is enabled
Method Blocked

If you see "Method is not in whitelist" or "Method is blacklisted":

  • Review ZABBIX_API_WHITELIST and ZABBIX_API_BLACKLIST patterns
  • Ensure your regex patterns match the full method name (e.g., host.get)
Debug Mode
export DEBUG=true
uv run python scripts/start_server.py

Contributing

See CONTRIBUTING.md for development guidelines.

License

GPLv3 License - see LICENSE for details.

Acknowledgments

Questions about Zabbix

What is the Zabbix MCP server?

Complete MCP server for Zabbix integration, Connect AI assistants to Zabbix monitoring with a single unified tool covering 100% of Zabbix APIs. Includes read-only mode and documentation tools for seamless exploration of hosts, items, triggers, templates, problems, and more. Zabbix is maintained by mpeirone on GitHub at mpeirone/zabbix-mcp-server, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Zabbix MCP server?

Zabbix doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (mpeirone/zabbix-mcp-server). Like most servers, Zabbix ends with a command or URL you paste into your AI app's MCP config.

Does Zabbix need an API key?

The registry lists no required keys for Zabbix. Check the Zabbix README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Zabbix an official MCP server?

No. Zabbix is a community server maintained by mpeirone. Community servers can be excellent; read the code and the open issues before you give Zabbix access to company data.

What license is Zabbix under?

Zabbix is released under the GPL-3.0 license, according to its GitHub repository. The license covers the code of Zabbix; the service it connects to has its own terms.