macOS系统控制工具

MacPilot CLI是一个开源工具,通过MCP协议使大型语言模型能够与macOS系统交互,执行各种系统操作。

  • by huhu415
  • Swift
  • 本地部署
  • 16 星标
  • 更新于
在 GitHub 查看 huhu415/macpilotcli

使用说明

MacPilot命令行界面

MacPilot CLI是一个开源工具,它使大型语言模型(LLM)能够通过MCP(模型控制协议)协议与macOS进行交互。 它提供了一系列系统工具,允许AI助手在macOS系统上执行各种操作。

工具文档

  • getCursorPosition
  • controlMouse
  • pasteText
  • captureScreen
  • shell
  • openApp
  • listApps
  • getWindowsInfo
  • getWindowA11yInfo

待实施的工具

  • []拖动鼠标

入门指南

  1. 您需要一台运行macOS 14.0(Sonoma)或更高版本的苹果Silicon Mac电脑
  2. 从下载二进制文件 发布 章节
  3. 通过添加以下配置来配置您的MCP兼容应用程序(Cursor或Claude Desktop应用程序):
    {
      "mcpServers": {
        "macPilotCli": {
          "command": "/path/to/downloaded/binary"
        }
      }
    }
    
  4. 给予必要的 权限(屏幕录制、可访问性) 您正在使用MacPilot CLI的应用程序。 例如,如果您正在使用Cursor,请确保Cursor在系统设置中具有所需的权限。
  5. 根据应用程序的要求切换到与工具兼容的型号,您就可以使用MacPilot CLI了