Skip to main content
Glama
valv111

Zabbix MCP Server

by valv111

Zabbix MCP Server(通用产品)v0.4.0

基于 mpeirone/zabbix-mcp-server 源码增强(上游未上架 PyPI)。

文档

VISION · ROADMAP · CHANGELOG · UPSTREAM

MCP

http://172.13.2.51:8000/mcp

Health

http://172.13.2.51:8000/healthz

Metrics

http://172.13.2.51:8000/metrics

工具

host_brief · host_problems · zabbix_api · zabbix_api_docs · zabbix_api_list

启动

cd /opt/zabbix-mcp
cp -n .env.example .env
# ZABBIX_TOKEN=...
# MCP_HTTP_TOKEN=...   或  MCP_HTTP_TOKENS=alice:...,bob:...
docker compose up -d --build

依赖模型:

  • PyPIrequirements.txtfastmcp / zabbix-utils 等)构建时 pip install

  • 上游 MCP 源码./vendor/zabbix_mcp_server(体积很小;用 scripts/sync-upstream-vendor.sh 更新)

  • 本产品增强./app

Related MCP server: Zabbix MCP Server

任意 AI 接入

{
  "mcpServers": {
    "zabbix": {
      "url": "http://172.13.2.51:8000/mcp",
      "headers": {
        "Authorization": "Bearer <token>"
      }
    }
  }
}

单机问诊优先 host_brief(ip)

能力

能力

配置

只读 + 白名单

READ_ONLY / ZABBIX_API_WHITELIST

单/多 Token

MCP_HTTP_TOKEN / MCP_HTTP_TOKENS

每客户端限流

MCP_RATE_LIMIT_PER_MIN

CIDR

ALLOWED_CIDRS

审计

MCP_AUDIT_LOG

Prometheus

GET /metrics

语义工具

MCP_SEMANTIC_TOOLS

上游同步

docs/UPSTREAM.md

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    🔌 Complete MCP server for Zabbix integration - Connect AI assistants to Zabbix monitoring with 40+ tools for hosts, items, triggers, templates, problems, and more. Features read-only mode and comprehensive API coverage.
    3
    253
    GPL 3.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables users to monitor and query Zabbix infrastructure through natural language by providing access to current problems, active triggers, and system health status via the Zabbix API.
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Exposes the complete Zabbix API to MCP-compatible AI assistants, enabling natural language management of hosts, problems, and templates across multiple instances. It provides 220 tools for comprehensive monitoring and configuration with support for read-only modes and secure authentication.
    199
    AGPL 3.0
  • F
    license
    Not graded
    quality
    C
    maintenance
    Exposes Zabbix monitoring capabilities as callable tools for AI agents and MCP-compatible clients.
    -