Execute AppleScript from Claude to control any macOS app — Notes, Calendar, Finder, Messages, and more.
applescript-mcp gives Claude the ability to run arbitrary AppleScript on macOS, providing programmatic control over system apps and services. It can create calendar events, manage notes, search files via Spotlight, take screenshots, control media playback, and run shell commands. Available in Python and Node.js, with Docker support for remote execution via SSH.
Create calendar reminders for upcoming GitHub PR review deadlines
Check my open PR review requests on GitHub and create calendar reminders for any that are overdue.✓ Copié
Outils
Ce que ce MCP expose
Outil
Entrées
Quand appeler
Coût
run_applescript
script: str
Execute any AppleScript command on the connected Mac
0
Coût et limites
Coût d'exécution
Quota d'API
No external API — runs locally on macOS
Tokens par appel
200–1000 tokens per script execution
Monétaire
Free
Astuce
Keep scripts focused on one task per call to minimize token usage from large outputs.
Sécurité
Permissions, secrets, portée
Stockage des identifiants : SSH credentials needed for remote execution — store in env vars, not in config files
Sortie de données : All execution is local to the Mac. No external network calls unless your script makes them.
WARNING: This MCP grants full system control via AppleScript. It can read/write files, send messages, execute shell commands, and control any application. Only use with trusted prompts and review scripts before execution.
Never run this on a production machine or with access to sensitive data you wouldn't want an AI to process.
SSH remote execution exposes the target Mac to any command the AI generates. Use strong credentials and restrict network access.
Dépannage
Erreurs courantes et correctifs
AppleScript execution failed — not authorized
Grant Terminal (or your MCP host) access in System Settings → Privacy & Security → Automation and Accessibility.
Vérifier : osascript -e 'tell application "Finder" to get name of every disk'
SSH connection refused
Enable Remote Login in System Settings → Sharing. Verify SSH credentials are correct.
Vérifier : ssh your-user@localhost 'echo ok'
Application not responding to AppleScript
Some apps have limited or no AppleScript support. Check the app's AppleScript dictionary in Script Editor.
Vérifier : Open Script Editor → File → Open Dictionary → select the app
Alternatives
applescript-mcp vs autres
Alternative
Quand l'utiliser
Compromis
filesystem MCP
You only need file read/write without controlling macOS apps
Much narrower scope but no system-level access risks