Linux MCP server
2026년 11월 13일 커밋MCP 도구를 통해 CPU, 메모리, 디스크, 네트워크, 프로세스 및 Docker 메트릭을 포함한 실시간 Linux 시스템 모니터링과 진단 기능을 제공합니다.
다른 이름 Mohabdo21/linux-mcp, linux-mcp
- 스타
- 3
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 0.3.0
- 마지막 커밋
- 2026년 11월 13일
- 라이선스
- MIT
Linux MCP란?
Linux은(는) MCP server입니다. MCP 도구를 통해 CPU, 메모리, 디스크, 네트워크, 프로세스 및 Docker 메트릭을 포함한 실시간 Linux 시스템 모니터링과 진단 기능을 제공합니다.
프로젝트 README에서 생성된 요약
Linux MCP server 정보
Linux MCP는 Model Context Protocol을 통해 Linux 시스템에 대한 실시간 모니터링 및 진단 기능을 제공합니다. 개발자와 시스템 관리자가 AI 클라이언트를 사용하여 하드웨어, 소프트웨어 및 네트워크 메트릭을 검사할 수 있도록 지원합니다. 이 서버는 stdio 전송 방식을 통해 작동하며 Claude Desktop, Claude Code, OpenCode 또는 Codex와 같은 환경에 통합할 수 있습니다. Linux 환경이 필요하며 MCP Registry, 사전 빌드된 바이너리 또는 Go를 사용한 소스 빌드를 통해 설치할 수 있습니다.
이 서버는 광범위한 시스템 데이터를 다루는 65개의 도구와 19개의 리소스를 포함합니다. 사용자는 CPU 사용량, 메모리 및 swap 소비량, 디스크 파티션 상세 정보, 네트워크 인터페이스 통계를 모니터링할 수 있습니다. 또한 실행 중인 프로세스, systemd 유닛 및 Docker 컨테이너 메트릭에 대한 심층적인 가시성을 제공합니다. 보안 기능에는 로그인 실패 감사, 방화벽 상태 및 SUID 파일 확인이 포함되며, 하드웨어 도구는 GPU 정보와 PCI 또는 USB 버스 장치를 보고합니다.
활용 사례
- 1시스템 성능 분석load averages 및 uptime을 포함한 현재 시스템 상태의 종합적인 개요를 요청합니다.
- 2Docker 환경 디버깅실행 중인 컨테이너와 이미지의 상태 및 리소스 사용량을 확인합니다.
- 3시스템 보안 감사로그인 실패 시도 및 방화벽 설정을 확인하여 잠재적인 보안 위험을 식별합니다.
- 4저수준 커널 데이터 검사proc 디렉토리를 통해 인터럽트 및 파일 시스템 통계를 살펴보고 심층 진단을 수행합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능mohabdo21/linux-mcp is public and reachablegithub.com/mohabdo21/linux-mcp ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-05github.com/mohabdo21/linux-mcp ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기linux-mcp - Linux MCP Server
A Linux system monitoring server built on the Model Context Protocol (MCP). Provides real-time system information - CPU, memory, disk, network, processes, Docker, and more - via MCP tools over STDIO transport.
Features
- System - hostname, OS, kernel, architecture, uptime, load averages
- CPU - usage, model, frequency, core counts, temperature sensors
- Memory - RAM and swap usage with percentages
- Disk - per-partition usage, inodes, mount options, largest files, block devices
- Network - interface stats, active connections, listening ports, DNS, ping, IP geolocation & ASN lookup
- Processes - running processes sorted by CPU or memory, open file descriptors per process
- Docker - containers, images, networks, volumes, disk usage, system info, and container stats
- Services & automation - systemd units, service status, user timers, crontab, system cron jobs
- Security - active user sessions, failed login detection, SELinux/AppArmor status, firewall/SSH/SUID/world-writable audit with security score
- Packages - installed packages and available updates (pacman, dpkg, rpm/dnf, apk)
- Hardware - GPU info, PCI/USB bus devices, power/battery analytics
- Desktop session - Wayland/X11 protocol, DE identifiers, runtime config
- Storage health - RAID status, logrotate configuration, time synchronization, SMART disk health, per-device I/O metrics
- System health - comprehensive health assessment with memory, disk, load, and systemd checks
- /proc diagnostics - deep /proc inspection: interrupts, softirqs, vmstat, diskstats, filesystems, kernel version, slabinfo
- Man pages - system manual pages for any installed command
- Snapshot - comprehensive system overview in a single call
- MCP Resources - system data also accessible as readable resources
Prerequisites
- Go 1.27+ (to build from source)
- Linux (the server targets Linux; some tools use Linux-specific paths)
- Docker (optional - only needed for Docker tools)
Installation
Via MCP Registry
Discover the server on the MCP Registry and install via your MCP client (VS Code one-click install, or manual config).
Download pre-built binary
Download the latest binary from the GitHub Releases page:
curl -LO https://github.com/Mohabdo21/linux-mcp/releases/latest/download/linux-mcp
chmod +x linux-mcp
A fully static build (no libc dependency) is also available as linux-mcp_static.
Via go install
go install github.com/Mohabdo21/linux-mcp@latest
The binary is placed in $GOPATH/bin/ (typically ~/go/bin/).
Build from source
git clone https://github.com/Mohabdo21/linux-mcp.git
cd linux-mcp
make build
The binary is placed at bin/linux-mcp.
For a fully static binary (no libc dependency):
make build-static
Usage
The server communicates over STDIO transport, following the MCP standard. It is designed to be launched by an MCP client (e.g., Claude Desktop, Claude Code, Codex, OpenCode, or any MCP host).
Running directly
./bin/linux-mcp
This starts the server and listens for MCP requests on STDIN/STDOUT.
Integration
Add the following to your OpenCode configuration:
{
"mcp": {
"linux-mcp": {
"type": "local",
"command": ["/path/to/linux-mcp"],
"enabled": true
}
}
}
Add the server via the CLI:
claude mcp add linux-mcp -- /path/to/linux-mcp
To scope it to all your projects instead of just the current one:
claude mcp add linux-mcp --scope user -- /path/to/linux-mcp
Or create a .mcp.json file in your project root for team-shared configuration:
{
"mcpServers": {
"linux-mcp": {
"type": "stdio",
"command": "/path/to/linux-mcp"
}
}
}
Verify the connection inside a Claude Code session with /mcp.
Add the server via the CLI:
codex mcp add linux-mcp -- /path/to/linux-mcp
Or add it manually to ~/.codex/config.toml (or .codex/config.toml for project-scoped config):
[mcp_servers.linux-mcp]
command = "/path/to/linux-mcp"
Verify the connection with codex mcp list.
Tools and resources
65 tools and 19 resources covering system, CPU, memory, disk, network, processes, Docker, security, packages, hardware, and more.
Full tool and resource reference
Configuration
The server can be configured via a JSON file loaded from ~/.config/linux-mcp/config.json or the LINUX_MCP_CONFIG environment variable.
{
"log_level": "info",
"timeouts": {
"get_system_snapshot": "60s",
"ping_host": "5s"
},
"disabled": []
}
| Field | Description |
|---|---|
log_level |
One of debug, info, warn, error (default: info) |
timeouts |
Per-tool timeout overrides as Go duration strings |
disabled |
Tool names to disable, including their resource and aggregate collector paths |
Invalid configuration prevents startup. The server also handles SIGHUP to reload the configuration file at runtime without restarting; a failed reload retains the last valid configuration. Disabled collectors are skipped by aggregate tools and reported in their errors.
Docker diagnostic responses omit environment values and raw command arguments, including image-history commands. Other diagnostic content, such as logs and labels, can still contain sensitive data; grant access only to trusted clients.
MCP Registry
Published on the MCP Registry as io.github.Mohabdo21/linux-mcp.
License
Dependencies
- modelcontextprotocol/go-sdk - MCP SDK for Go
- shirou/gopsutil/v4 - System metrics (CPU, memory, disk, network, processes, sensors)
- docker/go-sdk - Docker Engine API client
- moby/moby/client - Docker client library
- ip-api.com - Free IP geolocation API (used by
get_ip_info)
Linux MCP 질문
어떤 시스템 정보를 모니터링할 수 있나요?
hostname, OS, kernel, architecture, uptime, load averages, CPU 사용량, 메모리, 디스크 파티션, 네트워크 통계 및 실행 중인 프로세스를 모니터링할 수 있습니다.
이 서버는 Docker 모니터링을 지원하나요?
네, 컨테이너, 이미지, 네트워크, 볼륨, 디스크 사용량, 시스템 정보 및 컨테이너 통계를 위한 도구를 제공합니다.