Skip to main content
Glama
TemplarFan

Zabbix MCP Server

by TemplarFan

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AUTH_TYPENoMust be set to 'no-auth' for streamable-http transport
READ_ONLYNoSet to 'true', '1', or 'yes' to enable read-only mode (only GET operations allowed)
VERIFY_SSLNoEnable/disable SSL certificate verification (default: 'true')
ZABBIX_URLYesYour Zabbix server API endpoint (e.g., https://zabbix.example.com)
ZABBIX_USERNoYour Zabbix username
ZABBIX_TOKENNoYour Zabbix API token
ZABBIX_MCP_HOSTNoServer host (default: 127.0.0.1)
ZABBIX_MCP_PORTNoServer port (default: 8000)
ZABBIX_PASSWORDNoYour Zabbix password
ZABBIX_MCP_TRANSPORTNoTransport type: 'stdio' (default) or 'streamable-http'
ZABBIX_TEST_NETWORKSNoComma-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_HTTPNoStateless 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

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 21 tools

Disambiguation4/5

大部分工具职责明确,如host_get与get_host_by_ip有明确的使用指引,history_get与trend_get也通过描述区分了数据粒度。但quick_status、check_host_health和get_problem_summary在“当前问题分类”上有重叠,可能造成选型困惑,整体上仍可通过描述消歧。

Naming Consistency2/5

命名风格明显不一致:一部分使用名词+动词(host_get, item_get, trigger_get),另一部分使用动词开头(get_host_by_ip, check_host_health, quick_status),还混合了报告类(event_daily_report等)和非标准命名(apiinfo_version)。缺乏统一的动词-名词模式,代理难以预测工具名称。

Tool Count4/5

21个工具对于Zabbix监控系统而言数量合理,覆盖了主机、组、监控项、触发器、事件、历史、趋势以及日报/周报/月报等核心查询场景。虽然略高于典型范围,但每个工具都有明确用途,并未出现冗余或空洞的工具。

Completeness4/5

查询面较为完整,包括主机、组、项、触发器、事件、历史、趋势和报告生成,且提供了问题摘要和健康检查等便捷功能。但缺少创建/删除主机、修改监控项或触发器之类的写操作,可能属于只读设计,整体上对于查询和报告覆盖良好。

Maintenance

ActivityMaintained
ResponsivenessNo issues