一个提供macOS特定系统信息和操作的Model Context Protocol服务器。
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'、'memory'、'disk'、'network' 或 'all' 中的一个示例:
{
"name": "systemInfo",
"arguments": {
"category": "cpu"
}
}
发送原生macOS通知。
参数:
title(必需):通知的标题message(必需):通知的内容sound(可选):是否播放声音(默认:true)示例:
{
"name": "sendNotification",
"arguments": {
"title": "Hello",
"message": "这是一条测试通知",
"sound": true
}
}
npm install
npm run build
npm run dev
MIT </中文翻译>