AppleScript MCP-Server (Doppelzugriff: Python und Node.js)
Überblick
Ein Model Context Protocol (MCP)-Server, mit dem Sie AppleScript-Code ausführen und mit dem Mac interagieren können. Dieses MCP ist bewusst einfach, unkompliziert und intuitiv gestaltet und erfordert nur minimalen Einrichtungsaufwand.
Ich kann nicht glauben, wie einfach und leistungsstark es ist. Der Kerncode besteht aus <100 Codezeilen.
https://github.com/user-attachments/assets/b85e63ba-fb26-4918-8e6d-2377254ee388
Related MCP server: Xcode MCP Server
Merkmale
Führen Sie AppleScript aus, um auf Mac-Anwendungen und -Daten zuzugreifen
Interagieren Sie mit Notizen, Kalender, Kontakten, Nachrichten und mehr
Suchen Sie mit Spotlight oder Finder nach Dateien
Dateiinhalte lesen/schreiben und Shell-Befehle ausführen
Beispiel-Eingabeaufforderungen
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 weekVerwendung mit Claude Desktop
Node.js
{
"mcpServers": {
"applescript_execute": {
"command": "npx",
"args": [
"@peakmojo/applescript-mcp"
]
}
}
}Python
UV installieren
brew install uv
git clone ...Ausführen des Servers
{
"mcpServers": {
"applescript_execute": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/repo",
"run",
"src/applescript_mcp/server.py"
]
}
}
}