Skip to main content
Glama
mpeirone

zabbix-mcp-server

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 verificationtrue
ZABBIX_URLNoYour Zabbix server API endpoint (e.g., https://zabbix.example.com)
ZABBIX_USERNoYour Zabbix username
ZABBIX_TOKENNoYour Zabbix API token
ZABBIX_MCP_HOSTNoServer host (only used when ZABBIX_MCP_TRANSPORT=streamable-http)127.0.0.1
ZABBIX_MCP_PORTNoServer port (only used when ZABBIX_MCP_TRANSPORT=streamable-http)8000
ZABBIX_PASSWORDNoYour Zabbix password
ZABBIX_MCP_TRANSPORTNoTransport type: stdio (default) or streamable-httpstdio
ZABBIX_MCP_STATELESS_HTTPNoStateless mode (only used when ZABBIX_MCP_TRANSPORT=streamable-http)false

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
host_getB

Get hosts from Zabbix with optional filtering.

Args:
    hostids: List of host IDs to retrieve
    groupids: List of host group IDs to filter by
    templateids: List of template IDs to filter by
    output: Output format (extend, shorten, or specific fields)
    search: Search criteria
    filter: Filter criteria
    limit: Maximum number of results
    
Returns:
    str: JSON formatted list of hosts
host_createB

Create a new host in Zabbix.

Args:
    host: Host name
    groups: List of host groups (format: [{"groupid": "1"}])
    interfaces: List of host interfaces
    templates: List of templates to link (format: [{"templateid": "1"}])
    inventory_mode: Inventory mode (-1=disabled, 0=manual, 1=automatic)
    status: Host status (0=enabled, 1=disabled)
    
Returns:
    str: JSON formatted creation result
host_updateB

Update an existing host in Zabbix.

Args:
    hostid: Host ID to update
    host: New host name
    name: New visible name
    status: New status (0=enabled, 1=disabled)
    
Returns:
    str: JSON formatted update result
host_deleteC

Delete hosts from Zabbix.

Args:
    hostids: List of host IDs to delete
    
Returns:
    str: JSON formatted deletion result
hostgroup_getC

Get host groups from Zabbix.

Args:
    groupids: List of group IDs to retrieve
    output: Output format
    search: Search criteria
    filter: Filter criteria
    
Returns:
    str: JSON formatted list of host groups
hostgroup_createC

Create a new host group in Zabbix.

Args:
    name: Host group name
    
Returns:
    str: JSON formatted creation result
hostgroup_updateB

Update an existing host group in Zabbix.

Args:
    groupid: Group ID to update
    name: New group name
    
Returns:
    str: JSON formatted update result
hostgroup_deleteC

Delete host groups from Zabbix.

Args:
    groupids: List of group IDs to delete
    
Returns:
    str: JSON formatted deletion result
item_getB

Get items from Zabbix with optional filtering.

Args:
    itemids: List of item IDs to retrieve
    hostids: List of host IDs to filter by
    groupids: List of host group IDs to filter by
    templateids: List of template IDs to filter by
    output: Output format
    search: Search criteria
    filter: Filter criteria
    limit: Maximum number of results
    
Returns:
    str: JSON formatted list of items
item_createB

Create a new item in Zabbix.

Args:
    name: Item name
    key_: Item key
    hostid: Host ID
    type: Item type (0=Zabbix agent, 2=Zabbix trapper, etc.)
    value_type: Value type (0=float, 1=character, 3=unsigned int, 4=text)
    delay: Update interval
    units: Value units
    description: Item description
    
Returns:
    str: JSON formatted creation result
item_updateB

Update an existing item in Zabbix.

Args:
    itemid: Item ID to update
    name: New item name
    key_: New item key
    delay: New update interval
    status: New status (0=enabled, 1=disabled)
    
Returns:
    str: JSON formatted update result
item_deleteB

Delete items from Zabbix.

Args:
    itemids: List of item IDs to delete
    
Returns:
    str: JSON formatted deletion result
trigger_getC

Get triggers from Zabbix with optional filtering.

Args:
    triggerids: List of trigger IDs to retrieve
    hostids: List of host IDs to filter by
    groupids: List of host group IDs to filter by
    templateids: List of template IDs to filter by
    output: Output format
    search: Search criteria
    filter: Filter criteria
    limit: Maximum number of results
    
Returns:
    str: JSON formatted list of triggers
trigger_createB

Create a new trigger in Zabbix.

Args:
    description: Trigger description
    expression: Trigger expression
    priority: Severity (0=not classified, 1=info, 2=warning, 3=average, 4=high, 5=disaster)
    status: Status (0=enabled, 1=disabled)
    comments: Additional comments
    
Returns:
    str: JSON formatted creation result
trigger_updateB

Update an existing trigger in Zabbix.

Args:
    triggerid: Trigger ID to update
    description: New trigger description
    expression: New trigger expression
    priority: New severity level
    status: New status (0=enabled, 1=disabled)
    
Returns:
    str: JSON formatted update result
trigger_deleteB

Delete triggers from Zabbix.

Args:
    triggerids: List of trigger IDs to delete
    
Returns:
    str: JSON formatted deletion result
template_getB

Get templates from Zabbix with optional filtering.

Args:
    templateids: List of template IDs to retrieve
    groupids: List of host group IDs to filter by
    hostids: List of host IDs to filter by
    output: Output format
    search: Search criteria
    filter: Filter criteria
    
Returns:
    str: JSON formatted list of templates
template_createB

Create a new template in Zabbix.

Args:
    host: Template technical name
    groups: List of host groups (format: [{"groupid": "1"}])
    name: Template visible name
    description: Template description
    
Returns:
    str: JSON formatted creation result
template_updateB

Update an existing template in Zabbix.

Args:
    templateid: Template ID to update
    host: New template technical name
    name: New template visible name
    description: New template description
    
Returns:
    str: JSON formatted update result
template_deleteC

Delete templates from Zabbix.

Args:
    templateids: List of template IDs to delete
    
Returns:
    str: JSON formatted deletion result
problem_getB

Get problems from Zabbix with optional filtering.

Args:
    eventids: List of event IDs to retrieve
    groupids: List of host group IDs to filter by
    hostids: List of host IDs to filter by
    objectids: List of object IDs to filter by
    output: Output format
    time_from: Start time (Unix timestamp)
    time_till: End time (Unix timestamp)
    recent: Only recent problems
    severities: List of severity levels to filter by
    limit: Maximum number of results
    
Returns:
    str: JSON formatted list of problems
event_getB

Get events from Zabbix with optional filtering.

Args:
    eventids: List of event IDs to retrieve
    groupids: List of host group IDs to filter by
    hostids: List of host IDs to filter by
    objectids: List of object IDs to filter by
    output: Output format
    time_from: Start time (Unix timestamp)
    time_till: End time (Unix timestamp)
    limit: Maximum number of results
    
Returns:
    str: JSON formatted list of events
event_acknowledgeB

Acknowledge events in Zabbix.

Args:
    eventids: List of event IDs to acknowledge
    action: Acknowledge action (1=acknowledge, 2=close, etc.)
    message: Acknowledge message
    
Returns:
    str: JSON formatted acknowledgment result
history_getB

Get history data from Zabbix.

Args:
    itemids: List of item IDs to get history for
    history: History type (0=float, 1=character, 2=log, 3=unsigned, 4=text)
    time_from: Start time (Unix timestamp)
    time_till: End time (Unix timestamp)
    limit: Maximum number of results
    sortfield: Field to sort by
    sortorder: Sort order (ASC or DESC)
    
Returns:
    str: JSON formatted history data
trend_getB

Get trend data from Zabbix.

Args:
    itemids: List of item IDs to get trends for
    time_from: Start time (Unix timestamp)
    time_till: End time (Unix timestamp)
    limit: Maximum number of results
    
Returns:
    str: JSON formatted trend data
user_getC

Get users from Zabbix with optional filtering.

Args:
    userids: List of user IDs to retrieve
    output: Output format
    search: Search criteria
    filter: Filter criteria
    
Returns:
    str: JSON formatted list of users
user_createB

Create a new user in Zabbix.

Args:
    username: Username
    passwd: Password
    usrgrps: List of user groups (format: [{"usrgrpid": "1"}])
    name: First name
    surname: Last name
    email: Email address
    
Returns:
    str: JSON formatted creation result
user_updateB

Update an existing user in Zabbix.

Args:
    userid: User ID to update
    username: New username
    name: New first name
    surname: New last name
    email: New email address
    
Returns:
    str: JSON formatted update result
user_deleteC

Delete users from Zabbix.

Args:
    userids: List of user IDs to delete
    
Returns:
    str: JSON formatted deletion result
maintenance_getB

Get maintenance periods from Zabbix.

Args:
    maintenanceids: List of maintenance IDs to retrieve
    groupids: List of host group IDs to filter by
    hostids: List of host IDs to filter by
    output: Output format
    
Returns:
    str: JSON formatted list of maintenance periods
maintenance_createB

Create a new maintenance period in Zabbix.

Args:
    name: Maintenance name
    active_since: Start time (Unix timestamp)
    active_till: End time (Unix timestamp)
    groupids: List of host group IDs
    hostids: List of host IDs
    timeperiods: List of time periods
    description: Maintenance description
    
Returns:
    str: JSON formatted creation result
maintenance_updateB

Update an existing maintenance period in Zabbix.

Args:
    maintenanceid: Maintenance ID to update
    name: New maintenance name
    active_since: New start time (Unix timestamp)
    active_till: New end time (Unix timestamp)
    description: New maintenance description
    
Returns:
    str: JSON formatted update result
maintenance_deleteC

Delete maintenance periods from Zabbix.

Args:
    maintenanceids: List of maintenance IDs to delete
    
Returns:
    str: JSON formatted deletion result
graph_getC

Get graphs from Zabbix with optional filtering.

Args:
    graphids: List of graph IDs to retrieve
    hostids: List of host IDs to filter by
    templateids: List of template IDs to filter by
    output: Output format
    search: Search criteria
    filter: Filter criteria
    
Returns:
    str: JSON formatted list of graphs
discoveryrule_getC

Get discovery rules from Zabbix with optional filtering.

Args:
    itemids: List of discovery rule IDs to retrieve
    hostids: List of host IDs to filter by
    templateids: List of template IDs to filter by
    output: Output format
    search: Search criteria
    filter: Filter criteria
    
Returns:
    str: JSON formatted list of discovery rules
itemprototype_getC

Get item prototypes from Zabbix with optional filtering.

Args:
    itemids: List of item prototype IDs to retrieve
    discoveryids: List of discovery rule IDs to filter by
    hostids: List of host IDs to filter by
    output: Output format
    search: Search criteria
    filter: Filter criteria
    
Returns:
    str: JSON formatted list of item prototypes
configuration_exportC

Export configuration from Zabbix.

Args:
    format: Export format (json, xml)
    options: Export options
    
Returns:
    str: JSON formatted export result
configuration_importC

Import configuration to Zabbix.

Args:
    format: Import format (json, xml)
    source: Configuration data to import
    rules: Import rules
    
Returns:
    str: JSON formatted import result
usermacro_getC

Get global macros from Zabbix with optional filtering.

Args:
    globalmacroids: List of global macro IDs to retrieve
    hostids: List of host IDs to filter by (for host macros)
    output: Output format (extend, shorten, or specific fields)
    search: Search criteria
    filter: Filter criteria
    
Returns:
    str: JSON formatted list of global macros
apiinfo_versionA

Get Zabbix API version information.

Returns:
    str: JSON formatted API version info

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mpeirone/zabbix-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server