mcp-nagios-crunchtools
Secure MCP server for Nagios Core monitoring. Query host and service status, acknowledge problems, add comments, schedule forced checks, and read notification history.
Installation
uvx mcp-nagios-crunchtools
Configuration
| Variable | Required | Description |
|---|---|---|
NAGIOS_URL |
Yes | Base URL (e.g., https://nagios.example.com) |
NAGIOS_USER |
Yes | HTTP Basic Auth username |
NAGIOS_PASS |
Yes | HTTP Basic Auth password |
TZ |
Effectively yes | The container's local timezone. Must match the Nagios server's own timezone. |
Why TZ matters
schedule_check submits a start_time to cmd.cgi, which parses it as naive
wall-clock time in the Nagios server's local timezone — there is no offset field
to send. The value is therefore built with time.localtime(), so this container
must run in the same timezone as the Nagios server.
When it does not, forced checks are silently scheduled into the future by the
offset between the two — four hours against an EDT server — and "check now"
appears to do nothing at all. No error is raised. This was a real defect, fixed
in 0.1.2 by switching from gmtime() to localtime(); the timezone assumption
it introduced is why TZ belongs in this table rather than being left implicit.
Tools
| Tool | Description |
|---|---|
nagios_host_status |
Query a single host's status |
nagios_service_status |
Query a single service's status |
nagios_current_problems |
All hosts/services not in OK state, with duration, attempt, acknowledgement and plugin output |
nagios_program_status |
Health check on the monitoring path itself (wedged daemon, disabled notifications, stale status) -- not the same as no current problems |
nagios_acknowledge |
Acknowledge a host or service problem |
nagios_add_comment |
Add a comment to a host or service |
nagios_schedule_check |
Force an immediate re-check |
nagios_notification_history |
Recent notifications |
nagios_alert_history |
State changes rolled up per host/service, including warnings and problems that recovered by themselves |
License
AGPL-3.0-or-later
Metadata
Release files for mcp-nagios-crunchtools 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_nagios_crunchtools-0.4.0.tar.gz | 191.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_nagios_crunchtools-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 220.1 kB
Release files / mcp_nagios_crunchtools-0.4.0.tar.gz
| Download URL | mcp_nagios_crunchtools-0.4.0.tar.gz |
|---|---|
| Size | 191.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dce685df958ff46d79390653e72bdba377409df3121619eb6492ba17a9d88030
|
|
BLAKE2b-256 checksum How to use checksums |
56ff6ee93d63a7404645bd3d9bf75f70c9045b7382371892697484375595d58a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / mcp_nagios_crunchtools-0.4.0-py3-none-any.whl
| Download URL | mcp_nagios_crunchtools-0.4.0-py3-none-any.whl |
|---|---|
| Size | 28.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9863aad721b39e0f83b6766b416e08cd1c8e25521f88e033ab84b0c365e964b
|
|
BLAKE2b-256 checksum How to use checksums |
9302879c6b3c07ac65db9fae8c180eccf84444b786cd0f6f4d6d61f785b6e62a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logSecurity for mcp-nagios-crunchtools 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for mcp_nagios_crunchtools-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.