LibreNMS MCP logo

LibreNMS MCP

Manage LibreNMS devices, ports, alerts, alert rules, templates, and billing data through MCP tools.

Install LibreNMS MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "librenms-mcp": {
      "command": "uvx",
      "args": [
        "librenms-mcp"
      ],
      "env": {
        "LIBRENMS_URL": "YOUR_VALUE_HERE",
        "LIBRENMS_TOKEN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

LibreNMS MCP MCP server connects AI agents to LibreNMS for querying and managing monitored network infrastructure. It exposes tools for devices, ports, availability, alerts, alert rules, alert templates, and billing records, including image and numeric graph retrieval. Run it locally over stdio or deploy its Docker image with Streamable HTTP, using a LibreNMS URL and API token. Reach for it when an agent needs to inspect monitoring state or perform supported LibreNMS changes.

Use cases

  • Inspect device availability and port status
  • Acknowledge or unmute LibreNMS alerts
  • Manage alert rules and alert templates
  • Review billing history and traffic data
  • Add, update, or remove monitored devices

Key features

  • Device and port queries with filters
  • Alert acknowledgement and unmuting
  • Alert rule and template management
  • Bill history and graph data retrieval
  • Billing graph image rendering
  • Optional read-only and credential-redaction modes

Tools110

What LibreNMS MCP lets your agent do. Expand a tool for its parameters.

Verified live~13.8k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 52d

What it can do

From the 110 tools this server returned when we ran it; 110 declare their own safety hints.

Can delete or modify data · 26Read-only tools · 84
Network at startup2 connections
Files written at startup30

Observed 2026-10-15 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17d ago via OSV.dev · librenms-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars45Stargazers on the source repository.
Last commit2d agoMost recent push to the default branch.
Tools exposed110Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How LibreNMS MCP works

What LibreNMS MCP does

LibreNMS MCP provides an MCP interface to LibreNMS network monitoring. Agents can inspect devices, ports, availability, alerts, alert rules, alert templates, and bills, then perform supported management actions such as adding, updating, or deleting devices and alert configuration.

The device tools cover filtered device listings, hostname-based details, port inventories, interface-specific port information, and availability checks. Alert tools support filtered alert retrieval, lookup by ID, acknowledgement, unmuting, and management of alert rules and templates. Billing tools return bill records, history, and graph information, and can render billing graphs as images.

How it works

The server is written in Python and communicates with a LibreNMS instance using the configured URL and token. It can use stdio, Server-Sent Events, or HTTP Streamable transport; stdio is the default. The Docker image exposes the HTTP MCP endpoint at /mcp on port 8000 by default.

Read and write operations are available through separate MCP tools. Read-only mode can disable write requests, which is useful when the agent should inspect monitoring data without changing LibreNMS. Responses can redact SNMP community and SNMPv3 credentials by default.

Setup and configuration

Install the package with uvx librenms-mcp or pip install librenms-mcp, then provide the LibreNMS connection settings:

  • LIBRENMS_URL: URL of the LibreNMS instance.
  • LIBRENMS_TOKEN: LibreNMS API token with suitable permissions.

Source installation uses uv sync or an editable pip install. The server can then be started with uv run librenms-mcp or the installed librenms-mcp command.

For container deployments, use the image ghcr.io/mhajder/librenms-mcp:latest. HTTP deployments can set MCP_HTTP_HOST, MCP_HTTP_PORT, and an optional MCP_HTTP_BEARER_TOKEN. MCP_TRANSPORT selects stdio, SSE, or HTTP; streamable-http is accepted as an HTTP alias.

Additional settings control TLS verification, request timeouts, read-only behavior, SNMP credential redaction, disabled tool groups, logging, rate limiting, tool search, and short-hostname resolution.

Tools and capabilities

  • Query devices with optional filters and retrieve or modify device records.
  • Add or remove devices and inspect device availability.
  • List a device's ports or retrieve an interface by name.
  • Query alerts and manage acknowledgement and mute state.
  • List, inspect, create, edit, and delete alert rules.
  • List, inspect, create, and edit alert templates.
  • List, inspect, create, update, and delete bills.
  • Retrieve bill history and graph data, or render billing graphs as images.

For billing analysis, use bill_graph_data or bill_history_graph_data when the agent needs numerical values rather than an image.

Limitations and notes

Port names containing encoded slashes, such as Te2/7, may fail when a proxy rejects or decodes the slash. The server can fall back to looking up the port by ID; that response retains the same general shape but omits computed rate fields such as in_rate and out_rate.

Write operations depend on the LibreNMS token's permissions and can be disabled globally with READ_ONLY_MODE. HTTP deployments can be protected with the optional MCP bearer token. TLS verification is configurable through LIBRENMS_VERIFY_SSL.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about LibreNMS MCP

LibreNMS MCP is an MCP server that connects AI agents to LibreNMS network monitoring. Its main tools query and manage devices, ports, alerts, alert rules, alert templates, and bills, including billing history and graph data. It supports local stdio operation and HTTP-based deployment.

Install it with `uvx librenms-mcp` or `pip install librenms-mcp`. Configure `LIBRENMS_URL` and `LIBRENMS_TOKEN`, then run `librenms-mcp`. Source installation and a Docker image are also available.

Set `LIBRENMS_URL` and `LIBRENMS_TOKEN` to connect to LibreNMS. Optional variables configure TLS verification, timeouts, read-only mode, transports, HTTP authentication, rate limiting, and other server behavior.

Yes. Set `READ_ONLY_MODE=true` to disable write operations. Agents can still use the supported query tools while device, alert, template, rule, and billing changes are blocked.

Use `bill_graph_data` for current bill graph values or `bill_history_graph_data` for historical billing-period values. The corresponding graph tools return rendered images instead.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLibreNMS MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/librenms-mcp?style=directory)](https://allmcps.com/mcp/librenms-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/librenms-mcp"><img src="https://allmcps.com/api/badge/librenms-mcp?style=directory" alt="LibreNMS MCP on AllMCPs" /></a>