使用说明
@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
}
}
发展
- 安装依赖项:
npm install
- 构建项目:
npm run build
- 在开发模式下运行:
npm run dev
许可证
麻省理工学院
