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 "Install 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-serverShow 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
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
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AiAgentKarl/linux-admin-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server