关于 MCP System Monitor
MCP System Monitor 是一个通过 Model Context Protocol 暴露系统指标的监控工具,让 LLM 能够通过 MCP 兼容接口获取实时系统信息。适合需要让 AI 查询本机 CPU、内存、磁盘、网络和进程状态的用户。
主要功能
- 01CPU 使用率与核心信息查询
- 02内存与交换分区使用情况
- 03磁盘用量、分区与 I/O 统计
- 04网络接口与流量信息
- 05主机信息与进程列表及详情
适用场景
- 01让 LLM 查询本机实时 CPU 与内存占用
- 02排查占用资源较多的进程
- 03检查磁盘使用情况与网络流量
MCP 相关
该项目是 MCP 服务,向 MCP 客户端暴露 get_cpu_info、get_memory_info、get_process_info 等系统监控工具,默认以 stdio 模式运行。
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
暂未收录安装方式
我们还没有获取到这个服务的安装包或远程地址,请按项目 README 中的说明安装。
工具
还没有获取到工具列表
本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。
详细介绍
MCP System Monitor
一款通过 Model Context Protocol(MCP)提供系统指标的系统监控工具。该工具允许大模型通过兼容 MCP 的接口获取实时系统信息。

功能
该工具提供以下监控功能:
- CPU 信息:使用率、核心数和详细的 CPU 信息
- 内存信息:虚拟内存和交换内存使用情况
- 磁盘信息:磁盘使用情况、分区和 I/O 统计信息
- 网络信息:网络接口、连接和流量统计信息
- 主机信息:系统详情、运行时间、启动时间和用户
- 进程信息:进程列表、排序和每个进程的详细统计信息
可用工具
1. CPU 信息
Tool: get_cpu_info
Description: Get CPU information and usage
Parameters:
- per_cpu (boolean, default: false): Whether to return data for each core
2. 内存信息
Tool: get_memory_info
Description: Get system memory usage information
Parameters: None
3. 磁盘信息
Tool: get_disk_info
Description: Get disk usage information
Parameters:
- path (string, default: "/"): Specify the disk path to query
- all_partitions (boolean, default: false): Whether to return information for all partitions
4. 网络信息
Tool: get_network_info
Description: Get network interface and traffic information
Parameters:
- interface (string, optional): Specify the network interface name to query
5. 主机信息
Tool: get_host_info
Description: Get host system information
Parameters: None
6. 进程信息
Tool: get_process_info
Description: Get process information
Parameters:
- pid (number, optional): Process ID to get detailed information for a specific process
- limit (number, default: 10): Limit the number of processes returned
- sort_by (string, default: "cpu"): Sort field (cpu, memory, pid, name)
安装
git clone https://github.com/seekrays/mcp-monitor.git
cd mcp-monitor
make build
使用
运行编译后的二进制文件:
./mcp-monitor
服务以 stdio 模式启动,随时可以与兼容 MCP 的大模型客户端通信。
参与贡献
欢迎贡献!请随时提交 Pull Request。
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。