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.
Install linux-mcp-server
Built from the published package, never by AI.
claude mcp add linux-mcp-server -- uvx linux-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"linux-mcp-server": {
"args": [
"linux-mcp-server"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"linux-mcp-server": {
"args": [
"linux-mcp-server"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"linux-mcp-server": {
"args": [
"linux-mcp-server"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add linux-mcp-server -- uvx linux-mcp-server{
"mcpServers": {
"linux-mcp-server": {
"args": [
"linux-mcp-server"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add linux-mcp-server uvx linux-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
| Setting | Needed | What it is |
|---|---|---|
LINUX_Environment variable | Optional | Default username for SSH connections |
LINUX_Environment variable | Optional | Path to SSH private key |
LINUX_Environment variable, secret | Optional | Passphrase for encrypted SSH key |
LINUX_Environment variable | Optional | Auto-discover keys in `~/.ssh` |
LINUX_Environment variable | Optional | SSH command timeout in seconds (default: 30) |
LINUX_Environment variable | Optional | Verify remote host identity via known_hosts |
LINUX_Environment variable | Optional | Custom path to known_hosts file |
LINUX_Environment variable | Optional | Comma-separated allowlist of log files |
LINUX_Environment variable | Optional | Server log directory |
LINUX_Environment variable | Optional | Log verbosity (DEBUG, INFO, WARNING) |
LINUX_Environment variable | Optional | Days 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
ANo 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 →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
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.
