macOS Automator
Execute AppleScript and JavaScript for Automation (JXA) scripts on macOS remotely via a Model Context Protocol (MCP) server.
概要
This project provides an MCP server, `macos_automator`, specifically designed to facilitate the remote execution of AppleScript and JavaScript for Automation (JXA) scripts on macOS. It boasts a rich, extensible knowledge base of pre-defined scripts for common macOS automation tasks, accessible by ID. The server supports executing scripts from inline content, absolute file paths, or directly from its knowledge base, complete with robust argument passing and structured input data handling. This enables programmatic control over macOS applications and system functions, making it an invaluable tool for integrating macOS automation into larger, particularly AI-driven, workflows.
主な機能
- Execute AppleScript and JavaScript for Automation (JXA) scripts remotely on macOS.
- Utilize an extensible knowledge base of pre-defined scripts for common macOS automation tasks.
- Supports inline scripts, script files, and knowledge base scripts with flexible argument passing.
- Discover available scripts, their functionalities, and usage via a dedicated `get_scripting_tips` tool.
- Control script execution with options for timeout, output formatting, and detailed substitution logs.
- 6 GitHub stars
ユースケース
- Control macOS applications like Safari, Mail, or Finder for automated tasks.
- Interact with core system functions, including displaying notifications, setting system volume, or managing clipboard content.
- Perform file system operations such as listing files, creating folders, or moving items.