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.
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
mcpb https://github.com/Mohabdo21/linux-mcp/releases/download/v0.3.0/linux-mcpClaude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
claude mcp add io.github.mohabdo21-linux-mcp -- mcpb https://github.com/Mohabdo21/linux-mcp/releases/download/v0.3.0/linux-mcp在終端機中執行。
{ "mcpServers": { "io.github.mohabdo21-linux-mcp": { "command": "mcpb", "args": [ "https://github.com/Mohabdo21/linux-mcp/releases/download/v0.3.0/linux-mcp" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
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.
Linux MCP server for real-time system monitoring - CPU, memory, disk, network, processes, Docker.
Discover the server on the MCP Registry and install via your MCP client (VS Code one-click install, or manual config).
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.
go installgo install github.com/Mohabdo21/linux-mcp@latest
The binary is placed in $GOPATH/bin/ (typically ~/go/bin/).
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
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).
./bin/linux-mcp
This starts the server and listens for MCP requests on STDIN/STDOUT.
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.
65 tools and 19 resources covering system, CPU, memory, disk, network, processes, Docker, security, packages, hardware, and more.
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": []
}
The server also handles SIGHUP to reload the configuration file at runtime without restarting.
Published on the MCP Registry as io.github.Mohabdo21/linux-mcp.
get_ip_info)Linux MCP server for real-time system monitoring - CPU, memory, disk, network, processes, Docker.
{ "mcpServers": { "io.github.mohabdo21-linux-mcp": { "command": "mcpb", "args": [ "https://github.com/Mohabdo21/linux-mcp/releases/download/v0.3.0/linux-mcp" ] } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Linux MCP 透過 stdio 在本機執行。
上次檢查時間:2026-11-12。 Linux MCP server for real-time system monitoring - CPU, memory, disk, network, processes, Docker.