Query and diagnose remote Linux systems over SSH with read-only access to logs, system state, and troubleshooting data. Built for DevOps engineers and SREs who need fast diagnostics without shell access.
io.github.rhel-lightspeed/linux-mcp-server
Local install
STDIO
No auth required
How models use it and what it is built for.
Query and diagnose remote Linux systems over SSH with read-only access to logs, system state, and troubleshooting data. Built for DevOps engineers and SREs who need fast diagnostics without shell access.
Local install — runs as a subprocess.
Configuration this server reads at startup.
Default username for SSH connections
Path to SSH private key
Passphrase for encrypted SSH key
Auto-discover keys in `~/.ssh`
SSH command timeout in seconds (default: 30)
Verify remote host identity via known_hosts
Custom path to known_hosts file
Comma-separated allowlist of log files
Server log directory
Log verbosity (DEBUG, INFO, WARNING)
Days to keep log files
Where to find authoritative docs and source for Rhel Lightspeed Linux.
Paste any of these into Agent Studio after connecting Rhel Lightspeed Linux.
Common questions about connecting and running Rhel Lightspeed Linux.
How do I authenticate to remote Linux systems?
Set LINUX_MCP_SSH_KEY_PATH to your private key location, optionally LINUX_MCP_USER for the default username, and LINUX_MCP_KEY_PASSPHRASE if your key is encrypted. The server can auto-discover keys in ~/.ssh if you set LINUX_MCP_SEARCH_FOR_SSH_KEY=true.
Can I execute arbitrary commands on the remote host?
No, this is a read-only diagnostics server. It's designed for safe querying of logs and system state without write or shell execution capabilities.
How do I restrict which log files can be queried?
Use LINUX_MCP_ALLOWED_LOG_PATHS to set a comma-separated allowlist of log file paths. Only logs in this list will be accessible, preventing accidental exposure of sensitive files.
What happens if an SSH command takes too long?
Commands timeout after the duration set in LINUX_MCP_COMMAND_TIMEOUT (default 30 seconds). Increase this value if you're querying large log files or slow systems.
How do I verify I'm connecting to the correct remote host?
Set LINUX_MCP_VERIFY_HOST_KEYS=true to validate the remote host's identity against your known_hosts file. Use LINUX_MCP_KNOWN_HOSTS_PATH to specify a custom known_hosts location if needed.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 30+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent Studio