linux-admin-mcp-server

linux-admin-mcp-server

Linux system administration via AI agents — MCP server for managing services, processes, disk, network and logs on Linux systems.

Category
Visit Server

README

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-server

Usage 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
system_info Hostname, kernel, CPU, RAM, uptime No
disk_usage Disk usage for all mounted filesystems No
memory_usage RAM and swap usage details No
health_check Full system health assessment No
services_list List systemd services (all/running/failed) No
service_status Detailed status of a specific service No
service_manage Start/stop/restart/enable/disable a service Yes
service_logs Last N log lines via journalctl No
processes_list Running processes sorted by CPU/memory No
process_find Find processes by name No
top_consumers Top 5 CPU and memory consumers No
network_interfaces Network interfaces and IP addresses No
open_ports Listening ports (LISTEN state) No
active_connections Established network connections No
dns_lookup 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)
  • ss or netstat (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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured