macPilot

macPilot

MacPilot CLI is an open-source tool that enables interaction with macOS through the MCP. It provides a collection of system tools that allow AI assistants to perform various operations on macOS systems, including mouse control, screenshots, text pasting, application launching, and more.

huhu415

OS Automation
Visit Server

README

MacPilot CLI

MacPilot CLI is an open-source tool that enables Large Language Models (LLMs) to interact with macOS through the MCP (Model Control Protocol) protocol. It provides a collection of system tools that allow AI assistants to perform various operations on macOS systems.

Tool Documentation

Tool Name Description Input Parameters
repeat Echo back the input text text: String to repeat
getCursorPosition Returns the current mouse position and screen details None
moveCursor Moves the mouse cursor to specific coordinates x: X coordinate, y: Y coordinate
clickMouse Performs a mouse click at the current cursor position None
pasteText Copies text to clipboard and pastes it text: Text to paste
captureScreen Takes a screenshot of the entire screen None
executeCommand Runs a shell command and returns the output command: Command to execute, args: Optional arguments array
launchApp Launches an application bundleId & Application identifier or appName & Application name
getAppsList Returns a list of installed applications None
getWindowsList Returns information about all windows None
getFocusedWindowInfo Returns information about the focused window None
getWindowInfo Returns detailed information about a window pid: Optional process ID

Getting Started

  1. You need a Mac computer with Apple Silicon running macOS 14.0 (Sonoma) or later
  2. Download the binary file from the Releases section
  3. Configure your MCP-compatible application (Cursor or Claude Desktop app) by adding the following configuration:
    {
      "mcpServers": {
        "macPilotCli": {
          "command": "/path/to/downloaded/binary"
        }
      }
    }
    
  4. Grant the necessary permissions (screen recording, accessibility) to the application you're using with MacPilot CLI. For example, if you're using Cursor, make sure Cursor has the required permissions in System Settings.
  5. Switch to a tool-compatible model according to your application's requirements, and you're ready to use MacPilot CLI

Recommended Servers

@kazuph/mcp-taskmanager

@kazuph/mcp-taskmanager

Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.

Featured
Local
JavaScript
Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
ThingsPanel MCP

ThingsPanel MCP

An integration server that connects AI models with ThingsPanel IoT platform, allowing AI assistants to interact with IoT devices through natural language for device control, data retrieval, and management operations.

Official
Python
Beamlit MCP Server

Beamlit MCP Server

An MCP server implementation that enables seamless integration between Beamlit CLI and AI models using the Model Context Protocol standard.

Official
TypeScript
MCP Python Toolbox

MCP Python Toolbox

A Model Context Protocol server that enables AI assistants like Claude to perform Python development tasks through file operations, code analysis, project management, and safe code execution.

Local
Python
Shell MCP Server

Shell MCP Server

A secure server that enables AI applications to execute shell commands in specified directories, supporting multiple shell types (bash, sh, cmd, powershell) with built-in security features like directory isolation and timeout control.

Local
Python
Command Executor MCP Server

Command Executor MCP Server

A Model Context Protocol server that allows secure execution of pre-approved commands, enabling AI assistants to safely interact with the user's system.

Local
JavaScript
DevEnvInfoServer

DevEnvInfoServer

An MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.

Local
Python
mcp-cli-exec MCP Server

mcp-cli-exec MCP Server

A CLI command execution server that enables running shell commands with structured output, providing detailed execution results including stdout, stderr, exit code, and execution duration.

Local
TypeScript
Siri Shortcuts MCP Server

Siri Shortcuts MCP Server

Enables interaction with macOS Siri Shortcuts via the Model Context Protocol, allowing users to list, open, and run shortcuts dynamically with optional inputs.

Local
TypeScript