AppleScript MCP Server (Dual access: python and node.js)
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Overview
A Model Context Protocol (MCP) server that lets you run AppleScript code to interact with Mac. This MCP is intentionally designed to be simple, straightforward, intuitive, and require minimal setup.
I can't believe how simple and powerful it is. The core code is
https://github.com/user-attachments/assets/b85e63ba-fb26-4918-8e6d-2377254ee388
Features
* Run AppleScript to access Mac applications and data
* Interact with Notes, Calendar, Contacts, Messages, and more
* Search for files using Spotlight or Finder
* Read/write file contents and execute shell commands
* Remote execution support via SSH
Example Prompts
Usage with Claude Desktop
Node.js
Python (uvx)
No clone needed — run directly from the git repo:
Python (local development)
For local development, clone the repo and use uv to run from source:
Development
Setup
Run all checks (in parallel)
This runs linting, formatting, type checking, and tests with 100% coverage — all in parallel.
Individual commands
Docker Usage
When running in a Docker container, you can use the special hostname host.docker.internal to connect to your Mac host:
Configuration
This allows your Docker container to execute AppleScript on the Mac host system. Make sure:
1. SSH is enabled on your Mac (System Settings → Sharing → Remote Login)
2. Your user has proper permissions
3. The correct credentials are provided in the config