Linux MCP sunucusu
Commit 13 Kas 2026MCP araçları aracılığıyla CPU, bellek, disk, ağ, süreçler ve Docker metrikleri dahil olmak üzere gerçek zamanlı Linux sistem izleme ve teşhis hizmeti sunar.
Ayrıca bilinen adı Mohabdo21/linux-mcp, linux-mcp
- Yıldızlar
- 3
- Araçlar
- —
- İndirmeler, 30 gün
- —
- En son sürüm
- 0.3.0
- Son commit
- 13 Kas 2026
- Lisans
- MIT
Linux MCP nedir?
Linux bir MCP sunucusudur. MCP araçları aracılığıyla CPU, bellek, disk, ağ, süreçler ve Docker metrikleri dahil olmak üzere gerçek zamanlı Linux sistem izleme ve teşhis hizmeti sunar.
Özet, projenin README dosyasından oluşturuldu
Linux MCP sunucusu hakkında
Linux MCP, Model Context Protocol aracılığıyla Linux sistemleri için gerçek zamanlı izleme ve teşhis yetenekleri sağlar. Geliştiricilerin ve sistem yöneticilerinin bir AI istemcisi kullanarak donanım, yazılım ve ağ metriklerini incelemesine olanak tanır. Sunucu STDIO üzerinden çalışır ve Claude Desktop, Claude Code, OpenCode veya Codex gibi ortamlara entegre edilebilir. Bir Linux ortamı gerektirir; MCP Registry, önceden derlenmiş ikili dosyalar (binaries) veya Go kullanarak kaynaktan derleme yoluyla kurulabilir.
Sunucu, geniş bir sistem verisi yelpazesini kapsayan 65 araç ve 19 kaynak içerir. Kullanıcılar CPU kullanımı, bellek ve swap tüketimi, disk bölüm ayrıntıları ve ağ arayüzü istatistiklerini izleyebilir. Ayrıca çalışan süreçler, systemd birimleri ve Docker konteyner metrikleri hakkında derinlemesine görünürlük sağlar. Güvenlik özellikleri arasında başarısız giriş denemelerinin denetlenmesi, güvenlik duvarı durumu ve SUID dosyaları yer alırken; donanım araçları GPU bilgileri ile PCI veya USB veri yolu cihazları hakkında rapor sunar.
Neler yapabilirsiniz
- 1Sistem performansını analiz edinYük ortalamaları ve çalışma süresi dahil olmak üzere mevcut sistem durumunun kapsamlı bir özetini isteyin.
- 2Docker ortamlarını hata ayıklayınÇalışan konteynerlerin ve imajların durumunu ve kaynak kullanımını kontrol edin.
- 3Sistem güvenliğini denetleyinBaşarısız giriş denemelerini ve güvenlik duvarı yapılandırmalarını kontrol ederek potansiyel güvenlik risklerini belirleyin.
- 4Düşük seviyeli kernel verilerini inceleyinproc dizini üzerinden kesintileri (interrupts) ve dosya sistemi istatistiklerini inceleyerek derinlemesine teşhis işlemleri gerçekleştirin.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
Otomatik kontroller
Çalıştırıldı 14 Kas 2026Tam rapor →Henüz doğrulanmadı. Bir sunucunun 80 puana, ciddi bir bulgu olmamasına ve kontrol edebilmemiz için yeterli veriye ihtiyacı vardır. Kontroller nasıl çalışır · Daha fazla puan için nelerin düzeltileceği
- Kaynak deposu bağlantılı ve erişilebilirmohabdo21/linux-mcp is public and reachablegithub.com/mohabdo21/linux-mcp ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyorKontrol edilmedi
- Derleme kökeni (Sigstore onayı)Kontrol edilmedi
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-11-05github.com/mohabdo21/linux-mcp ↗Geçti
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilKontrol edilmedi
- Pakette veya bağımlılıklarında kritik uyarı yokKontrol edilmedi
- Modele yönelik gizli talimat yok0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişKontrol edilmedi
- Uzak uç nokta MCP el sıkışmasına yanıt veriyorKontrol edilmedi
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 soruları
Hangi sistem bilgilerini izleyebilirim?
Hostname, işletim sistemi, kernel, mimari, çalışma süresi (uptime), yük ortalamaları, CPU kullanımı, bellek, disk bölümleri, ağ istatistikleri ve çalışan süreçleri izleyebilirsiniz.
Bu sunucu Docker izlemeyi destekliyor mu?
Evet; konteynerler, imajlar, ağlar, birimler (volumes), disk kullanımı, sistem bilgisi ve konteyner istatistikleri için araçlar sağlar.