LibreNMS MCP Server

MCP server for LibreNMS network monitoring - query devices, ports, alerts, and manage infrastructure

Local serverstdioPython

What is the LibreNMS MCP Server?

MCP server for LibreNMS network monitoring - query devices, ports, alerts, and manage infrastructure

The short version

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.

What it needs from you

  • Python 3.11 to 3.14 - Access to a LibreNMS - Valid LibreNMS token with appropriate permissions

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
devices_listList all devices (with optional filters)
device_getGet details for a specific device
device_addAdd a new device
device_updateUpdate device metadata
device_deleteRemove a device
device_portsList all ports for a device
device_ports_getGet details for a specific port on a device
device_fdbList the forwarding database (learned MACs) for a device
device_nacList network access control (802.1X / MAB) sessions on a device
device_availabilityGet device availability
device_outagesGet device outages
device_set_maintenanceSet device maintenance mode
device_discoverDiscover or add a device using provided credentials
device_renameRename an existing device

How to install the LibreNMS MCP Server

{
  "mcpServers": {
    "librenms": {
      "command": "uvx",
      "args": ["librenms-mcp"],
      "env": {
        "LIBRENMS_URL": "your-value",
        "LIBRENMS_TOKEN": "your-value",
        "SENTRY_DSN": "your-value",
        "MCP_HTTP_HOST": "your-value",
        "MCP_HTTP_BEARER_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Python 3.11 to 3.14 - Access to a LibreNMS - Valid LibreNMS token with appropriate permissions
VariableDescriptionRequired
LIBRENMS_URLEndpoint or connection string the server talks to.Yes
LIBRENMS_TOKENCredential the server authenticates with.Yes
SENTRY_DSNEndpoint or connection string the server talks to.Yes
MCP_HTTP_HOSTEndpoint or connection string the server talks to.Optional
MCP_HTTP_BEARER_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use LibreNMS MCP to devices list.”
  • “Use LibreNMS MCP to device get.”
  • “Use LibreNMS MCP to device add.”

Frequently asked questions

MCP server for LibreNMS network monitoring - query devices, ports, alerts, and manage infrastructure Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.