macPilotCli

macPilotCli

3.5

MacPilot CLI is an open-source tool that enables Large Language Models (LLMs) to interact with macOS through the MCP (Model Control Protocol) protocol.

MacPilot CLI is a powerful tool designed to bridge the gap between macOS systems and Large Language Models (LLMs) by utilizing the Model Control Protocol (MCP). This tool provides a suite of system utilities that allow AI assistants to perform a variety of operations on macOS, enhancing the capabilities of LLMs in managing and interacting with the operating system. It is particularly useful for developers and users who want to automate tasks or integrate AI functionalities into their macOS environment. The tool requires a Mac computer with Apple Silicon running macOS 14.0 (Sonoma) or later, and it necessitates certain permissions such as screen recording and accessibility to function effectively.

Features

  • System Interaction: Allows LLMs to interact with macOS systems through MCP.
  • Open Source: Freely available for modification and distribution.
  • Comprehensive Toolset: Includes tools like getCursorPosition, controlMouse, and captureScreen.
  • Compatibility: Works with MCP-compatible applications like Cursor or Claude Desktop app.
  • Automation: Facilitates automation of tasks on macOS systems.

MCP Tools

  • {'getCursorPosition': 'Retrieves the current position of the cursor on the screen.'}
  • {'controlMouse': 'Allows control over mouse movements and clicks.'}
  • {'pasteText': 'Enables pasting of text into active applications.'}
  • {'captureScreen': 'Captures the current screen and saves it as an image.'}
  • {'shell': 'Executes shell commands on the macOS system.'}
  • {'openApp': 'Opens specified applications on macOS.'}
  • {'listApps': 'Lists all currently running applications.'}
  • {'getWindowsInfo': 'Provides information about open windows.'}
  • {'getWindowA11yInfo': 'Retrieves accessibility information for windows.'}

Usage with Different Platforms

macOS


{
  "mcpServers": {
    "macPilotCli": {
      "command": "/path/to/downloaded/binary"
    }
  }
}