.env.exampleā¢1.25 kB
# Zabbix MCP Server Configuration
# Required: Zabbix server URL
ZABBIX_URL=https://zabbix.example.com
# Authentication Method 1: API Token (recommended)
ZABBIX_TOKEN=<your_api_token>
# Authentication Method 2: Username/Password (alternative to token)
# ZABBIX_USER=<username>
# ZABBIX_PASSWORD=<password>
# Optional: Read-only mode (only GET operations allowed)
# Set to true, 1, or yes to enable read-only mode
READ_ONLY=true
# Transport Configuration
# ZABBIX_MCP_TRANSPORT - Transport type: stdio (default) or streamable-http
ZABBIX_MCP_TRANSPORT=stdio
# HTTP Transport Configuration (only used when ZABBIX_MCP_TRANSPORT=streamable-http)
# ZABBIX_MCP_HOST - Server host (default: 127.0.0.1)
ZABBIX_MCP_HOST=127.0.0.1
# ZABBIX_MCP_PORT - Server port (default: 8000)
ZABBIX_MCP_PORT=8000
# ZABBIX_MCP_STATELESS_HTTP - Stateless mode (default: false)
ZABBIX_MCP_STATELESS_HTTP=false
# Authentication type for HTTP transport (required when using streamable-http)
# AUTH_TYPE - Must be set to 'no-auth' for streamable-http transport
# AUTH_TYPE=no-auth
# SSL Configuration
# VERIFY_SSL - Enable/disable SSL certificate verification (default: true)
# Set to false, 0, or no to disable SSL verification (not recommended for production)
VERIFY_SSL=true