MCP ScannerCustom audit
All servers

rhel-lightspeed/linux-mcp-server

Tools to allow LLM clients to interact with Linux systems remotely

PublisherRed Hat Official
MCP Registryio.github.rhel-lightspeed/linux-mcp-server
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 322Forks 68Last push 2026-11-15
Python 99.4%JavaScript 0.6%by source files the scanner reads
Code safetypartly tracedExposure9.3Prompts10.0Supply chain7.0Secrets10.0Transparency10.0
Analysis confidence87%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure9.3/10Good

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain7.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • In 43 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 7 tools, prompts and resources registered only in the repository's tests are not counted on this page

Top risks in plain words

  • INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 30 tools, 1 resource. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
pcp_guide, pcp_list_metrics, run_script_app_html
3 of 31
Read environment variablesoften where API keys are kept
execute_script, read_file, run_script, run_script_with_confirmation
4 of 31

No tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files3 tools · pcp_guide, pcp_list_metrics, run_script_app_html
Reads private data3 tools
Takes text from outside0 tools
Can send data out0 tools

Not all three are present in the tools the scanner traced.

Tool annotations

27 of 31 tools declare annotations. readOnlyHint 25, destructiveHint 2.

Each declaration matches what the traced code does.

Tools, prompts and resources (31: 30 tools, 1 resource)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

run_script_app_htmlresource Filesoutside text
No description.
execute_scripttool Execute a script; this is only available to the our mcp-appEnv vars
Execute a script; this is only available to the our mcp-app
get_cpu_informationtool Get CPU information.read-only (declared)
Get CPU information.
get_disk_usagetool Get detailed disk space information including size, mount points, and utilization.read-only (declared)
Get detailed disk space information including size, mount points, and utilization.
get_execution_detailstool Get the execution details with request ID
Get the execution details with request ID
get_hardware_informationtool Get hardware information such as CPU details, PCI devices, USB devices, and hardware information from DMI.read-only (declared)
Get hardware information such as CPU details, PCI devices, USB devices, and hardware information from DMI.
get_journal_logstool Get systemd journal logs.read-only (declared)
Get systemd journal logs.
get_listening_portstool Get details on listening port, protocols, and services.read-only (declared)
Get details on listening port, protocols, and services.
get_memory_informationtool Get detailed memory including physical and swap.read-only (declared)
Get detailed memory including physical and swap.
get_network_connectionstool Get detailed information about active network connections.read-only (declared)
Get detailed information about active network connections.
get_network_interfacestool Get detailed information about network interfaces including address and traffic statistics.read-only (declared)
Get detailed information about network interfaces including address and traffic statistics.
get_process_infotool Get information about a specific process.read-only (declared)
Get information about a specific process.
get_service_logstool Get recent logs for a specific systemd service.read-only (declared)
Get recent logs for a specific systemd service.
get_service_statustool Get detailed status of a specific systemd service.read-only (declared)
Get detailed status of a specific systemd service.
get_system_informationtool Get basic system information, including operating system, distribution, kernel version, uptime, last boot time, PCP installation and service status, and historiread-only (declared)
Get basic system information, including operating system, distribution, kernel version, uptime, last boot time, PCP installation and service status, and historical PCP time ranges.
list_block_devicestool List block devices on the systemread-only (declared)
List block devices on the system
list_directoriestool List directories under a specified path with various sorting options.read-only (declared)
List directories under a specified path with various sorting options.
list_filestool List files under a specified path with various sorting options.read-only (declared)
List files under a specified path with various sorting options.
list_processestool List running processesread-only (declared)
List running processes
list_servicestool List all systemd services.read-only (declared)
List all systemd services.
pcp_guidetool Returns the PCP metrics guide: a catalog of the metric names recorded on a typical Linux system, and how to read the values the other PCP tools return. Read it Filesoutside textread-only (declared)
Returns the PCP metrics guide: a catalog of the metric names recorded on a typical Linux system, and how to read the values the other PCP tools return. Read it before investigating performance with PCP, and take metric names from it rather than from memory.
pcp_list_metricstool Filesoutside textread-only (declared)
No description.
pcp_performance_summarytool Produces a condensed snapshot of CPU, memory, disk, network, and process information using pcp xsos. Can summarize the live system or a particular time in the pread-only (declared)
Produces a condensed snapshot of CPU, memory, disk, network, and process information using pcp xsos. Can summarize the live system or a particular time in the past. Use only if get_system_information() indicates PCP is available.
pcp_query_metricstool read-only (declared)
No description.
read_filetool Read the contents of a text file up to a safe size limit.Env varsread-only (declared)
Read the contents of a text file up to a safe size limit.
read_log_filetool Read a specific log file.read-only (declared)
Read a specific log file.
reject_scripttool Reject a script; this is only available to the our mcp-app
Reject a script; this is only available to the our mcp-app
run_scripttool Call this tool to run a previously validated script. Use this when validate_script returned needs_confirmation: false.Env varsread-only (declared)
Call this tool to run a previously validated script. Use this when validate_script returned needs_confirmation: false.
run_script_interactivetool destructive (declared)
No description.
run_script_with_confirmationtool Call this tool to run a previously validated script that modifies the system. Use this when validate_script returned needs_confirmation: true. The parameters muEnv varsdestructive (declared)
Call this tool to run a previously validated script that modifies the system. Use this when validate_script returned needs_confirmation: true. The parameters must match those passed to validate_script.
validate_scripttool Request validation of a script from the gatekeeper. The tool will return a unique token that must be included in the run_script tool call.read-only (declared)
Request validation of a script from the gatekeeper. The tool will return a unique token that must be included in the run_script tool call.

Text the model reads (31)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

get_journal_logs tool
Get systemd journal logs.
read_log_file tool
Read a specific log file.
get_network_interfaces tool
Get detailed information about network interfaces including address and traffic statistics.
get_network_connections tool
Get detailed information about active network connections.
get_listening_ports tool
Get details on listening port, protocols, and services.
pcp_guide tool
Returns the PCP metrics guide: a catalog of the metric names recorded on a typical Linux system, and how to read the values the other PCP tools return. Read it before investigating performance with PCP, and take metric names from it rather than from memory.
pcp_list_metrics tool
pcp_query_metrics tool
pcp_performance_summary tool
Produces a condensed snapshot of CPU, memory, disk, network, and process information using pcp xsos. Can summarize the live system or a particular time in the past. Use only if get_system_information() indicates PCP is available.
list_processes tool
List running processes
get_process_info tool
Get information about a specific process.
execute_script tool
Execute a script; this is only available to the our mcp-app
reject_script tool
Reject a script; this is only available to the our mcp-app
run_script_interactive tool
get_execution_details tool
Get the execution details with request ID
validate_script tool
Request validation of a script from the gatekeeper. The tool will return a unique token that must be included in the run_script tool call.
run_script tool
Call this tool to run a previously validated script. Use this when validate_script returned needs_confirmation: false.
run_script_with_confirmation tool
Call this tool to run a previously validated script that modifies the system. Use this when validate_script returned needs_confirmation: true. The parameters must match those passed to validate_script.
list_services tool
List all systemd services.
get_service_status tool
Get detailed status of a specific systemd service.
get_service_logs tool
Get recent logs for a specific systemd service.
list_block_devices tool
List block devices on the system
list_directories tool
List directories under a specified path with various sorting options.
list_files tool
List files under a specified path with various sorting options.
read_file tool
Read the contents of a text file up to a safe size limit.
get_system_information tool
Get basic system information, including operating system, distribution, kernel version, uptime, last boot time, PCP installation and service status, and historical PCP time ranges.
get_cpu_information tool
Get CPU information.
get_memory_information tool
Get detailed memory including physical and swap.
get_disk_usage tool
Get detailed disk space information including size, mount points, and utilization.
get_hardware_information tool
Get hardware information such as CPU details, PCI devices, USB devices, and hardware information from DMI.
run_script_app_html resource

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure9.3
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 31 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 31 capabilities; 30 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    3 of 31 capabilities touch files; 27 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 31 capabilities; 30 more call code the scanner could not follow, where it may happen
Where the code is: 31 handlers in 9 files at commit 4ad1cf4536a7
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain7.0
  • Dependency manifests
    2 manifests: .konflux/requirements.txt, pyproject.toml
  • Lockfiles checked against OSV
    2 files resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies
    No production dependency with a known advisory
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    fastmcp ==3.4.11, mcp ==1.30.0
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 31 capabilities; 30 more call code the scanner could not follow, where it may happen
  • Environment variables
    4 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read (4 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (0 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

No known vulnerabilities in the production dependencies that could be checked.

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
TransportStreamable HTTP, stdio
Sign-innot checked needs the live server
MCP SDKfastmcp ==3.4.11, mcp ==1.30.0
Servers in the code2 (logging-test)

The project's own security

Security policyyes docs/SECURITY.md
Private reportingthe policy does not name a private channel
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-15
Signed releasesnot checked yet

Where it is published

MCP Registryio.github.rhel-lightspeed/linux-mcp-server
Listed in5 catalogs (awesome_habitoai, github_search, glama, mcp_registry, mcp_toplist)
LicenseApache-2.0
Created2025-10-15

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.