AgentHubAgentHub

linux-mcp-server

MCP ServerMCP Registry官方收录

io.github.rhel-lightspeed/linux-mcp-server · v1.4.0

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

概览

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

安装

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

{
  "mcpServers": {
    "linux-mcp-server": {
      "command": "uvx",
      "args": [
        "linux-mcp-server"
      ]
    }
  }
}

环境变量

LINUX_MCP_USER可选

Default username for SSH connections

LINUX_MCP_SSH_KEY_PATH可选

Path to SSH private key

LINUX_MCP_KEY_PASSPHRASE可选secret

Passphrase for encrypted SSH key

LINUX_MCP_SEARCH_FOR_SSH_KEY可选

Auto-discover keys in `~/.ssh`

LINUX_MCP_COMMAND_TIMEOUT可选

SSH command timeout in seconds (default: 30)

LINUX_MCP_VERIFY_HOST_KEYS可选

Verify remote host identity via known_hosts

LINUX_MCP_KNOWN_HOSTS_PATH可选

Custom path to known_hosts file

LINUX_MCP_ALLOWED_LOG_PATHS可选

Comma-separated allowlist of log files

LINUX_MCP_LOG_DIR可选

Server log directory

LINUX_MCP_LOG_LEVEL可选

Log verbosity (DEBUG, INFO, WARNING)

LINUX_MCP_LOG_RETENTION_DAYS可选

Days to keep log files

相关资源

统一 Manifest

{
  "id": "io.github.rhel-lightspeed/linux-mcp-server",
  "type": "mcp-server",
  "version": "1.4.0",
  "displayName": "linux-mcp-server",
  "description": "MCP server for read-only Linux system administration, diagnostics, and troubleshooting",
  "repository": {
    "url": "https://github.com/rhel-lightspeed/linux-mcp-server",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "pypi",
        "identifier": "linux-mcp-server",
        "version": "1.4.0",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "LINUX_MCP_USER",
            "description": "Default username for SSH connections"
          },
          {
            "name": "LINUX_MCP_SSH_KEY_PATH",
            "description": "Path to SSH private key"
          },
          {
            "name": "LINUX_MCP_KEY_PASSPHRASE",
            "description": "Passphrase for encrypted SSH key",
            "isSecret": true
          },
          {
            "name": "LINUX_MCP_SEARCH_FOR_SSH_KEY",
            "description": "Auto-discover keys in `~/.ssh`"
          },
          {
            "name": "LINUX_MCP_COMMAND_TIMEOUT",
            "description": "SSH command timeout in seconds (default: 30)"
          },
          {
            "name": "LINUX_MCP_VERIFY_HOST_KEYS",
            "description": "Verify remote host identity via known_hosts"
          },
          {
            "name": "LINUX_MCP_KNOWN_HOSTS_PATH",
            "description": "Custom path to known_hosts file"
          },
          {
            "name": "LINUX_MCP_ALLOWED_LOG_PATHS",
            "description": "Comma-separated allowlist of log files"
          },
          {
            "name": "LINUX_MCP_LOG_DIR",
            "description": "Server log directory"
          },
          {
            "name": "LINUX_MCP_LOG_LEVEL",
            "description": "Log verbosity (DEBUG, INFO, WARNING)"
          },
          {
            "name": "LINUX_MCP_LOG_RETENTION_DAYS",
            "description": "Days to keep log files"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.rhel-lightspeed/linux-mcp-server",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.rhel-lightspeed%2Flinux-mcp-server/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
linux-mcp-server — MCP Server 安装与配置 · AgentHub