# linux-mcp-server-administration

The linux-mcp-server-administration skill gives Claude Code read-only Linux diagnostics through MCP and SSH. Use it to inspect RHEL-based hosts, services, logs, processes, networking, and storage.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 178 installs · ★ 9 repo stars
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/linux-mcp-server-administration/SKILL.md
- Updated: 2026-10-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/linux-mcp-server-administration

## What it does

The skill connects an agent to an MCP server for Linux diagnostics. The server performs read-only checks for system details, `systemd` service states, running processes, journal entries, network interfaces, listening ports, mounts, and disk usage. Checks can target the local machine or several hosts over SSH.

Remote access requires SSH key-based authentication. The server is aimed at RHEL-based systems and uses `LINUX_MCP_ALLOWED_LOGS` to restrict which log files may be read; `SSH_AUTH_SOCK` and `HOME` support SSH key access. Install the MCP server package with `pip`, `uv`, or from source.

Remote checks cannot connect without SSH key authentication. Add the skill to Claude Code with `npx skills add`; its instructions are stored at `~/.claude/skills/linux-mcp-server-administration/SKILL.md`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill linux-mcp-server-administration -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/linux-mcp-server-administration/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/linux-mcp-server-administration/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill linux-mcp-server-administration -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/linux-mcp-server-administration/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill linux-mcp-server-administration -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/linux-mcp-server-administration/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/mcp-skills skills/linux-mcp-server-administration
```

2. **Manually: put the files in place**
- File: `.github/skills/linux-mcp-server-administration/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill linux-mcp-server-administration -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/linux-mcp-server-administration
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/linux-mcp-server-administration/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill linux-mcp-server-administration -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/linux-mcp-server-administration/SKILL.md

## When to use it
- check a service on a remote Linux host
- trace errors through journal and system logs
- compare service states across several hosts
- inspect active processes and listening ports
- review disk usage and mounted filesystems

## Example prompts
- Check `nginx` on `admin@web01` and inspect recent service errors.
- Run a health check for `server01` using system details, failed services, disk usage, and processes.
- Search `/var/log/secure` for authentication failures and inspect `audit.log`.

## Similar
- [linux-mcp-server](https://affpapa.org/en/nevibecode/mcp/linux-mcp-server.md) — MCP server · ★ 323 repo stars
- [CentOS Linux Expert](https://affpapa.org/en/nevibecode/agents/centos-linux-expert.md) — subagent · ★ 41430 repo stars
- [Linux Server Hardening taste](https://affpapa.org/en/nevibecode/prompts/linux-server-hardening-taste.md) — prompt · ★ 178201 repo stars
- [centos-linux](https://affpapa.org/en/nevibecode/rules/centos-linux.md) — rule · ★ 41430 repo stars
- [linux-administration](https://affpapa.org/en/nevibecode/skills/linux-administration.md) — skill · 873 installs
- [Linux MCP daemon (mcpd)](https://affpapa.org/en/nevibecode/mcp/linux-mcp-daemon-mcpd.md) — MCP server · ★ 7 repo stars

From the same set: [reason-machines/mcp-skills](https://affpapa.org/en/nevibecode/by/reason-machines/mcp-skills.md) — 98 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
