Gives Claude read-only access to Linux system diagnostics and troubleshooting commands, primarily aimed at RHEL and systemd-based systems. Works locally or over SSH with key-based auth, so you can point it at remote hosts mid-conversation. Exposes tools for checking system info, service status, processes, logs, network state, and storage without any write operations. You configure which log files are accessible via environment variables. Reach for this when you want an LLM to help diagnose server issues or gather system information without risking any changes to the actual system state.
A Model Context Protocol (MCP) server for read-only Linux system administration, diagnostics, and troubleshooting on RHEL-based systems.
For detailed instructions on setting up and using the Linux MCP Server, please refer to our official documentation:
pip, uv, and container-based deployments.LINUX_MCP_USERDefault username for SSH connections
LINUX_MCP_SSH_KEY_PATHPath to SSH private key
LINUX_MCP_KEY_PASSPHRASEsecretPassphrase for encrypted SSH key
LINUX_MCP_SEARCH_FOR_SSH_KEYAuto-discover keys in `~/.ssh`
LINUX_MCP_COMMAND_TIMEOUTSSH command timeout in seconds (default: 30)
LINUX_MCP_VERIFY_HOST_KEYSVerify remote host identity via known_hosts
LINUX_MCP_KNOWN_HOSTS_PATHCustom path to known_hosts file
LINUX_MCP_ALLOWED_LOG_PATHSComma-separated allowlist of log files
LINUX_MCP_LOG_DIRServer log directory
LINUX_MCP_LOG_LEVELLog verbosity (DEBUG, INFO, WARNING)
LINUX_MCP_LOG_RETENTION_DAYSDays to keep log files