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.✓ Copiado
Ferramentas
O que este MCP expõe
Ferramenta
Entradas
Quando chamar
Custo
run_applescript
script: str
Execute any AppleScript command on the connected Mac
0
Custo e limites
O que custa rodar
Cota de API
No external API — runs locally on macOS
Tokens por chamada
200–1000 tokens per script execution
Monetário
Free
Dica
Keep scripts focused on one task per call to minimize token usage from large outputs.
Segurança
Permissões, segredos, alcance
Armazenamento de credenciais: SSH credentials needed for remote execution — store in env vars, not in config files
Saída de dados: 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.
Solução de problemas
Erros comuns e correções
AppleScript execution failed — not authorized
Grant Terminal (or your MCP host) access in System Settings → Privacy & Security → Automation and Accessibility.
Verificar: 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.
Verificar: 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.
Verificar: Open Script Editor → File → Open Dictionary → select the app
Alternativas
applescript-mcp vs. outros
Alternativa
Quando usar
Troca
filesystem MCP
You only need file read/write without controlling macOS apps
Much narrower scope but no system-level access risks