Linux MCP Server
Linux MCP Server is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server for read-only Linux system administration, diagnostics, and troubleshooting. It has 322 GitHub stars, is released under the Apache-2.0 license and runs locally with uvx linux-mcp-server.
github.com/rhel-lightspeed/linux-mcp-server (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
Install Linux MCP Server
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"linux-mcp-server": {
"command": "uvx",
"args": [
"linux-mcp-server"
],
"env": {
"LINUX_MCP_KEY_PASSPHRASE": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env LINUX_MCP_KEY_PASSPHRASE=your-value --transport stdio linux-mcp-server -- uvx linux-mcp-serverCursor
{
"mcpServers": {
"linux-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"linux-mcp-server"
],
"env": {
"LINUX_MCP_KEY_PASSPHRASE": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "linux_mcp_key_passphrase",
"description": "LINUX_MCP_KEY_PASSPHRASE",
"password": true
}
],
"servers": {
"linux-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"linux-mcp-server"
],
"env": {
"LINUX_MCP_KEY_PASSPHRASE": "${input:linux_mcp_key_passphrase}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
LINUX_MCP_USER | No | Default username for SSH connections |
LINUX_MCP_SSH_KEY_PATH | No | Path to SSH private key |
LINUX_MCP_KEY_PASSPHRASEsecret | No | Passphrase for encrypted SSH key |
LINUX_MCP_SEARCH_FOR_SSH_KEY | No | Auto-discover keys in ~/.ssh |
LINUX_MCP_COMMAND_TIMEOUT | No | SSH command timeout in seconds (default: 30) |
LINUX_MCP_VERIFY_HOST_KEYS | No | Verify remote host identity via known_hosts |
LINUX_MCP_KNOWN_HOSTS_PATH | No | Custom path to known_hosts file |
LINUX_MCP_ALLOWED_LOG_PATHS | No | Comma-separated allowlist of log files |
LINUX_MCP_LOG_DIR | No | Server log directory |
LINUX_MCP_LOG_LEVEL | No | Log verbosity (DEBUG, INFO, WARNING) |
LINUX_MCP_LOG_RETENTION_DAYS | No | Days to keep log files |
About Linux MCP Server
A Model Context Protocol (MCP) server for read-only Linux system administration, diagnostics, and troubleshooting on RHEL-based systems.
Similar MCP servers
More other MCP servers
Search Console MCP
saurabhsharma2u/search-console-mcp
Google Search Console + Bing + GA4 + AdSense — unified SEO intelligence for AI agents.
Active · last commit Oct 21, 2026
OtherTypeScriptBitwarden MCP Server
bitwarden/mcp-server
MCP server for interaction with Bitwarden.
Active · last commit Nov 9, 2026
OfficialOtherTypeScriptCanvas MCP
vishalsachdev/canvas-mcp
Canvas LMS integration for students and educators with optional privacy controls.
Active · last commit Nov 15, 2026
OtherPythonApollo MCP Server
apollographql/apollo-mcp-server
MCP server that exposes GraphQL operations as tools for AI models.
Active · last commit Nov 13, 2026
OtherRustReddit MCP Server
jordanburke/reddit-mcp-server
Reddit MCP server with full read/write - posts, comments, search, and content creation.
Active · last commit Nov 14, 2026
OtherTypeScriptPlur
plur-ai/plur
Open, local-first engram memory for AI agents: read, correct, delete; shared over MCP.
Active · last commit Oct 30, 2026
OtherTypeScript
How do I install the Linux MCP Server MCP server?
Add the command uvx linux-mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Linux MCP Server free?
The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (LINUX_MCP_KEY_PASSPHRASE) for the service it connects to, which may require a paid account.
Is Linux MCP Server actively maintained?
The most recent commit was on Nov 10, 2026. The latest release is 1.8.0, published Oct 28, 2026. appsgit only lists MCP servers with a commit in the last six months.