
用于 LibreNMS 管理的 MCP 服务器
概览
LibreNMS MCP 服务器是一款基于 Python 的模型上下文协议(MCP)服务器,旨在提供对 LibreNMS 网络监控数据和管理功能的高级、可编程访问。它提供了现代化的 API,用于查询、自动化和集成 LibreNMS 资源,如设备、端口、警报、库存、位置、日志等。该服务器支持读写操作,具备强大的安全功能,适合与自动化工具、仪表盘和自定义网络管理工作流集成。
概述(AI 翻译)
让AI代理通过模型上下文协议查询和管理LibreNMS网络监控
安装 ·工具 ·配置 ·安全性
LibreNMS MCP 服务器是一款基于 Python 的模型上下文协议(MCP)服务器,旨在提供对 LibreNMS 网络监控数据和管理功能的高级、可编程访问。它提供了现代化的 API,用于查询、自动化和集成 LibreNMS 资源,如设备、端口、警报、库存、位置、日志等。该服务器支持读写操作,具备强大的安全功能,适合与自动化工具、仪表盘和自定义网络管理工作流集成。
✨ 特色
核心功能
- 查询LibreNMS设备、端口、库存、位置、日志和警报,支持灵活过滤
- 检索网络拓扑、设备状态和性能指标
- 访问和分析警报历史、事件日志及系统健康状态
- 监控接口统计、端口状态和流量数据
- 通过MAC地址或IP地址跟踪终端和连接设备
- 检索和管理设备组、端口组和轮询组
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
LibreNMS MCP Server is a Python-based Model Context Protocol (MCP) server designed to provide advanced, programmable access to LibreNMS network monitoring data and management features. It exposes a modern API for querying, automating, and integrating LibreNMS resources such as devices, ports, alerts, inventory, locations, logs, and more. The server supports both read and write operations, robust security features, and is suitable for integration with automation tools, dashboards, and custom network management workflows.
✨ Features
Core Features
- Query LibreNMS devices, ports, inventory, locations, logs, and alerts with flexible filtering
- Retrieve network topology, device status, and performance metrics
- Access and analyze alert history, event logs, and system health
- Monitor interface statistics, port status, and traffic data
- Track endpoints and connected devices by MAC or IP address
- Retrieve and manage device groups, port groups, and poller groups
- Get detailed information about network services and routing
Management Operations
- Create, update, and delete devices, ports, and groups (if enabled)
- Manage alert rules, notifications, and device metadata
- Configure read-only mode to restrict all write operations for safe monitoring
- Support for bulk operations on devices and ports
Advanced Capabilities
- Rate limiting and API security features
安装
uvx librenms-mcp