MCP server for RHEL: what it reads and what it can change
This page covers the upstream linux-mcp-server 1.8.0, released October 28, 2026, and Red Hat's GA announcement of November 11, 2026.
The short answer
Red Hat's MCP server for RHEL went GA on November 11, 2026. By default every tool only reads. The server can look at logs, services, processes, disk, network, and now past performance data from Performance Co-Pilot. A separate feature that lets the AI run scripts is still a Developer Preview, and it stays off unless you turn it on.
RHEL is Red Hat Enterprise Linux, a Linux system many companies run on their servers. An MCP server is a small program that lets an AI assistant use a tool, here a Linux host. GA means general availability, so Red Hat supports it for production use.
What the MCP server for RHEL can read
The server reads system state through seven groups of tools. Red Hat's docs list these groups:
- System information.
- Processes and services.
- Logs, but only files on an allowlist you set.
- Performance metrics from Performance Co-Pilot, both live and historical.
- Network diagnostics.
- Storage diagnostics.
- SSH public key discovery, which lists the public keys in
~/.ssh.
Log access is the one to set carefully. The server reads only the log files named in LINUX_MCP_ALLOWED_LOG_PATHS. If that setting is empty, the log tool can't read any file. Red Hat advises starting with an empty or very short list and adding paths one at a time. The AI can't change the list.
The server also masks common secrets in what it returns. Red Hat says its built-in rules target easily identifiable credentials, such as standard passwords, tokens, and access keys. It also says the rules "do not attempt to cover all forms of sensitive data or personally identifiable information (PII)." Admins need to add their own rules for anything else. Version 1.8.0 lets you add those rules in a YAML file named by LINUX_MCP_REDACTION__RULES_PATH.
What it can change (by default, nothing)
In this release, no tool can change the system. Red Hat's docs say: "No tools can modify system state, execute commands, or write data in this release." The docs also say the AI assistant suggests commands for you to run by hand.
Guarded command execution is the feature that lets the AI run scripts on a host. The GA post says it "remains in Developer Preview at this time." A Developer Preview is an early feature Red Hat lets you try, without full production support. Upstream calls it "an experimental feature."
It is off unless you set LINUX_MCP_TOOLSET to run_script or both. The default is fixed, which loads only the read-only tools. When it is on, the server adds tools to check and run scripts. Each script goes through three checks:
- A separate AI model, which upstream calls the Gatekeeper, reviews the script first.
- Scripts that change the system are flagged for a person to approve.
- When possible, the script runs in an operating system sandbox with limited permissions. Upstream adds: "sandboxing is currently rudimentary."
Upstream also warns that setting the confirmation tool to Always Allow in your AI client "is dangerous and not recommended."
Vet MCP servers with a one-page checklist
The free checklist turns the OpsMCP grading rules into checks you can run yourself. It comes with OpsMCP Weekly, one email each Tuesday.
One email a week. You can unsubscribe from any issue, and we never sell your address.
How it logs in to your hosts
The server runs on the same machine as your AI client, not on the hosts it reads. It connects to each host over SSH with your account, so it can do only what that account can do.
Give it a dedicated user without root. Red Hat's docs create a user named mcp and say it doesn't need elevated privileges, because the server is read-only by default. Give that user read access only to the logs you put on the allowlist.
Keep SSH host key checking on. It confirms you're connecting to the host you meant to reach. The server checks host keys by default through LINUX_MCP_VERIFY_HOST_KEYS, and upstream says turning it off "makes SSH connections vulnerable to man-in-the-middle attacks." One sample SSH config in Red Hat's docs turns host key checking off. Don't copy that line.
New in GA: past performance data with Performance Co-Pilot
Performance Co-Pilot, or PCP, is a RHEL tool that records performance numbers over time, so you can look back at a slowdown. Before GA, the server could only show current performance. Now it can query the history PCP has recorded.
The 1.8.0 code has four PCP tools: pcp_guide, pcp_list_metrics, pcp_performance_summary, and pcp_query_metrics. Upstream says to run get_system_information first to confirm PCP is installed and running on the target.
PCP has to be installed and recording on each host before these tools return anything. Red Hat's RHEL 10 docs install it with sudo dnf install pcp pcp-system-tools and start recording with sudo systemctl enable --now pmlogger.
Red Hat's GA post gives one example. On a RHEL 10 system, the AI used the log and PCP tools to find a cron job running a database backup every 5 minutes, then matched it to performance spikes PCP had recorded.
Shared server mode for teams
GA adds a shared mode, where one central server serves many users. In the GA post's words, "You can now run the MCP server centrally, allowing multiple users to share it."
Users log in through an external OAuth2 server. Upstream supports google, github, jwt, and introspection as login providers. A YAML policy file, named by LINUX_MCP_POLICY_PATH, sets which hosts and which tools each user can reach, based on login attributes such as group membership.
The policy uses the first rule that matches. Upstream says: "If no matching rule is found, tool execution is denied." Without a policy file, a shared server over HTTP denies all access.
Install options and support
Red Hat offers the server in two ways, and upstream adds a third:
- An RPM package for the RHEL extensions repository. Red Hat's product page says "the RPM version will be available in the Red Hat Enterprise Linux 10.3 and 9.9 extensions repository." Red Hat's docs install it with
sudo dnf install linux-mcp-server. It falls under the Red Hat Extensions Repository Support Policy. - A container image. Red Hat's examples pull it from quay.io.
- Upstream's own install,
uv tool install linux-mcp-server, from PyPI. Version 1.8.0 needs Python 3.11 or newer, even though Red Hat's docs still say 3.10.
OpsMCP also has a listing for linux-mcp-server.
Red Hat's docs say "The MCP server for RHEL is fully supported software." We found no Red Hat page that names one of these install paths as the supported one for production. Ask Red Hat support which one your subscription covers before you pick.
Pin the container image to a version. Red Hat's examples use the :latest tag, which can point to a new build at any time. The image is also tagged 1.8.0, so name that tag in your config:
quay.io/redhat-services-prod/rhel-lightspeed-tenant/linux-mcp-server:1.8.0 See why a pinned MCP server isn't pinned.
To pin it even more tightly, use the image's digest instead of a tag.
To check which version you're running after install, see how to check which MCP server version you're running.
Before you connect it to production
Run through this list first:
- Use a dedicated non-root SSH user on each host.
- Keep SSH host key checking on.
- Start with an empty log allowlist and add paths one at a time.
- Review the built-in redaction rules and add your own for anything they miss.
- Leave guarded command execution off unless you've tested it outside production.
- Set
LINUX_MCP_HOST_MODEto match where the tools may run. The values arelocal-only,remote-only, andany. Upstream notes: "Not an authorization mechanism." - Pin the container image to a version, not
:latest. - Make sure PCP is installed and recording on each host if you want past performance data.
For the same read-only approach on another system, see how to run a Proxmox MCP server read-only.
Frequently asked questions
Can the MCP server for RHEL change my system?
Not by default. Red Hat's docs say no tool in this release can modify system state, execute commands, or write data. Guarded command execution can run scripts, but it is a Developer Preview and stays off unless you turn it on.
Does the RHEL MCP server need root?
No. Red Hat's docs set it up with a non-root user named mcp, because the server is read-only by default. The server can do only what that SSH account can do.
What is guarded command execution in the RHEL MCP server?
It is an optional feature that lets the AI run scripts on a host, and it is still a Developer Preview. You turn it on by setting LINUX_MCP_TOOLSET to run_script or both. Each script goes through a Gatekeeper model review, a person approves changes, and the script runs in a sandbox when possible.
What does Performance Co-Pilot add to the RHEL MCP server?
It adds access to past performance data. Before GA the server could only show current numbers. Now four PCP tools can query the history PCP recorded on each host, as long as PCP is installed and recording there.
Is the RHEL MCP server the same as linux-mcp-server?
It's built on linux-mcp-server. Upstream's docs say linux-mcp-server "is developed by Red Hat, and forms the basis of the MCP Server for RHEL." Red Hat offers it as a container image, and its product page says an RPM version "will be available" in the RHEL extensions repository. The upstream project publishes it on PyPI.
Get the MCP server security checklist
OpsMCP Weekly is one email each Tuesday with score changes and new security advisories for the IT MCP servers OpsMCP grades. Sign up, confirm your address, and the free one-page checklist is yours.
One email a week. You can unsubscribe from any issue, and we never sell your address.
Sources (opened 2026-11-20)
- Red Hat GA post, Brian Smith, November 11, 2026: https://www.redhat.com/en/blog/announcing-general-availability-mcp-server-red-hat-enterprise-linux
- Red Hat RHEL 10 docs, MCP server: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/administer-using_the_rhel_mcp_server_to_enable_ai_assistants_to_run_discover_and_troubleshoot_complex_issues
- Red Hat RHEL 9 docs, PCP chapter: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/interacting_with_the_command-line_assistant/analyzing-historical-performance-data-with-performance-co-pilot_using-command-line-assistant-to-manage-rhel-systems
- Red Hat MCP servers product page: https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux/mcp-servers
- Red Hat Extensions Repository Support Policy: https://access.redhat.com/kb/extensions-repository-support
- Upstream docs home: https://rhel-lightspeed.github.io/linux-mcp-server/
- Upstream PCP tools: https://rhel-lightspeed.github.io/linux-mcp-server/tools/performance-co-pilot/
- Upstream guarded command execution: https://rhel-lightspeed.github.io/linux-mcp-server/guarded-command-execution/
- GitHub releases: https://github.com/rhel-lightspeed/linux-mcp-server/releases
- PyPI: https://pypi.org/project/linux-mcp-server/
- How we test: /methodology/