Linux MCP Server
MCP server for read-only Linux system administration, diagnostics, and troubleshooting
Connector by rhel-lightspeed · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/rhel-lightspeed-linux-mcp-server
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: monitoring-observability, incident-response
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 26 read · 1 write · 3 delete
- Secrets
- 3 (API keys, tokens or passwords)
- Install scripts
- None found
- Runs as
- Python package
Tools by what they do 30
Read from the source code; the running server may list different tools.
Read 26 · Look things up without changing anything.
get_cpu_informationget_disk_usageget_execution_detailsget_hardware_informationget_journal_logsget_listening_portsget_memory_informationget_network_connectionsget_network_interfacesget_process_infoget_service_logsget_service_status
Show 14 more tools
get_system_informationlist_block_deviceslist_directorieslist_fileslist_processeslist_servicespcp_guidepcp_list_metricspcp_performance_summarypcp_query_metricsread_fileread_log_filerun_scriptvalidate_script
Write 1 · Create, change, send or run things.
reject_script
Delete 3 · Delete, drop, revoke or wipe things.
execute_scriptrun_script_interactiverun_script_with_confirmation
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
LINUX_MCP_KEY_PASSPHRASELINUX_MCP_SEARCH_FOR_SSH_KEYLINUX_MCP_VERIFY_HOST_KEYS
Other settings (environment variables or headers).
LINUX_MCP_ALLOWED_LOG_PATHSLINUX_MCP_COMMAND_TIMEOUTLINUX_MCP_KNOWN_HOSTS_PATHLINUX_MCP_LOG_DIRLINUX_MCP_LOG_LEVELLINUX_MCP_LOG_RETENTION_DAYSLINUX_MCP_SSH_KEY_PATHLINUX_MCP_USER
Network hosts it talks to 30
aiplatform.googleapis.com· found in codeapi.anthropic.com· found in codeapi.openai.com· found in codeapi.snyk.gr· found in codeartifacts.elastic.co· found in codecdn-ubi.redhat.com· found in codecdn.npmjs.enterprises· found in codeconforma.dev· found in codedl.k8s.io· found in codedownload.docker.com· found in codegenerativelanguage.googleapis.com· found in codegithub.com· found in codegoogleapis.com· found in codeingest.datadoghq.gr· found in codekonflux-ci.dev· found in codelog-archive.grafana.enterprises· found in codemankier.com· found in codemirrors.rpmfusion.org· found in codemodels.dev· found in codeopenrouter.ai· found in codepki.vaultproject.org· found in codeplatform.openai.com· found in codequay.io· found in coderepo.anaconda.com· found in coderhel-lightspeed.github.io· found in coderpm.grafana.com· found in coderpm.nodesource.com· found in codesh.rustup.rs· found in codestorage.cloudflaresvc.net· found in codetelemetry.coraza.io· found in code
Files it touches
~/.ssh/etc/example.conf/etc/hosts/etc/os-release/etc/resolv.conf/etc/timezone/proc/cpuinfo/proc/loadavg/proc/net/dev/usr/lib/libmemopt.so/usr/libexec/pcp/bin/pmconfig/usr/local/sbin/usr/sbin/var/lib/mysql/var/lib/mysql/DISK_HOG/var/log/var/log/audit/audit.log/var/log/dnf.log/var/log/messages/var/log/secure- Your home directory (~)
- Any path the agent passes to its tools
Tools (30)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
execute_scriptExecute a script; this is only available to the our mcp-app
get_cpu_informationGet CPU informationread-onlyGet CPU information.
get_disk_usageGet disk usageread-onlyGet detailed disk space information including size, mount points, and utilization.
get_execution_detailsGet the execution details with request IDGet the execution details with request ID
get_hardware_informationGet hardware informationread-onlyGet hardware information such as CPU details, PCI devices, USB devices, and hardware information from DMI.
get_journal_logsGet journal logsread-onlyGet systemd journal logs.
get_listening_portsGet listening portsread-onlyGet details on listening port, protocols, and services.
get_memory_informationGet memory informationread-onlyGet detailed memory including physical and swap.
get_network_connectionsGet network connectionsread-onlyGet detailed information about active network connections.
get_network_interfacesGet network interfacesread-onlyGet detailed information about network interfaces including address and traffic statistics.
get_process_infoProcess detailsread-onlyGet information about a specific process.
get_service_logsGet service logsread-onlyGet recent logs for a specific systemd service.
get_service_statusGet service statusread-onlyGet detailed status of a specific systemd service.
get_system_informationGet system informationread-onlyGet 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_devicesList block devicesread-onlyList block devices on the system
Show 15 more tools
list_directoriesList directoriesread-onlyList directories under a specified path with various sorting options.
list_filesList filesread-onlyList files under a specified path with various sorting options.
list_processesList processesread-onlyList running processes
list_servicesList servicesread-onlyList all systemd services.
pcp_guideRead the PCP metrics guideread-onlyReturns 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_metricsList available PCP metricsread-onlyBrowses the PCP metric namespace. Lists the metrics under 'prefix' with their descriptions, collapsing any large sub-namespace to one line giving its name and how many metrics it holds; call again with that name as the prefix to see inside it. Only metrics this system's pmlogger records are listed, so everything listed can be passed to pcp_query_metrics. The pcp_guide tool already names the commonly needed metrics, so reach for this when you need a subsystem the guide does not cover. Use only if get_system_information() indicates PCP is available.
pcp_performance_summaryGet PCP performance summaryread-onlyProduces 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_metricsQuery PCP historical metricsread-onlyRetrieves historical metric data from PCP archives as JSON samples. When start_time, end_time, or interval is omitted, reasonable defaults are chosen, targeting one hour or about 20 samples. Call pcp_guide first for the metric catalog and how to read the values; do not guess metric names. Use only if get_system_information() indicates PCP is available.
read_fileRead fileread-onlyRead the contents of a text file up to a safe size limit.
read_log_fileRead log fileread-onlyRead a specific log file.
reject_scriptReject a script; this is only available to the our mcp-app
run_scriptRun a scriptread-onlyCall this tool to run a previously validated script. Use this when validate_script returned needs_confirmation: false.
run_script_interactiveRun a script with interactive user confirmationcan change or delete dataRun a script that modifies the system. The user will be asked for approval interactively. A bash script should be used for simple operations that can be expressed cleanly as a few shell commands, but a Python script should be used if complex processing is needed. Bash scripts are run with strict mode (set -euo pipefail) applied by the invocation, so handle expected non-zero exit codes in the script (e.g. with `|| true`) where needed. Write short, simple scripts that are easy to review - do not include unnecessary complexity such as elaborate logging or handling unlikely corner cases.
run_script_with_confirmationRun a script with confirmationcan change or delete dataCall 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_scriptValidate a scriptread-onlyRequest validation of a script from the gatekeeper. The tool will return a unique token that must be included in the run_script tool call.
Compare and alternatives
Featured in
Signals
- Stars
- 315
- Forks
- 66
- Open issues
- 18
- Contributors
- 20
- Weekly downloads
- 622
- Last commit
- Oct 24, 2026 (5 days ago)
- Last release
- Oct 2, 2026 (26 days ago)
- Last package publish
- Oct 2, 2026 (26 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.rhel-lightspeed/linux-mcp-server- Version
- 1.4.0
- Auth
- API key
- Packages
- pypi linux-mcp-server
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
Linux MCP Server. Agent Mart. https://agentmart.dev/connectors/rhel-lightspeed-linux-mcp-server (last updated 2026-10-24)