AgentHubAgentHub

LibreNMS MCP

MCP ServerMCP Registry官方收录

io.github.mhajder/librenms-mcp · v1.10.0

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

概览

LibreNMS MCP 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio、streamable-http 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "librenms-mcp": {
      "command": "uvx",
      "args": [
        "librenms-mcp"
      ],
      "env": {
        "LIBRENMS_URL": "<LIBRENMS_URL>",
        "LIBRENMS_TOKEN": "<LIBRENMS_TOKEN>"
      }
    }
  }
}

环境变量

LIBRENMS_URL必填

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

LIBRENMS_TOKEN必填secret

LibreNMS API token with appropriate permissions

LIBRENMS_VERIFY_SSL可选

Verify TLS certificates for LibreNMS requests (true/false)

LIBRENMS_TIMEOUT可选

HTTP timeout for LibreNMS API requests in seconds

READ_ONLY_MODE可选

Enable read-only mode to block write operations

DISABLED_TAGS可选

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

LOG_LEVEL可选

Logging level (DEBUG, INFO, WARNING, ERROR)

RATE_LIMIT_ENABLED可选

Enable per-client rate limiting (true/false)

RATE_LIMIT_MAX_REQUESTS可选

Maximum requests allowed per rate-limit window

RATE_LIMIT_WINDOW_MINUTES可选

Rate-limit window duration in minutes

TOOL_SEARCH_ENABLED可选

Enable FastMCP tool search transform

TOOL_SEARCH_STRATEGY可选

Tool search strategy: 'bm25' (natural language) or 'regex' (pattern match)

TOOL_SEARCH_MAX_RESULTS可选

Maximum number of tools returned by search_tools

LIBRENMS_URL必填

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

LIBRENMS_TOKEN必填secret

LibreNMS API token with appropriate permissions

LIBRENMS_VERIFY_SSL可选

Verify TLS certificates for LibreNMS requests (true/false)

LIBRENMS_TIMEOUT可选

HTTP timeout for LibreNMS API requests in seconds

READ_ONLY_MODE可选

Enable read-only mode to block write operations

DISABLED_TAGS可选

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

LOG_LEVEL可选

Logging level (DEBUG, INFO, WARNING, ERROR)

RATE_LIMIT_ENABLED可选

Enable per-client rate limiting (true/false)

RATE_LIMIT_MAX_REQUESTS可选

Maximum requests allowed per rate-limit window

RATE_LIMIT_WINDOW_MINUTES可选

Rate-limit window duration in minutes

TOOL_SEARCH_ENABLED可选

Enable FastMCP tool search transform

TOOL_SEARCH_STRATEGY可选

Tool search strategy: 'bm25' (natural language) or 'regex' (pattern match)

TOOL_SEARCH_MAX_RESULTS可选

Maximum number of tools returned by search_tools

MCP_HTTP_PORT可选

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)

LIBRENMS_URL必填

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

LIBRENMS_TOKEN必填secret

LibreNMS API token with appropriate permissions

LIBRENMS_VERIFY_SSL可选

Verify TLS certificates for LibreNMS requests (true/false)

LIBRENMS_TIMEOUT可选

HTTP timeout for LibreNMS API requests in seconds

READ_ONLY_MODE可选

Enable read-only mode to block write operations

DISABLED_TAGS可选

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

LOG_LEVEL可选

Logging level (DEBUG, INFO, WARNING, ERROR)

RATE_LIMIT_ENABLED可选

Enable per-client rate limiting (true/false)

RATE_LIMIT_MAX_REQUESTS可选

Maximum requests allowed per rate-limit window

RATE_LIMIT_WINDOW_MINUTES可选

Rate-limit window duration in minutes

TOOL_SEARCH_ENABLED可选

Enable FastMCP tool search transform

TOOL_SEARCH_STRATEGY可选

Tool search strategy: 'bm25' (natural language) or 'regex' (pattern match)

TOOL_SEARCH_MAX_RESULTS可选

Maximum number of tools returned by search_tools

SENTRY_DSN可选secret

Sentry DSN for optional error tracking

SENTRY_TRACES_SAMPLE_RATE可选

Sentry traces sample rate (0.0-1.0)

SENTRY_SEND_DEFAULT_PII可选

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可选

Sentry profile session sample rate (0.0-1.0)

SENTRY_PROFILE_LIFECYCLE可选

Sentry profiling lifecycle mode

SENTRY_ENABLE_LOGS可选

Enable Sentry log capture integration (true/false)

MCP_HTTP_PORT可选

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)

相关资源

统一 Manifest

{
  "id": "io.github.mhajder/librenms-mcp",
  "type": "mcp-server",
  "version": "1.10.0",
  "displayName": "LibreNMS MCP",
  "description": "MCP server for LibreNMS network monitoring - query devices, ports, alerts, and manage infrastructure",
  "repository": {
    "url": "https://github.com/mhajder/librenms-mcp",
    "source": "github"
  },
  "homepage": "https://github.com/mhajder/librenms-mcp",
  "distribution": {
    "packages": [
      {
        "registryType": "pypi",
        "identifier": "librenms-mcp",
        "version": "1.10.0",
        "runtimeHint": "uvx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "LIBRENMS_URL",
            "description": "LibreNMS instance URL (e.g., https://librenms.example.com)",
            "isRequired": true
          },
          {
            "name": "LIBRENMS_TOKEN",
            "description": "LibreNMS API token with appropriate permissions",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "LIBRENMS_VERIFY_SSL",
            "description": "Verify TLS certificates for LibreNMS requests (true/false)"
          },
          {
            "name": "LIBRENMS_TIMEOUT",
            "description": "HTTP timeout for LibreNMS API requests in seconds"
          },
          {
            "name": "READ_ONLY_MODE",
            "description": "Enable read-only mode to block write operations"
          },
          {
            "name": "DISABLED_TAGS",
            "description": "Comma-separated tool tags to disable (e.g., alerts,bills)"
          },
          {
            "name": "LOG_LEVEL",
            "description": "Logging level (DEBUG, INFO, WARNING, ERROR)"
          },
          {
            "name": "RATE_LIMIT_ENABLED",
            "description": "Enable per-client rate limiting (true/false)"
          },
          {
            "name": "RATE_LIMIT_MAX_REQUESTS",
            "description": "Maximum requests allowed per rate-limit window"
          },
          {
            "name": "RATE_LIMIT_WINDOW_MINUTES",
            "description": "Rate-limit window duration in minutes"
          },
          {
            "name": "TOOL_SEARCH_ENABLED",
            "description": "Enable FastMCP tool search transform"
          },
          {
            "name": "TOOL_SEARCH_STRATEGY",
            "description": "Tool search strategy: 'bm25' (natural language) or 'regex' (pattern match)"
          },
          {
            "name": "TOOL_SEARCH_MAX_RESULTS",
            "description": "Maximum number of tools returned by search_tools"
          }
        ]
      },
      {
        "registryType": "pypi",
        "identifier": "librenms-mcp",
        "version": "1.10.0",
        "runtimeHint": "uvx",
        "transport": "streamable-http",
        "environmentVariables": [
          {
            "name": "LIBRENMS_URL",
            "description": "LibreNMS instance URL (e.g., https://librenms.example.com)",
            "isRequired": true
          },
          {
            "name": "LIBRENMS_TOKEN",
            "description": "LibreNMS API token with appropriate permissions",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "LIBRENMS_VERIFY_SSL",
            "description": "Verify TLS certificates for LibreNMS requests (true/false)"
          },
          {
            "name": "LIBRENMS_TIMEOUT",
            "description": "HTTP timeout for LibreNMS API requests in seconds"
          },
          {
            "name": "READ_ONLY_MODE",
            "description": "Enable read-only mode to block write operations"
          },
          {
            "name": "DISABLED_TAGS",
            "description": "Comma-separated tool tags to disable (e.g., alerts,bills)"
          },
          {
            "name": "LOG_LEVEL",
            "description": "Logging level (DEBUG, INFO, WARNING, ERROR)"
          },
          {
            "name": "RATE_LIMIT_ENABLED",
            "description": "Enable per-client rate limiting (true/false)"
          },
          {
            "name": "RATE_LIMIT_MAX_REQUESTS",
            "description": "Maximum requests allowed per rate-limit window"
          },
          {
            "name": "RATE_LIMIT_WINDOW_MINUTES",
            "description": "Rate-limit window duration in minutes"
          },
          {
            "name": "TOOL_SEARCH_ENABLED",
            "description": "Enable FastMCP tool search transform"
          },
          {
            "name": "TOOL_SEARCH_STRATEGY",
            "description": "Tool search strategy: 'bm25' (natural language) or 'regex' (pattern match)"
          },
          {
            "name": "TOOL_SEARCH_MAX_RESULTS",
            "description": "Maximum number of tools returned by search_tools"
          },
          {
            "name": "MCP_HTTP_PORT",
            "description": "Port for HTTP server (default: 8000)"
          },
          {
            "name": "MCP_HTTP_BEARER_TOKEN",
            "description": "Optional bearer token for HTTP transport authentication",
            "isSecret": true
          },
          {
            "name": "MCP_TRANSPORT",
            "description": "MCP transport type (http for HTTP, stdio for stdio)"
          }
        ]
      },
      {
        "registryType": "oci",
        "identifier": "ghcr.io/mhajder/librenms-mcp:1.10.0",
        "transport": "streamable-http",
        "environmentVariables": [
          {
            "name": "LIBRENMS_URL",
            "description": "LibreNMS instance URL (e.g., https://librenms.example.com)",
            "isRequired": true
          },
          {
            "name": "LIBRENMS_TOKEN",
            "description": "LibreNMS API token with appropriate permissions",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "LIBRENMS_VERIFY_SSL",
            "description": "Verify TLS certificates for LibreNMS requests (true/false)"
          },
          {
            "name": "LIBRENMS_TIMEOUT",
            "description": "HTTP timeout for LibreNMS API requests in seconds"
          },
          {
            "name": "READ_ONLY_MODE",
            "description": "Enable read-only mode to block write operations"
          },
          {
            "name": "DISABLED_TAGS",
            "description": "Comma-separated tool tags to disable (e.g., alerts,bills)"
          },
          {
            "name": "LOG_LEVEL",
            "description": "Logging level (DEBUG, INFO, WARNING, ERROR)"
          },
          {
            "name": "RATE_LIMIT_ENABLED",
            "description": "Enable per-client rate limiting (true/false)"
          },
          {
            "name": "RATE_LIMIT_MAX_REQUESTS",
            "description": "Maximum requests allowed per rate-limit window"
          },
          {
            "name": "RATE_LIMIT_WINDOW_MINUTES",
            "description": "Rate-limit window duration in minutes"
          },
          {
            "name": "TOOL_SEARCH_ENABLED",
            "description": "Enable FastMCP tool search transform"
          },
          {
            "name": "TOOL_SEARCH_STRATEGY",
            "description": "Tool search strategy: 'bm25' (natural language) or 'regex' (pattern match)"
          },
          {
            "name": "TOOL_SEARCH_MAX_RESULTS",
            "description": "Maximum number of tools returned by search_tools"
          },
          {
            "name": "SENTRY_DSN",
            "description": "Sentry DSN for optional error tracking",
            "isSecret": true
          },
          {
            "name": "SENTRY_TRACES_SAMPLE_RATE",
            "description": "Sentry traces sample rate (0.0-1.0)"
          },
          {
            "name": "SENTRY_SEND_DEFAULT_PII",
            "description": "Allow Sentry to include default PII in events (true/false)"
          },
          {
            "name": "SENTRY_ENVIRONMENT",
            "description": "Sentry environment name (e.g., production)"
          },
          {
            "name": "SENTRY_RELEASE",
            "description": "Sentry release identifier"
          },
          {
            "name": "SENTRY_PROFILE_SESSION_SAMPLE_RATE",
            "description": "Sentry profile session sample rate (0.0-1.0)"
          },
          {
            "name": "SENTRY_PROFILE_LIFECYCLE",
            "description": "Sentry profiling lifecycle mode"
          },
          {
            "name": "SENTRY_ENABLE_LOGS",
            "description": "Enable Sentry log capture integration (true/false)"
          },
          {
            "name": "MCP_HTTP_PORT",
            "description": "Port for HTTP server (default: 8000)"
          },
          {
            "name": "MCP_HTTP_BEARER_TOKEN",
            "description": "Optional bearer token for HTTP transport authentication",
            "isSecret": true
          },
          {
            "name": "MCP_TRANSPORT",
            "description": "MCP transport type (http for HTTP, stdio for stdio)"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.mhajder/librenms-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.mhajder%2Flibrenms-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
LibreNMS MCP — MCP Server 安装与配置 · AgentHub