Skip to content
VS Code

Zabbix MCP for VS Code

io.github.mhajder/zabbix-mcp

MCP server for Zabbix monitoring and automation

client:VS Code transport:stdio runtime:pypi

Install Zabbix MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "zabbix-url",
      "description": "ZABBIX_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zabbix-token",
      "description": "ZABBIX_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zabbix-user",
      "description": "ZABBIX_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zabbix-password",
      "description": "ZABBIX_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zabbix-verify-ssl",
      "description": "ZABBIX_VERIFY_SSL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zabbix-timeout",
      "description": "ZABBIX_TIMEOUT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zabbix-skip-version-check",
      "description": "ZABBIX_SKIP_VERSION_CHECK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "read-only-mode",
      "description": "READ_ONLY_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "disabled-tags",
      "description": "DISABLED_TAGS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "log-level",
      "description": "LOG_LEVEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rate-limit-enabled",
      "description": "RATE_LIMIT_ENABLED",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rate-limit-max-requests",
      "description": "RATE_LIMIT_MAX_REQUESTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rate-limit-window-minutes",
      "description": "RATE_LIMIT_WINDOW_MINUTES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tool-search-enabled",
      "description": "TOOL_SEARCH_ENABLED",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tool-search-strategy",
      "description": "TOOL_SEARCH_STRATEGY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tool-search-max-results",
      "description": "TOOL_SEARCH_MAX_RESULTS",
      "password": true
    }
  ],
  "servers": {
    "zabbix-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "zabbix-mcp"
      ],
      "env": {
        "ZABBIX_URL": "${input:zabbix-url}",
        "ZABBIX_TOKEN": "${input:zabbix-token}",
        "ZABBIX_USER": "${input:zabbix-user}",
        "ZABBIX_PASSWORD": "${input:zabbix-password}",
        "ZABBIX_VERIFY_SSL": "${input:zabbix-verify-ssl}",
        "ZABBIX_TIMEOUT": "${input:zabbix-timeout}",
        "ZABBIX_SKIP_VERSION_CHECK": "${input:zabbix-skip-version-check}",
        "READ_ONLY_MODE": "${input:read-only-mode}",
        "DISABLED_TAGS": "${input:disabled-tags}",
        "LOG_LEVEL": "${input:log-level}",
        "RATE_LIMIT_ENABLED": "${input:rate-limit-enabled}",
        "RATE_LIMIT_MAX_REQUESTS": "${input:rate-limit-max-requests}",
        "RATE_LIMIT_WINDOW_MINUTES": "${input:rate-limit-window-minutes}",
        "TOOL_SEARCH_ENABLED": "${input:tool-search-enabled}",
        "TOOL_SEARCH_STRATEGY": "${input:tool-search-strategy}",
        "TOOL_SEARCH_MAX_RESULTS": "${input:tool-search-max-results}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Zabbix MCP in other clients