Basic information
About AppleScript MCP Server
AppleScript MCP server lets AI execute apple script on macOS, accessing Notes, Calendar, Contacts, Messages & Finder via a lightweight server.
AppleScript is a MCP server in the Productivity category listed in the AddMCP.net directory, published by peakmojo. It exposes 1 tool, including applescript_execute. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 461 GitHub stars. Source code is hosted on github.com. Related topics: applescript, community, developer-tools, macos, mcp.
Setup
{
"mcpServers": {
"applescript_execute": {
"command": "npx",
"args": [
"@peakmojo/applescript-mcp"
]
}
}
}
{
"mcpServers": {
"applescript_execute": {
"command": "npx",
"args": [
"@peakmojo/applescript-mcp"
]
}
}
}
{
"servers": {
"applescript_execute": {
"command": "npx",
"args": [
"@peakmojo/applescript-mcp"
]
}
}
}
AppleScript MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"applescript_execute": {
"command": "npx",
"args": [
"@peakmojo/applescript-mcp"
]
}
}
}
AppleScript MCP Server tools
- applescript_execute — Run AppleScript code to interact with Mac applications and system features. This tool can access and manipulate data in Notes, Calendar, Contacts, Messages, Mail, Finder, Safari, and other Apple applications. Common use cases include but not limited to: - Retrieve or create notes in Apple Notes - Access or add calendar events and appointments - List contacts or modify contact details - Search for and organize files using Spotlight or Finder - Get system information like battery status, disk space, or network details - Read or organize browser bookmarks or history - Access or send emails, messages, or other communications - Read, write, or manage file contents - Execute shell commands and capture the output
Overview
What is AppleScript?
A Model Context Protocol (MCP) server that lets you run AppleScript code to interact with a Mac. It is designed to be simple, straightforward, and require minimal setup, providing dual access via either Python or Node.js.
How to use AppleScript?
Install and run the server using npx for Node.js, or uvx (from the git repo) or uv (local development) for Python. Configure your MCP client (e.g., Claude Desktop) with the appropriate command and arguments as shown in the README.
Key features of AppleScript
- Run AppleScript to access Mac applications and data
- Interact with Notes, Calendar, Contacts, Messages, and more
- Search for files using Spotlight or Finder
- Read/write file contents and execute shell commands
- Remote execution support via SSH
Use cases of AppleScript
- Automate reminders, calendar events, and note creation on a Mac
- Retrieve system information like battery level or free disk space
- Control applications: play music, take screenshots, open Safari
- Manage files: create folders, find recent downloads, read and write files
- Access and search contacts, emails, and running applications
Frequently asked questions
1 What runtime dependencies are required?
Node.js (for the npx command) or Python with uv installed (for the uvx or local setup). Optionally, SSH must be enabled on the Mac for remote execution.
2 How do I configure the server for Docker usage?
Use the npx command with --remoteHost, --remoteUser, and --remotePassword arguments. Ensure SSH is enabled on the Mac host and proper credentials are provided.
3 How do I run AppleScript remotely?
Use the remote execution feature via SSH by passing the SSH hostname, username, and password or key. The server can then execute AppleScript on a machine at the given address.
4 Can I use this server without cloning the repository?
Yes. For Python, you can run directly with uvx --from git+https://github.com/peakmojo/applescript-mcp mcp-server-applescript. For Node.js, use npx @peakmojo/applescript-mcp.
5 Are there any known limitations or security considerations?
The server executes arbitrary AppleScript and shell commands on the Mac. Use caution when granting it access, especially when using remote SSH execution.
Videos
Tutorials, guides, and showcases related to AppleScript MCP Server. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In