zabbix -nodejs
MCP server from leroylim/zabbix-mcp-server-nodejs
claude mcp add --transport stdio leroylim-zabbix-mcp-server-nodejs node /path/to/your/zabbix-mcp-server/src/index.js \ --env ZABBIX_API_URL="https://your-zabbix-server/api_jsonrpc.php" \ --env ZABBIX_API_TOKEN="your_api_token_here"
How to use
This Zabbix MCP Server exposes the full Zabbix API surface through the MCP framework, enabling clients to perform monitoring, alerting, and configuration tasks via a standardized MCP protocol. It supports modern authentication using API tokens (recommended) or username/password, and ships with extensive tooling (over 90 tools across 19 categories) for Hosts, Proxies, Items, Triggers, Problems, History, Actions, Templates, Maps, Dashboards, Media, Users, and more. Clients can connect using MCP-compatible clients such as Claude Desktop or Cursor IDE by providing the server name, the Node.js server command, the path to the server script, and the necessary environment variables for authentication. The server emphasizes type-safety, robust validation, and enterprise-grade features like maps, dashboards, SLA monitoring, and error logging.
How to install
Prerequisites:
- Node.js 18+ (and npm or yarn)
- Access to a Zabbix server with API access
- Basic familiarity with editing environment variables for your deployment
Install locally:
git clone <repository-url>
cd zabbix-mcp-server
npm install
Configure environment:
# Token-based authentication (recommended)
export ZABBIX_API_URL=https://your-zabbix-server/api_jsonrpc.php
export ZABBIX_API_TOKEN=your_api_token_here
# Or alternative: Username/Password authentication
# export ZABBIX_API_URL=https://your-zabbix-server/api_jsonrpc.php
# export ZABBIX_USERNAME=Admin
# export ZABBIX_PASSWORD=your_password
Run the server:
# Start the MCP server (stdio mode)
npm start
# Or run directly
node src/index.js
# HTTP mode (for development)
MCP_TRANSPORT_MODE=http npm start
If you need to connect to Claude Desktop or Cursor IDE, ensure your MCP configuration JSON points to the correct Node.js entry file and environment variables as shown in the MCP configuration example.
Additional notes
Tips:
- Use the API token authentication mode for production to avoid handling user credentials in logs or config files.
- Ensure ZABBIX_API_URL uses the correct protocol and API endpoint as required by your Zabbix version (5.4+ supports token authentication).
- When deploying, keep API credentials in a secure environment (e.g., secret manager) and avoid committing them to version control.
- If you encounter API version mismatches, verify the Zabbix server version and update the client configuration accordingly.
- For troubleshooting, enable higher log levels in your environment (e.g., LOG_LEVEL=debug) and check the MCP server logs for authentication or connectivity errors.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.