macOS系统信息服务器

一个提供macOS系统信息和操作的Model Context Protocol服务器,支持系统信息检索和原生通知功能。

  • by mcp-get
  • JavaScript
  • 本地部署
  • 68 星标
  • 更新于
在 GitHub 查看 mcp-get/community-servers

使用说明

@mcp获得社区/服务器macos

提供macOS特定系统信息和操作的模型上下文协议服务器。

特性

  • 系统信息检索(CPU、内存、磁盘、网络)
  • 原生macOS通知

安装

npx @michaellatman/mcp-get@latest install @mcp-get-community/server-macos

配置

将此添加到您的配置中:

{
  "mcpServers": {
    "@mcp-get-community/server-macos": {
      "runtime": "node",
      "command": "npx",
      "args": [
        "-y",
        "@mcp-get-community/server-macos"
      ]
    }
  }
}

工具

系统信息

从macOS检索系统信息。

参数:

  • category (必填):“cpu”、“内存”、“磁盘”、“网络”或“全部”中的一个

例子:

{
  "name": "systemInfo",
  "arguments": {
    "category": "cpu"
  }
}

sendNotification

发送本机macOS通知。

参数:

  • title (必填):通知标题
  • message (必填):通知内容
  • sound (可选):是否播放声音(默认值:true)

例子:

{
  "name": "sendNotification",
  "arguments": {
    "title": "Hello",
    "message": "This is a test notification",
    "sound": true
  }
}

发展

  1. 安装依赖项:
npm install
  1. 构建项目:
npm run build
  1. 在开发模式下运行:
npm run dev

许可证

麻省理工学院