
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"
}
}
}
}