
Linux MCP Server
by rhel-lightspeedio.github.rhel-lightspeed/linux-mcp-serverv1.4.0
MCP server for read-only Linux system administration, diagnostics, and troubleshooting
context tax
queued
security
queued
cold start
queued
freshness
Active7d ago
Install Linux MCP server
Install in Claude Code
claude mcp add linux-rhel-lightspeed -e LINUX_MCP_KEY_PASSPHRASE='<linux-mcp-key-passphrase>' -- uvx linux-mcp-serverInstall in Cursor
{
"mcpServers": {
"linux-rhel-lightspeed": {
"command": "uvx",
"args": [
"linux-mcp-server"
],
"env": {
"LINUX_MCP_KEY_PASSPHRASE": "<linux-mcp-key-passphrase>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"linux-rhel-lightspeed": {
"command": "uvx",
"args": [
"linux-mcp-server"
],
"env": {
"LINUX_MCP_KEY_PASSPHRASE": "<linux-mcp-key-passphrase>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"linux-rhel-lightspeed": {
"type": "stdio",
"command": "uvx",
"args": [
"linux-mcp-server"
],
"env": {
"LINUX_MCP_KEY_PASSPHRASE": "<linux-mcp-key-passphrase>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"linux-rhel-lightspeed": {
"command": "uvx",
"args": [
"linux-mcp-server"
],
"env": {
"LINUX_MCP_KEY_PASSPHRASE": "<linux-mcp-key-passphrase>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| LINUX_MCP_USER | — | — | Default username for SSH connections |
| LINUX_MCP_SSH_KEY_PATH | — | — | Path to SSH private key |
| LINUX_MCP_KEY_PASSPHRASE | — | yes | 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 |
Freshness
Active — last maintenance signal 7d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-02 · 7d ago · GitHub
Latest release
2026-10-02 · 7d ago · GitHub · 1.7.0
Package published
no data · npm/PyPI
Registry entry updated
2026-04-09 · 6mo ago · official registry · v1.4.0
FAQ
›How do I install the Linux MCP server in Claude Code?
Run: claude mcp add linux-rhel-lightspeed -e LINUX_MCP_KEY_PASSPHRASE='<linux-mcp-key-passphrase>' -- uvx linux-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Linux require an API key?
Yes. It expects LINUX_MCP_KEY_PASSPHRASE, of which 1 is a secret.
›Can I use Linux as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Linux in the official MCP registry?
Yes, as io.github.rhel-lightspeed/linux-mcp-server.