Servidor MCP de AppleScript (acceso dual: Python y Node.js)
Descripción general
Un servidor de Protocolo de Contexto de Modelo (MCP) que le permite ejecutar código AppleScript para interactuar con Mac. Este MCP está diseñado intencionalmente para ser simple, directo, intuitivo y requerir una configuración mínima.
No puedo creer lo simple y potente que es. El código principal tiene menos de 100 líneas.
https://github.com/user-attachments/assets/b85e63ba-fb26-4918-8e6d-2377254ee388
Related MCP server: Xcode MCP Server
Características
Ejecute AppleScript para acceder a aplicaciones y datos de Mac
Interactúa con Notas, Calendario, Contactos, Mensajes y más
Busque archivos usando Spotlight o Finder
Leer/escribir el contenido de archivos y ejecutar comandos de shell
Ejemplos de indicaciones
Create a reminder for me to call John tomorrow at 10amAdd a new meeting to my calendar for Friday from 2-3pm titled "Team Review"Create a new note titled "Meeting Minutes" with today's dateShow me all files in my Downloads folder from the past weekWhat's my current battery percentage?Show me the most recent unread emails in my inboxList all the currently running applications on my MacPlay my "Focus" playlist in Apple MusicTake a screenshot of my entire screen and save it to my DesktopFind John Smith in my contacts and show me his phone numberCreate a folder on my Desktop named "Project Files"Open Safari and navigate to apple.comTell me how much free space I have on my main driveList all my upcoming calendar events for this weekUso con Claude Desktop
Node.js
{
"mcpServers": {
"applescript_execute": {
"command": "npx",
"args": [
"@peakmojo/applescript-mcp"
]
}
}
}Pitón
Instalar uv
brew install uv
git clone ...Ejecutar el servidor
{
"mcpServers": {
"applescript_execute": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/repo",
"run",
"src/applescript_mcp/server.py"
]
}
}
}