Skip to main content

Linux MCP Server

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

v1.4.0Updated Apr 9, 2026stdio · PyPI

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add linux-mcp-server -- uvx linux-mcp-server==1.4.0

Configuration

11 settings.

  • LINUX_MCP_KEY_PASSPHRASE
    Env var· optional· secret
    Passphrase for encrypted SSH key
  • LINUX_MCP_USER
    Env var· optional
    Default username for SSH connections
  • LINUX_MCP_SSH_KEY_PATH
    Env var· optional
    Path to SSH private key
  • LINUX_MCP_SEARCH_FOR_SSH_KEY
    Env var· optional
    Auto-discover keys in `~/.ssh`
  • LINUX_MCP_COMMAND_TIMEOUT
    Env var· optional
    SSH command timeout in seconds (default: 30)
  • LINUX_MCP_VERIFY_HOST_KEYS
    Env var· optional
    Verify remote host identity via known_hosts
Show 5 more
  • LINUX_MCP_KNOWN_HOSTS_PATH
    Env var· optional
    Custom path to known_hosts file
  • LINUX_MCP_ALLOWED_LOG_PATHS
    Env var· optional
    Comma-separated allowlist of log files
  • LINUX_MCP_LOG_DIR
    Env var· optional
    Server log directory
  • LINUX_MCP_LOG_LEVEL
    Env var· optional
    Log verbosity (DEBUG, INFO, WARNING)
  • LINUX_MCP_LOG_RETENTION_DAYS
    Env var· optional
    Days to keep log files

Listed in the official MCP Registry since Apr 9, 2026. Mirrored daily; last checked Nov 26, 2026.