Сервер AppleScript MCP (двойной доступ: python и node.js)
Обзор
Сервер Model Context Protocol (MCP), который позволяет запускать код AppleScript для взаимодействия с Mac. Этот MCP намеренно разработан простым, понятным, интуитивно понятным и требующим минимальной настройки.
Я не могу поверить, насколько это просто и мощно. Основной код — <100 строк кода.
https://github.com/user-attachments/assets/b85e63ba-fb26-4918-8e6d-2377254ee388
Related MCP server: Xcode MCP Server
Функции
Запустите AppleScript для доступа к приложениям и данным Mac
Взаимодействие с заметками, календарем, контактами, сообщениями и многим другим
Поиск файлов с помощью Spotlight или Finder
Чтение/запись содержимого файла и выполнение команд оболочки
Примеры подсказок
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 weekИспользование с Claude Desktop
Node.js
{
"mcpServers": {
"applescript_execute": {
"command": "npx",
"args": [
"@peakmojo/applescript-mcp"
]
}
}
}Питон
Установить УФ
brew install uv
git clone ...Запустить сервер
{
"mcpServers": {
"applescript_execute": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/repo",
"run",
"src/applescript_mcp/server.py"
]
}
}
}