Nagios MCP

by PROSPIRE-TECHNOLOGY-SERVICES

438 downloads
Not rated
GitHub

About

Nagios MCP is an MCP server for Nagios Core that integrates with the Nagios Core web‑client via its CGI binaries (statusjson.cgi and objectjson.cgi) to provide status and configuration tooling.

Details

Author
PROSPIRE-TECHNOLOGY-SERVICES
Downloads
438
Categories
Other

- Retrieves host and service status from Nagios Core.
- Fetches program status and overall health summary.
- Lists host/service group status and configurations.
- Retrieves unhandled problems, alerts, and down­times.
- Provides object configuration and dependency details.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Nagios MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install the nagios-mcp package using pip or uv. Create a YAML or JSON config file with your Nagios URL, username, and password. Start the server via uvx nagios-mcp --config (default STDIO transport) or optionally with --transport sse. Configure the server in MCP clients such as Claude Desktop, Cursor, Windsurf, Cline, or 5ire by adding the appropriate command or SSE URL.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "nagios mcp": {
            "nagios-mcp-stdio": {
                "command": "uvx",
                "args": [
                    "nagios-mcp",
                    "--config",
                    "ABSOLUTE_PATH_TO/nagios_config.yaml"
                ]
            },
            "nagios-mcp-sse": {
                "url": "http://localhost:8000/sse"
            }
        }
    }
}

McpServers

{
    "nagios-mcp-stdio": {
        "command": "uvx",
        "args": [
            "nagios-mcp",
            "--config",
            "ABSOLUTE_PATH_TO/nagios_config.yaml"
        ]
    },
    "nagios-mcp-sse": {
        "url": "http://localhost:8000/sse"
    }
}

nagios-mcp

PyPI - Version Python Version from PEP 621 TOML

MCP Server for Nagios Core.

This server is built by us for the Nagios Core web-client.
The code for the server can be found here.
The server utilizes the CGI binaries located at the cgi-bin or sbin folder in your Nagios folder.
More specifically the statusjson.cgi and objectjson.cgi files for the purpose of the status and configuration tooling.

How to install:

Setting up

1. Installing uv
- Linux or MacOS or WSL:

     curl -LsSf https://astral.sh/uv/install.sh | sh

- Windows:
     powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Or installing using pip:

pip install uv

2. Installing the PyPI package

```

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.