- Nagios MCP
Nagios MCP
Overview
nagios-mcp
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.
List of Tools:
| Tool Name | Tool Description |
|---|---|
get_host_status | Retrieves status for all hosts or a specific host. |
get_service_status | Retrieves status for services using statusjson.cgi. |
get_alerts | Retrieves current problematic host and service states (alerts). |
get_program_status | Retrieves the Nagios Core program status from statusjson.cgi |
get_hosts_in_group_status | Retrieves status for all hosts within a specific host group. |
get_services_in_group_status | Retrieves status for all services within a specific service group. |
get_services_on_host_in_group_status | Retrieves status for all the services with a specific host group. |
get_overall_health_summary | Retrieves overall health summary for all the hosts and services. |
get_unhandled_problems | Retrieves all the unhandled problems for all the hosts and services. |
get_object_list_config | Retrieves configuration list for object types like "hosts", "services", "hostgroups", etc. |
get_single_object_config | Retrieves configuration for a single specific object. |
get_host_dependencies | Retrieves host dependencies for the given host. |
get_service_dependencies | Retrieves service dependencies for the given host. |
get_contacts_for_object | Retrieves the list of contacts to inform for an object. |
get_comments | Retrieves comments based on the host and service. |
get_comment_by_id | Retrieves comments for the given comment id. |
get_downtimes | Retrieves the information for the downtimes in the Nagios Host Process. |
get_nagios_process_info | Returns the information for the Nagios process. (Alias for get_program_status function) |
- Currently all the tools use GET requests. Other useful tools and tools requiring POST requests will be added soon.
How the MCP server works?
- Nagios Core web-client is typically hosted on
http://YOUR_HOST/nagios/ - The MCP server reads the details about the processes and services using the CGI binaries, they can be found in the
cgi-binorsbinsub-directory in your Nagios main directory. - The Status Tools and Config Tools use the
cgi-bin/statusjson.cgiandcgi-bin/objectjson.cgifiles respectively for retrieving the information.
Server Config
{
"mcpServers": {
"nagios-mcp-stdio": {
"command": "uvx",
"args": [
"nagios-mcp",
"--config",
"ABSOLUTE_PATH_TO/nagios_config.yaml"
]
},
"nagios-mcp-sse": {
"url": "http://localhost:8000/sse"
}
}
}Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Amap Maps高德地图官方 MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Tavily Mcp
CursorThe AI Code Editor
ChatWiseThe second fastest AI chatbot™
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
DeepChatYour AI Partner on Desktop
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Serper MCP ServerA Serper MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Playwright McpPlaywright MCP server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
WindsurfThe new purpose-built IDE to harness magic