← Back to Plugins
MCP Server MCP

io.github.rhel-lightspeed/linux-mcp-server

github By github 👁 1 views ▲ 0 votes

MCP server for read-only Linux system administration, diagnostics, and troubleshooting

Homepage Verified source GitHub

Install

uvx linux-mcp-server

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "pypi",
      "identifier": "linux-mcp-server",
      "version": "1.4.0",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Default username for SSH connections",
          "format": "string",
          "name": "LINUX_MCP_USER"
        },
        {
          "description": "Path to SSH private key",
          "format": "string",
          "name": "LINUX_MCP_SSH_KEY_PATH"
        },
        {
          "description": "Passphrase for encrypted SSH key",
          "format": "string",
          "isSecret": true,
          "name": "LINUX_MCP_KEY_PASSPHRASE"
        },
        {
          "description": "Auto-discover keys in `~/.ssh`",
          "format": "string",
          "name": "LINUX_MCP_SEARCH_FOR_SSH_KEY"
        },
        {
          "description": "SSH command timeout in seconds (default: 30)",
          "format": "string",
          "name": "LINUX_MCP_COMMAND_TIMEOUT"
        },
        {
          "description": "Verify remote host identity via known_hosts",
          "format": "string",
          "name": "LINUX_MCP_VERIFY_HOST_KEYS"
        },
        {
          "description": "Custom path to known_hosts file",
          "format": "string",
          "name": "LINUX_MCP_KNOWN_HOSTS_PATH"
        },
        {
          "description": "Comma-separated allowlist of log files",
          "format": "string",
          "name": "LINUX_MCP_ALLOWED_LOG_PATHS"
        },
        {
          "description": "Server log directory",
          "format": "string",
          "name": "LINUX_MCP_LOG_DIR"
        },
        {
          "description": "Log verbosity (DEBUG, INFO, WARNING)",
          "format": "string",
          "name": "LINUX_MCP_LOG_LEVEL"
        },
        {
          "description": "Days to keep log files",
          "format": "string",
          "name": "LINUX_MCP_LOG_RETENTION_DAYS"
        }
      ]
    }
  ]
}
mcp model-context-protocol pypi

Comments

Sign in to leave a comment

Loading comments...