mpeirone/zabbix-mcp-server
🔌 Complete MCP server for Zabbix integration — Connect AI assistants to Zabbix monitoring with a single unified tool covering 100% of Zabbix APIs. Includes read-only mode and documentation tools for seamless exploration of hosts, items, triggers, templates, problems, and more.
0722f48ef6c3zabbix-mcp-server2.0.0 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- HIGHTool
zabbix_api_docsrequests any address by design: an agent steered by prompt injection can use it that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Limit where it can connect
zabbix_api_docscan request any address. Block access to internal hosts and cloud metadata endpoints. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
zabbix_api_docs, switch them off. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 3 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
zabbix_api_docs, zabbix_api_listNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Requests whose address comes from the tool's input: the agent decides where they go.
zabbix_api_docs1 call
1 request address could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses2 tools · zabbix_api_docs, zabbix_api_list
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (3: 3 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
zabbix_api_docstool Get Zabbix API method documentation.Networkoutside textRequests any address
Get Zabbix API method documentation.
Call this BEFORE zabbix_api() if you are unsure about method parameters.
Shows required/optional parameters with types and descriptions.
Args:
method: Zabbix API method (format: \'object.action\').
Examples: \'host.get\', \'item.create\', \'trigger.update\'
version: Zabbix version (e.g., \'7.0\', \'6.0\'). If omitted, uses server version.
timeout: HTTP timeout in seconds (default: 10).
Returns:
Structured documentation with method description, parameters, and return value.
Example:
zabbix_api_docs(\'host.create\')
zabbix_api_docs(\'host.get\', version=\'7.0\')
Note:
- Always call this when in doubt about parameters
- Combine with zabbix_api_list() to discover available methodszabbix_apitool Execute Zabbix API method.
Execute Zabbix API method.
This is the main tool for interacting with Zabbix. It requires multiple
iterations to achieve complex goals. Use other tools for guidance.
WORKFLOW:
1. If unsure about method/params: call zabbix_api_docs(method) first
2. If unsure about available methods: call zabbix_api_list() first
3. Execute the API call with this tool
4. If empty results or errors: iterate with different params/filters
5. Continue iterating until goal is achieved
COMMON PATTERNS:
- Finding an object requires 2+ calls (find ID, then get details)
- CPU usage example: Find host by name, get its items, filter CPU item, get history
- Empty results often mean wrong filters - try broader search first
Args:
method: Zabbix API method (format: 'object.action').
Examples: 'host.get', 'item.create', 'trigger.update'
params: Method parameters (optional). For 'get' operations,
specify 'output' to limit fields (default: ['name']).
Returns:
JSON response from Zabbix API.
Examples:
# Simple query
zabbix_api('host.get', {'output': ['hostid', 'name']})
# Multi-step: Find host, then get items
# Step 1: Find host ID
hosts = zabbix_api('host.get', {'filter': {'host': 'my-srv-01'}, 'output': ['hostid']})
# Step 2: Get CPU items for that host
items = zabbix_api('item.get', {'hostids': ['12345'], 'search': {'name': 'CPU'}, 'output': ['itemid', 'name']})
# Step 3: Get history for specific item
history = zabbix_api('history.get', {'itemids': ['67890'], 'output': 'extend', 'history': 0, 'limit': 10})
Note:
- Use zabbix_api_docs() for method documentation
- Use zabbix_api_list() for available methods
- Iterate multiple times - complex queries need 2-5 API callszabbix_api_listtool Get available Zabbix API objects and methods.Networkoutside text
Get available Zabbix API objects and methods.
Call this to discover what API methods are available before using zabbix_api().
Returns all objects and methods discovered dynamically from Zabbix API.
Args:
object: Specific API object (e.g., 'host', 'item'). If omitted, returns all.
Returns:
Dictionary mapping API objects to their available methods.
Examples:
All objects: zabbix_api_list()
Specific object: zabbix_api_list(object='host')
# Returns: {"host": ["create", "delete", "get", ...]}
Note:
- Use this to discover available methods
- Then use zabbix_api_docs() for detailed parameter info
- Finally use zabbix_api() to execute the callText the model reads (3)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
zabbix_api tool
Execute Zabbix API method.
This is the main tool for interacting with Zabbix. It requires multiple
iterations to achieve complex goals. Use other tools for guidance.
WORKFLOW:
1. If unsure about method/params: call zabbix_api_docs(method) first
2. If unsure about available methods: call zabbix_api_list() first
3. Execute the API call with this tool
4. If empty results or errors: iterate with different params/filters
5. Continue iterating until goal is achieved
COMMON PATTERNS:
- Finding an object requires 2+ calls (find ID, then get details)
- CPU usage example: Find host by name, get its items, filter CPU item, get history
- Empty results often mean wrong filters - try broader search first
Args:
method: Zabbix API method (format: 'object.action').
Examples: 'host.get', 'item.create', 'trigger.update'
params: Method parameters (optional). For 'get' operations,
specify 'output' to limit fields (default: ['name']).
Returns:
JSON response from Zabbix API.
Examples:
# Simple query
zabbix_api('host.get', {'output': ['hostid', 'name']})
# Multi-step: Find host, then get items
# Step 1: Find host ID
hosts = zabbix_api('host.get', {'filter': {'host': 'my-srv-01'}, 'output': ['hostid']})
# Step 2: Get CPU items for that host
items = zabbix_api('item.get', {'hostids': ['12345'], 'search': {'name': 'CPU'}, 'output': ['itemid', 'name']})
# Step 3: Get history for specific item
history = zabbix_api('history.get', {'itemids': ['67890'], 'output': 'extend', 'history': 0, 'limit': 10})
Note:
- Use zabbix_api_docs() for method documentation
- Use zabbix_api_list() for available methods
- Iterate multiple times - complex queries need 2-5 API callszabbix_api_docs tool
Get Zabbix API method documentation.
Call this BEFORE zabbix_api() if you are unsure about method parameters.
Shows required/optional parameters with types and descriptions.
Args:
method: Zabbix API method (format: \\'object.action\\').
Examples: \\'host.get\\', \\'item.create\\', \\'trigger.update\\'
version: Zabbix version (e.g., \\'7.0\\', \\'6.0\\'). If omitted, uses server version.
timeout: HTTP timeout in seconds (default: 10).
Returns:
Structured documentation with method description, parameters, and return value.
Example:
zabbix_api_docs(\\'host.create\\')
zabbix_api_docs(\\'host.get\\', version=\\'7.0\\')
Note:
- Always call this when in doubt about parameters
- Combine with zabbix_api_list() to discover available methodszabbix_api_list tool
Get available Zabbix API objects and methods.
Call this to discover what API methods are available before using zabbix_api().
Returns all objects and methods discovered dynamically from Zabbix API.
Args:
object: Specific API object (e.g., 'host', 'item'). If omitted, returns all.
Returns:
Dictionary mapping API objects to their available methods.
Examples:
All objects: zabbix_api_list()
Specific object: zabbix_api_list(object='host')
# Returns: {"host": ["create", "delete", "get", ...]}
Note:
- Use this to discover available methods
- Then use zabbix_api_docs() for detailed parameter info
- Finally use zabbix_api() to execute the callWhat we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 3 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 3 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 3 tool handlers traced
- Requests any address HIGH1 finding in zabbix_api_docs
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 3 tool handlers traced
- Tools that start processesNot seen in the traced code of 3 capabilities; 3 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 3 capabilities; 3 more call code the scanner could not follow, where it may happen
- Tools that call the network2 of 3 capabilities call the network; 1 more call code the scanner could not follow, where it may happen
Where the code is: 3 handlers in 1 file at commit 0722f48ef6c3
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests2 manifests: pyproject.toml, requirements.txt
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 2 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; requirements.txt: 5 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionfastmcp >=v3.2.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 3 capabilities; 3 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp >=v3.2.0 |
| Servers in the code | 1 (Zabbix MCP Server) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-05-10 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | GPL-3.0 |
| Created | 2025-06-22 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.