MCP Catalogs
首页

cosmotop

by bjia56·67·综合分 46

多平台系统监控工具,通过MCP服务器模式提供系统指标访问。

monitoringdeveloper-toolsops-infra
1
Forks
1
活跃 Issue
本月
最近提交
2 天前
收录于

概述

Cosmotop是基于Cosmopolitan Libc构建的btop++分支,设计为可在多平台上运行的单一可执行文件。它提供全面的系统监控功能,包括CPU、内存、磁盘、网络、GPU、NPU和容器指标。当使用--mcp标志启动时,它作为MCP服务器运行,通过模型上下文协议暴露系统信息工具,同时禁用图形界面。该实现使用STDIO传输,支持协议版本2024-11-05,适合与AI助手和自动化工作流集成。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:需要实时系统信息进行故障排除或优化的AI助手
:需要跨不同环境监控系统健康状况的自动化工作流
:将系统指标集成到AI驱动仪表板解决方案的开发团队
:Cosmotop在MCP模式下暴露哪些工具?
:Cosmotop支持哪些平台?

什么时候选它

当你需要通过 MCP 进行跨平台系统监控,并且重视可在 Linux、Windows、macOS 和 BSD 系统上运行的单一可执行文件分发模型时,选择 cosmotop。

什么时候不要选它

如果你需要超出其提供工具范围的深度专业监控指标,或者需要 MCP 服务器访问的身份验证(尚未实现),则避免使用 cosmotop。

此 server 暴露的工具

从 README 抽取出 9 个工具
  • get_process_info

    Get information about running processes

  • get_cpu_info

    Get CPU information and usage statistics

  • get_memory_info

    Get system memory information and usage statistics

  • get_network_info

    Get network interface statistics and usage

  • get_disk_info

    Get disk usage and I/O statistics

  • get_gpu_info

    Get GPU information and usage statistics

  • get_npu_info

    Get NPU information and usage statistics

  • get_container_info

    Get container information and usage statistics

  • get_system_info

    Get general system information

可对比工具

top-mcphtop-mcpbtop-mcpnvidia-mcp

安装

安装

直接下载

从[GitHub releases](https://github.com/bjia56/cosmotop/releases/latest)下载预构建的二进制文件并直接运行。

Homebrew

brew tap bjia56/tap
brew install cosmotop

Docker

docker run -it --rm --net=host --pid=host ghcr.io/bjia56/cosmotop:latest

MCP服务器设置

与Claude Desktop一起使用时,添加到Claude Desktop配置:

{
  "mcpServers": {
    "cosmotop": {
      "command": "cosmotop的路径",
      "args": ["--mcp"]
    }
  }
}

从源码构建

按照README中的说明使用CMake和Cosmopolitan Libc进行构建。

FAQ

Cosmotop在MCP模式下暴露哪些工具?
Cosmotop暴露多种工具:get_process_info、get_cpu_info、get_memory_info、get_network_info、get_disk_info、get_gpu_info、get_npu_info、get_container_info和get_system_info。GPU和NPU工具仅在检测到相应硬件时可用。
Cosmotop支持哪些平台?
Cosmotop支持Linux(x86_64、i386、aarch64等)、Windows 10+、MacOS 13+和各种BSD发行版。核心平台(Linux x86_64/aarch64、MacOS、Windows)是自包含的,而其他平台需要curl、wget或python3来获取插件组件。

cosmotop 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。