io.github.mhajder

librenms-mcp

LibreNMS MCP

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

communityapplication

Package Details

Transportstdio
Runtimeuvx

Environment Variables

LIBRENMS_URL
Required

LibreNMS instance URL (e.g., https://librenms.example.com)

LIBRENMS_TOKEN
RequiredSecret

LibreNMS API token with appropriate permissions

LIBRENMS_VERIFY_SSL
Default:true

Verify TLS certificates for LibreNMS requests (true/false)

LIBRENMS_TIMEOUT
Default:30

HTTP timeout for LibreNMS API requests in seconds

READ_ONLY_MODE
Default:false

Enable read-only mode to block write operations

DISABLED_TAGS

Comma-separated tool tags to disable (e.g., alerts,bills)

LOG_LEVEL
Default:INFO

Logging level (DEBUG, INFO, WARNING, ERROR)

RATE_LIMIT_ENABLED
Default:false

Enable per-client rate limiting (true/false)

RATE_LIMIT_MAX_REQUESTS
Default:100

Maximum requests allowed per rate-limit window

RATE_LIMIT_WINDOW_MINUTES
Default:1

Rate-limit window duration in minutes

TransportStreamable HTTP
Runtimeuvx

Environment Variables

LIBRENMS_URL
Required

LibreNMS instance URL (e.g., https://librenms.example.com)

LIBRENMS_TOKEN
RequiredSecret

LibreNMS API token with appropriate permissions

LIBRENMS_VERIFY_SSL
Default:true

Verify TLS certificates for LibreNMS requests (true/false)

LIBRENMS_TIMEOUT
Default:30

HTTP timeout for LibreNMS API requests in seconds

READ_ONLY_MODE
Default:false

Enable read-only mode to block write operations

DISABLED_TAGS

Comma-separated tool tags to disable (e.g., alerts,bills)

LOG_LEVEL
Default:INFO

Logging level (DEBUG, INFO, WARNING, ERROR)

RATE_LIMIT_ENABLED
Default:false

Enable per-client rate limiting (true/false)

RATE_LIMIT_MAX_REQUESTS
Default:100

Maximum requests allowed per rate-limit window

RATE_LIMIT_WINDOW_MINUTES
Default:1

Rate-limit window duration in minutes

MCP_HTTP_PORT
Default:8000

Port for HTTP server (default: 8000)

MCP_HTTP_BEARER_TOKEN
Secret

Optional bearer token for HTTP transport authentication

MCP_TRANSPORT

MCP transport type (http for HTTP, stdio for stdio)

TransportStreamable HTTP

Runtime Arguments

Named
-pRequired
{MCP_HTTP_PORT}:{MCP_HTTP_PORT}Port mapping for HTTP transport

Environment Variables

LIBRENMS_URL
Required

LibreNMS instance URL (e.g., https://librenms.example.com)

LIBRENMS_TOKEN
RequiredSecret

LibreNMS API token with appropriate permissions

LIBRENMS_VERIFY_SSL
Default:true

Verify TLS certificates for LibreNMS requests (true/false)

LIBRENMS_TIMEOUT
Default:30

HTTP timeout for LibreNMS API requests in seconds

READ_ONLY_MODE
Default:false

Enable read-only mode to block write operations

DISABLED_TAGS

Comma-separated tool tags to disable (e.g., alerts,bills)

LOG_LEVEL
Default:INFO

Logging level (DEBUG, INFO, WARNING, ERROR)

RATE_LIMIT_ENABLED
Default:false

Enable per-client rate limiting (true/false)

RATE_LIMIT_MAX_REQUESTS
Default:100

Maximum requests allowed per rate-limit window

RATE_LIMIT_WINDOW_MINUTES
Default:1

Rate-limit window duration in minutes

SENTRY_DSN
Secret

Sentry DSN for optional error tracking

SENTRY_TRACES_SAMPLE_RATE
Default:1.0

Sentry traces sample rate (0.0-1.0)

SENTRY_SEND_DEFAULT_PII
Default:true

Allow Sentry to include default PII in events (true/false)

SENTRY_ENVIRONMENT

Sentry environment name (e.g., production)

SENTRY_RELEASE

Sentry release identifier

SENTRY_PROFILE_SESSION_SAMPLE_RATE
Default:1.0

Sentry profile session sample rate (0.0-1.0)

SENTRY_PROFILE_LIFECYCLE
Default:trace

Sentry profiling lifecycle mode

SENTRY_ENABLE_LOGS
Default:true

Enable Sentry log capture integration (true/false)

MCP_HTTP_PORT
Default:8000

Port for HTTP server (default: 8000)

MCP_HTTP_BEARER_TOKEN
Secret

Optional bearer token for HTTP transport authentication

MCP_TRANSPORT

MCP transport type (http for HTTP, stdio for stdio)