Zabbix MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AUTH_TYPE | No | Must be set to 'no-auth' for streamable-http transport | |
| READ_ONLY | No | Set to 'true', '1', or 'yes' to enable read-only mode (only GET operations allowed) | |
| VERIFY_SSL | No | Enable/disable SSL certificate verification (default: 'true') | |
| ZABBIX_URL | Yes | Your Zabbix server API endpoint (e.g., https://zabbix.example.com) | |
| ZABBIX_USER | No | Your Zabbix username | |
| ZABBIX_TOKEN | No | Your Zabbix API token | |
| ZABBIX_MCP_HOST | No | Server host (default: 127.0.0.1) | |
| ZABBIX_MCP_PORT | No | Server port (default: 8000) | |
| ZABBIX_PASSWORD | No | Your Zabbix password | |
| ZABBIX_MCP_TRANSPORT | No | Transport type: 'stdio' (default) or 'streamable-http' | |
| ZABBIX_TEST_NETWORKS | No | Comma-separated test network CIDRs (e.g., 192.168.100.0/24,192.168.101.0/24) excluded by report tools when production_only=true; leave empty to disable | |
| ZABBIX_MCP_STATELESS_HTTP | No | Stateless mode (default: 'false') |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| host_getB | 查询主机列表。支持ID精确查询或名称模糊匹配,已知IP时优先用get_host_by_ip |
| hostgroup_getC | 查询主机群组列表 |
| hostgroup_get_hostsA | 查询群组内的主机列表。需先通过hostgroup_get获取groupid |
| host_software_inventory_getB | 查询单台主机的软件资产信息(software/software_full/software_app_a-e) |
| host_updateA | 修改主机的可见名称和群组。群组参数为groupid(需先查询) |
| item_getA | 查询监控项。需先通过host_get获取hostid。支持语义搜索,key_metrics_only智能筛选最佳指标 |
| trigger_getB | 查询触发器列表。priority=3,4,5只看严重以上级别 |
| event_getA | 查询原始历史事件;业务状态解释使用问题事实明细工具。 |
| history_getA | 获取监控项原始历史数据。长期趋势用trend_get |
| get_problem_summaryA | 查询统一分类后的当前问题摘要。历史事件用event_get |
| get_problem_fact_detailA | 按问题事件 ID 查询真实恢复、人工处置和当前监控状态。 |
| check_host_healthA | 按主机查询接口可用性、统一当前问题分类和关键指标。 |
| quick_statusC | 查看主机、统一当前问题分类及最近二十四小时事件。 |
| host_alert_historyC | 查询完整分页、精确恢复配对的主机与触发器告警历史。 |
| trend_getA | 获取监控项趋势数据(每小时聚合)。摘要用trend_summary |
| trend_summaryB | 按趋势桶样本数加权汇总,并返回时间桶与样本覆盖情况。 |
| event_daily_reportA | 生成运维日报 Markdown,展示条数默认与定时推送日报一致,可按章节覆盖或仅统计生产口径。 |
| event_weekly_reportA | 生成周一至周日运维周报 Markdown,展示条数默认与定时推送周报一致,可按章节覆盖或仅统计生产口径。 |
| event_monthly_reportB | 生成运维月报 Markdown,展示条数默认与定时推送月报一致,可按章节覆盖或仅统计生产口径。 |
| apiinfo_versionA | 获取Zabbix API版本信息 |
| get_host_by_ipA | 通过IP精确查询主机。已知IP时优先用此工具,比host_get更精准省Token |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 21 tools
大部分工具职责明确,如host_get与get_host_by_ip有明确的使用指引,history_get与trend_get也通过描述区分了数据粒度。但quick_status、check_host_health和get_problem_summary在“当前问题分类”上有重叠,可能造成选型困惑,整体上仍可通过描述消歧。
命名风格明显不一致:一部分使用名词+动词(host_get, item_get, trigger_get),另一部分使用动词开头(get_host_by_ip, check_host_health, quick_status),还混合了报告类(event_daily_report等)和非标准命名(apiinfo_version)。缺乏统一的动词-名词模式,代理难以预测工具名称。
21个工具对于Zabbix监控系统而言数量合理,覆盖了主机、组、监控项、触发器、事件、历史、趋势以及日报/周报/月报等核心查询场景。虽然略高于典型范围,但每个工具都有明确用途,并未出现冗余或空洞的工具。
查询面较为完整,包括主机、组、项、触发器、事件、历史、趋势和报告生成,且提供了问题摘要和健康检查等便捷功能。但缺少创建/删除主机、修改监控项或触发器之类的写操作,可能属于只读设计,整体上对于查询和报告覆盖良好。