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.✓ تم النسخ
الأدوات
ما يوفره هذا الـ MCP
الأداة
المدخلات
متى تستدعيها
التكلفة
run_applescript
script: str
Execute any AppleScript command on the connected Mac
0
التكلفة والحدود
تكلفة التشغيل
حصة API
No external API — runs locally on macOS
الرموز لكل استدعاء
200–1000 tokens per script execution
التكلفة المالية
Free
نصيحة
Keep scripts focused on one task per call to minimize token usage from large outputs.
الأمان
الصلاحيات والأسرار ونطاق الأثر
تخزين بيانات الاعتماد: SSH credentials needed for remote execution — store in env vars, not in config files
نقل البيانات الخارجي: 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.
استكشاف الأخطاء
الأخطاء الشائعة وحلولها
AppleScript execution failed — not authorized
Grant Terminal (or your MCP host) access in System Settings → Privacy & Security → Automation and Accessibility.
تحقق: 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.
تحقق: 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.
تحقق: Open Script Editor → File → Open Dictionary → select the app
البدائل
applescript-mcp مقابل البدائل
البديل
متى تستخدمها
المقايضة
filesystem MCP
You only need file read/write without controlling macOS apps
Much narrower scope but no system-level access risks