Metadata-Version: 2.4
Name: mcp-zabbix
Version: 0.1.0
Summary: MCP server for Zabbix API - exposes all Zabbix API functionality via MCP
Project-URL: Homepage, https://github.com/daedalus/mcp-zabbix
Project-URL: Repository, https://github.com/daedalus/mcp-zabbix
Project-URL: Issues, https://github.com/daedalus/mcp-zabbix/issues
Author-email: Dario Clavijo <clavijodario@gmail.com>
License: MIT
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: fastmcp
Requires-Dist: requests
Requires-Dist: zabbix-utils
Provides-Extra: all
Requires-Dist: hatch; extra == 'all'
Requires-Dist: hypothesis; extra == 'all'
Requires-Dist: mypy; extra == 'all'
Requires-Dist: pip-api; extra == 'all'
Requires-Dist: pytest; extra == 'all'
Requires-Dist: pytest-asyncio; extra == 'all'
Requires-Dist: pytest-cov; extra == 'all'
Requires-Dist: pytest-mock; extra == 'all'
Requires-Dist: ruff; extra == 'all'
Provides-Extra: dev
Requires-Dist: hatch; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pip-api; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: lint
Requires-Dist: mypy; extra == 'lint'
Requires-Dist: ruff; extra == 'lint'
Provides-Extra: test
Requires-Dist: hypothesis; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-asyncio; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Requires-Dist: pytest-mock; extra == 'test'
Description-Content-Type: text/markdown

# mcp-zabbix

> MCP server for Zabbix API - exposes all Zabbix API functionality via MCP

[![PyPI](https://img.shields.io/pypi/v/mcp-zabbix.svg)](https://pypi.org/project/mcp-zabbix/)
[![Python](https://img.shields.io/pypi/pyversions/mcp-zabbix.svg)](https://pypi.org/project/mcp-zabbix/)

mcp-name: io.github.daedalus/mcp-zabbix

## Install

```bash
pip install mcp-zabbix
```

## Configuration

Set the following environment variables:

- `ZABBIX_URL` - Zabbix API URL (required)
- `ZABBIX_TOKEN` - API token (required, or use user/password)
- `ZABBIX_USER` - Zabbix username (optional)
- `ZABBIX_PASSWORD` - Zabbix password (optional)

## Usage

```python
from mcp_zabbix import mcp

mcp.run()
```

Or via CLI:

```bash
mcp-zabbix
```

## API

The MCP server exposes all Zabbix API methods as tools. Tools follow the pattern:
- `zabbix_<namespace>_<method>` (e.g., `zabbix_host_get`, `zabbix_host_create`)

## Development

```bash
git clone https://github.com/daedalus/mcp-zabbix.git
cd mcp-zabbix
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/
```
