MacPilot CLI
MacPilot CLI 是一个开源工具,它通过 MCP(Model Control Protocol)协议使大型语言模型(LLMs)能够与 macOS 进行交互。该工具提供了一系列系统工具,使 AI 助手能够在 macOS 系统上执行各种操作。
工具文档
getCursorPosition
:获取鼠标光标位置
controlMouse
:控制鼠标移动
pasteText
:粘贴文本
captureScreen
:截取屏幕
shell
:执行 shell 命令
openApp
:打开应用程序
listApps
:列出已安装的应用程序
getWindowsInfo
:获取窗口信息
getWindowA11yInfo
:获取窗口的无障碍信息
待实现工具
拖拽鼠标
快速开始
- 你需要一台运行 macOS 14.0(Sonoma)或更高版本的 Apple Silicon Mac 电脑。
- 从 Releases 部分下载二进制文件。
- 配置你的 MCP 兼容应用程序(如 Cursor 或 Claude Desktop 应用),添加以下配置:
- 为你使用 MacPilot CLI 的应用程序授予必要的 权限(屏幕录制、无障碍)。例如,如果你使用的是 Cursor,请确保在系统设置中为 Cursor 授予所需的权限。
- 根据你的应用程序要求,切换到支持工具的模型,即可开始使用 MacPilot CLI。
- Author:waytomcp
- URL:https://www.waytomcp.com/article/huhu415/macPilotCli
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!