
vfcastr/zabbix-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Model Context Protocol (MCP) server implementation for Zabbix 7.0 LTS
개요
Model Context Protocol (MCP) server implementation for Zabbix 7.0 LTS Features • Prerequisites • Quick Start • Configuration • Tools A Model Context Protocol (MCP) server implementation for . Provides comprehensive integration with Zabbix for managing hosts, items, triggers, templates, maintenance, problems, events, user macros, LLD rules, proxies, user management, and more. : We recommend running via Docker as it is the most tested deployment method. The MCP server is intended for local use only. If using HTTP transport, configure MCP_ALLOWED_ORIGINS to restrict access to trusted origins.
README
원문 README의 일부입니다. 원문 보기.
Zabbix MCP Server
Model Context Protocol (MCP) server implementation for Zabbix 7.0 LTS
Features • Prerequisites • Quick Start • Configuration • Tools
A Model Context Protocol (MCP) server implementation for Zabbix 7.0 LTS. Provides comprehensive integration with Zabbix for managing hosts, items, triggers, templates, maintenance, problems, events, user macros, LLD rules, proxies, user management, and more.
🐳 Recommended: We recommend running via Docker as it is the most tested deployment method.
Security Note: The MCP server is intended for local use only. If using HTTP transport, configure
MCP_ALLOWED_ORIGINSto restrict access to trusted origins.
🚀 Features
- 79 MCP Tools covering the full Zabbix API
- Host, Item, Trigger, and Template Management
- Host Groups, Template Groups, and Proxy Groups
- Problem and Event Management with acknowledgement
- User, User Group, and User Role Management
- User Macro Management (Host and Global)
- Low-Level Discovery (LLD) Rules and Prototypes
- Proxy Management
- Audit Log Access
- Built-in Zabbix API Documentation Search
- Stdio and HTTP transports
- Session-based Zabbix client with structured logging
📋 Prerequisites
- Docker (recommended)
- Go 1.24+ (if building from source)
- Zabbix 7.0 LTS server
- Valid Zabbix API Token
⚡ Quick Start
Build the Docker Image
docker build -t zabbix-mcp:latest .
Run in HTTP Mode
docker run -p 8080:8080 --rm \
-e ZABBIX_URL='http://your-zabbix-server/api_jsonrpc.php' \
-e ZABBIX_TOKEN='your-api-token' \
-e TRANSPORT_MODE='http' \
zabbix-mcp:latest
Run in Stdio Mode
docker run -i --rm \
-e ZABBIX_URL='http://your-zabbix-server/api_jsonrpc.php' \
-e ZABBIX_TOKEN='your-api-token' \
zabbix-mcp:latest
⚙️ Configuration
MCP Client Configuration
Configuration examples are provided in the repository for popular MCP clients:
Claude Code (claude.json)
{
"mcpServers": {
"Zabbix": {
"type": "http",
"url": "YOUR-ZABBIX-MCP-SERVER-URL/mcp",
설치
docker run -p 8080:8080 --rm \설정
{
"mcpServers": {
"Zabbix": {
"type": "http",
"url": "YOUR-ZABBIX-MCP-SERVER-URL/mcp",
"headers": {
"X-Zabbix-URL": "YOUR-ZABBIX-URL",
"X-Zabbix-Token": "YOUR-ZABBIX-TOKEN"
}
}
}
}