Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

linux-mcp-server

MCP server by rhel-lightspeed Community

Linux MCP Server is a Model Context Protocol server for read-only Linux system administration, diagnostics, and troubleshooting on RHEL-based systems. It is aimed at administrators who want an AI assistant to inspect Red Hat systems safely.

  • Score 83
  • 331 stars
  • Apache-2.0
  • Updated

Install linux-mcp-server

Built from the published package, never by AI.

claude mcp add linux-mcp-server -- uvx linux-mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install linux-mcp-server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the linux-mcp-server block.

About

Linux MCP Server is a Model Context Protocol server for read-only Linux system administration, diagnostics, and troubleshooting on RHEL-based systems. The project says it covers system info, services, processes, logs, network, and storage. All tools are described as strictly read-only, so the server is meant for safe diagnostics.

The server can run commands on remote systems over SSH using key-based authentication. It can connect to different remote hosts in the same session. Access to log files can be controlled through environment variables. The project is optimized for Red Hat Enterprise Linux and systemd. It is intended for administrators who troubleshoot RHEL-based machines. The README links to a documentation site for setup and usage details.

Written from the project's README and checked against it.

What you need

  • RHEL-based Linux systems
  • SSH key-based authentication for remote hosts
  • systemd
SettingNeededWhat it is
LINUX_MCP_USEREnvironment variableOptionalDefault username for SSH connections
LINUX_MCP_SSH_KEY_PATHEnvironment variableOptionalPath to SSH private key
LINUX_MCP_KEY_PASSPHRASEEnvironment variable, secretOptionalPassphrase for encrypted SSH key
LINUX_MCP_SEARCH_FOR_SSH_KEYEnvironment variableOptionalAuto-discover keys in `~/.ssh`
LINUX_MCP_COMMAND_TIMEOUTEnvironment variableOptionalSSH command timeout in seconds (default: 30)
LINUX_MCP_VERIFY_HOST_KEYSEnvironment variableOptionalVerify remote host identity via known_hosts
LINUX_MCP_KNOWN_HOSTS_PATHEnvironment variableOptionalCustom path to known_hosts file
LINUX_MCP_ALLOWED_LOG_PATHSEnvironment variableOptionalComma-separated allowlist of log files
LINUX_MCP_LOG_DIREnvironment variableOptionalServer log directory
LINUX_MCP_LOG_LEVELEnvironment variableOptionalLog verbosity (DEBUG, INFO, WARNING)
LINUX_MCP_LOG_RETENTION_DAYSEnvironment variableOptionalDays to keep log files

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Check the status of failing services on my RHEL server
  • Show recent log entries for network errors on a remote host
  • Inspect disk and storage usage on a Linux machine

Good to know

  • All tools are strictly read-only
  • Optimized for RHEL and systemd systems

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Diagnose RHEL system problems
  • Review logs and services on remote hosts
  • Inspect storage and network settings

Alternatives to linux-mcp-server

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

linux-mcp-server: common questions

Can Linux MCP Server change settings on my system?

No. The project describes all of its tools as strictly read-only, so it is meant for diagnostics rather than changes.

Can it work with more than one server?

Yes. The README says it can connect to different remote hosts in the same session over SSH with key-based authentication.

Which Linux distributions does it support?

The project is focused on RHEL-based systems and is optimized for Red Hat Enterprise Linux with systemd.

How do I install linux-mcp-server?

In Claude Code run claude mcp add linux-mcp-server -- uvx linux-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is linux-mcp-server the official server?

linux-mcp-server is a community project by rhel-lightspeed, not verified by a company domain.

Is linux-mcp-server free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is linux-mcp-server safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to linux-mcp-server?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does linux-mcp-server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

linux-mcp-server Install

Add to stack

Loading.