linux-admin-mcp-server
Provides tools for managing Linux system services, processes, disk, network, and logs, enabling AI agents to perform system administration tasks like service management (start/stop/restart), health checks, process monitoring, and network diagnostics.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@linux-admin-mcp-server Show me the system health status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
linux-admin-mcp-server
Linux system administration via AI agents — MCP server for managing services, processes, disk, network and logs on Linux systems.
Features
14 tools for complete Linux system management
System info: CPU, RAM, Uptime, Kernel, OS-Release
Disk & Memory: Usage statistics with warnings for high utilization
Health Check: Automated system health assessment (OK/WARNING)
Systemd Services: List, status, start/stop/restart, enable/disable, logs
Process Management: List processes sorted by CPU/memory, search by name
Network: Interfaces, open ports, active connections, DNS lookup
Safety: Only predefined commands, no arbitrary shell execution
Related MCP server: Servagent
Installation
pip install linux-admin-mcp-serverUsage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"linux-admin": {
"command": "linux-admin-mcp-server"
}
}
}Note: Run Claude Desktop on your Linux machine, or use this server on a Linux system where you want AI-assisted administration.
Available Tools
Tool | Description | Sudo Required |
| Hostname, kernel, CPU, RAM, uptime | No |
| Disk usage for all mounted filesystems | No |
| RAM and swap usage details | No |
| Full system health assessment | No |
| List systemd services (all/running/failed) | No |
| Detailed status of a specific service | No |
| Start/stop/restart/enable/disable a service | Yes |
| Last N log lines via journalctl | No |
| Running processes sorted by CPU/memory | No |
| Find processes by name | No |
| Top 5 CPU and memory consumers | No |
| Network interfaces and IP addresses | No |
| Listening ports (LISTEN state) | No |
| Established network connections | No |
| Resolve hostname to IP address | No |
Example Prompts
"Show me the system health status"
"What services are currently failing?"
"Restart the nginx service"
"Show the last 100 lines of the postgres logs"
"Which processes are consuming the most memory?"
"What ports is this server listening on?"
"What's the disk usage on this machine?"
Requirements
Linux operating system (Ubuntu, Debian, CentOS, Fedora, etc.)
Python 3.10+
systemd (for service management tools)
ssornetstat(for network tools)sudo access (only for service start/stop/enable/disable)
Compared to ssh-mcp-server
Feature | linux-admin-mcp-server | ssh-mcp-server |
Use case | Local Linux admin | Remote via SSH |
SSH required | No | Yes |
systemd support | Full (14 tools) | Basic |
Health check | Yes | No |
Network tools | 4 tools | Limited |
License
MIT License — AiAgentKarl 2026
Available Tools
15 toolsactive_connectionsA
Zeigt aktive Netzwerkverbindungen (ESTABLISHED). Gibt lokale und Remote-Adressen für bis zu 50 Verbindungen zurück. Kein sudo erforderlich.
Inputs: no named parameters. Returns: object
disk_usageA
Zeigt Festplatten-Belegung aller gemounteten Laufwerke. Enthält: Filesystem, Größe, Belegung, verfügbar, Auslastungsprozent, Mountpoint. Kein sudo erforderlich.
Inputs: no named parameters. Returns: object
dns_lookupA
Löst einen Hostnamen per DNS auf und gibt die IP-Adresse zurück. hostname: Zu auflösender Hostname (z.B. 'google.com', 'api.example.com') Kein sudo erforderlich.
Inputs: hostname (required). Returns: object
health_checkA
Führt einen vollständigen System-Health-Check durch. Prüft: Disk-Belegung über 80%, CPU-Load, RAM-Verfügbarkeit, Uptime. Gibt status='OK' oder 'WARNING' mit einer Liste der gefundenen Probleme zurück. Kein sudo erforderlich.
Inputs: no named parameters. Returns: object
memory_usageA
Zeigt detaillierte RAM- und Swap-Nutzung. Enthält: Gesamt, verwendet, frei, verfügbar für RAM und Swap. Kein sudo erforderlich.
Inputs: no named parameters. Returns: object
network_interfacesA
Listet alle Netzwerk-Interfaces mit IP-Adressen auf. Enthält: Interface-Name, IPv4/IPv6-Adressen, Flags. Kein sudo erforderlich.
Inputs: no named parameters. Returns: object
open_portsA
Listet alle Ports auf, die auf eingehende Verbindungen warten (LISTEN). Nützlich um zu sehen welche Services aktiv Verbindungen annehmen. Kein sudo erforderlich (ohne Prozess-Info).
Inputs: no named parameters. Returns: object
processes_listB
Listet laufende Prozesse auf. sort_by: 'cpu' (Standard), 'memory', 'pid' limit: Anzahl der Prozesse (Standard: 20, max: 100) Kein sudo erforderlich.
Inputs: limit, sort_by. Returns: object
process_findA
Sucht nach laufenden Prozessen anhand eines Namens oder Befehlsteils. name: Suchbegriff (z.B. 'nginx', 'python', 'postgres') Gibt PID und vollständigen Befehl zurück. Kein sudo erforderlich.
Inputs: name (required). Returns: object
service_logsA
Gibt die letzten Log-Zeilen eines Services über journalctl zurück. service_name: Name des Services lines: Anzahl der Log-Zeilen (Standard: 50, max: 500) Kein sudo erforderlich.
Inputs: service_name (required), lines. Returns: object
service_manageA
Verwaltet einen systemd-Service. service_name: Name des Services (z.B. 'nginx', 'postgresql') action: 'start', 'stop', 'restart', 'reload', 'enable', 'disable' HINWEIS: Erfordert sudo-Rechte. Server muss als root laufen oder sudoers-Eintrag haben.
Inputs: action (required), service_name (required). Returns: object
services_listA
Listet systemd-Services auf. filter_state: 'all' (Standard), 'running', 'failed', 'inactive' Gibt max. 50 Services zurück mit Name, Status, Beschreibung. Kein sudo erforderlich.
Inputs: filter_state. Returns: object
service_statusA
Gibt den detaillierten Status eines systemd-Services zurück. service_name: Name des Services (z.B. 'nginx', 'postgresql', 'sshd') Enthält: aktiv/inaktiv, enabled/disabled, letzten Log-Output. Kein sudo erforderlich.
Inputs: service_name (required). Returns: object
system_infoA
Gibt allgemeine System-Informationen zurück. Enthält: Hostname, Kernel-Version, CPU-Modell, RAM, Uptime, Architektur, OS-Release. Kein sudo erforderlich.
Inputs: no named parameters. Returns: object
top_consumersA
Zeigt die Top-5 CPU- und Memory-Verbraucher. Nützlich für schnelle Performance-Diagnose. Kein sudo erforderlich.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Every tool has a distinct purpose with no overlap. System info, performance, processes, services, and network tools are clearly separated.
All names use snake_case and lowercase, with a consistent pattern of noun_noun or noun_verb. Minor variation in verb placement (e.g., top_consumers vs service_manage) but still predictable.
15 tools cover the scope of Linux administration well—system monitoring, process and service management, network diagnostics—without being bloated or sparse.
Covers core admin tasks: health checks, service lifecycle, process queries, network diagnostics. Missing system-wide logs or hardware details, but still solid for its purpose.
Related MCP Connectors
Linux server administration over OAuth MCP: shell, Docker, systemd, files and monitoring.
MCP Server for an Agent Task Marketplace
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA MCP server for Windows/Linux that provides 90+ tools enabling AI assistants to systematically manage local systems, including system probing, command execution, file editing, network diagnostics, and more.13MIT
- AlicenseNot gradedqualityDmaintenanceServagent is an MCP server that enables a remote AI to take full control of a Linux server: command execution, file management, service administration, and more.2MIT
- AlicenseBqualityDmaintenanceAn MCP server for managing Ubuntu/Linux systems, enabling AI assistants to execute commands, manage services, files, logs, and packages via local or SSH connection.47MIT
- AlicenseNot gradedqualityDmaintenanceA centralized MCP server that enables LLM agents to securely execute commands and manage Linux servers via SSH.2MIT