Skip to content
MCP server

Linux MCP

Read-only Linux system monitoring over MCP: CPU, memory, disk, network, Docker and more

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
Linux, CLI, self-hosted
Runs
Locally
Version
0.3.0
Listing updated
today

Similar MCP servers

About Linux MCP

Linux MCP is an open-source MCP server for cloud and infrastructure. It runs locally on your machine and is started by your AI client.

A single Go binary that runs over stdio and exposes 65 tools and 19 resources, all aimed at inspecting the host it runs on. Beyond the basics of CPU, memory, disk and processes it reaches into systemd units, cron and timers, package lists and pending updates (pacman, dpkg, rpm/dnf, apk), SMART disk health, RAID status, GPU and PCI/USB devices, and deeper /proc views such as interrupts and slabinfo.

There is also a security group covering failed logins, SELinux or AppArmor status, and a firewall, SSH and SUID audit with a score, plus a one-call system snapshot and a health assessment. Docker tools are optional and only need Docker present.

A JSON config file can set log level, per-tool timeouts and a list of disabled tools, and SIGHUP reloads it without a restart. The README notes that Docker output omits environment values and raw command arguments, but logs and labels can still hold sensitive data, so it should only be given to trusted clients. IP geolocation uses the free ip-api.com service.

Install

Run in a terminal

claude mcp add linux-mcp -- npx -y https://github.com/Mohabdo21/linux-mcp/releases/download/v0.3.0/linux-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "linux-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Mohabdo21/linux-mcp/releases/download/v0.3.0/linux-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "linux-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Mohabdo21/linux-mcp/releases/download/v0.3.0/linux-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "linux-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Mohabdo21/linux-mcp/releases/download/v0.3.0/linux-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "linux-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Mohabdo21/linux-mcp/releases/download/v0.3.0/linux-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "linux-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Mohabdo21/linux-mcp/releases/download/v0.3.0/linux-mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

What it does

Broad host metrics
CPU, memory, swap, disk, inodes, network and process data.
Docker inspection
Containers, images, networks, volumes and container stats.
Security audit
Failed logins, SELinux/AppArmor, firewall, SSH and SUID checks with a score.
Package and service views
Installed packages, updates, systemd units and cron jobs.
Hardware and storage health
GPU, PCI/USB, battery, SMART, RAID and I/O metrics.
Configurable tools
Per-tool timeouts and a disable list, reloadable on SIGHUP.

Good for

  • Ask an assistant why a server is slow
  • Review which services and cron jobs run on a machine
  • Check disk health and RAID status
  • Run a quick security audit of a host
  • Inspect Docker disk usage

Pricing

Open source

MIT licensed

Linux MCP FAQ

What do I need to run it?

A Linux host; Go 1.27 or newer is only needed to build from source, and Docker is optional for the Docker tools.

How is it installed?

Via the MCP registry, a prebuilt release binary (a static build is also available), go install, or building with make.

Can I turn tools off?

Yes, list tool names under disabled in the config file at ~/.config/linux-mcp/config.json or the path in LINUX_MCP_CONFIG.

Which licence is it under?

MIT.

Is Linux MCP free?

Yes. Linux MCP is open source, so you can use and self-host it for free.

How do I add Linux MCP to Claude Code?

Run this command in your terminal: claude mcp add linux-mcp -- npx -y https://github.com/Mohabdo21/linux-mcp/releases/download/v0.3.0/linux-mcp

What are the best alternatives to Linux MCP?

The closest alternatives to Linux MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers