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 10am
Add a new meeting to my calendar for Friday from 2-3pm titled "Team Review"
Create a new note titled "Meeting Minutes" with today's date
Show me all files in my Downloads folder from the past week
What's my current battery percentage?
Show me the most recent unread emails in my inbox
List all the currently running applications on my Mac
Play my "Focus" playlist in Apple Music
Take a screenshot of my entire screen and save it to my Desktop
Find John Smith in my contacts and show me his phone number
Create a folder on my Desktop named "Project Files"
Open Safari and navigate to apple.com
Tell me how much free space I have on my main drive
List all my upcoming calendar events for this week
Verwendung 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"
]
}
}
}