Skip to main content
Glama

AppleScript MCP Server

by peakmojo

applescript_execute

Execute AppleScript code to interact with Mac applications and system features, such as Notes, Calendar, Contacts, Messages, and Finder. Automate tasks, retrieve or modify data, and manage system information efficiently.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
code_snippetYesMulti-line appleScript code to execute
timeoutNoCommand execution timeout in seconds (default: 60)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "code_snippet": { "description": "Multi-line appleScript code to execute", "type": "string" }, "timeout": { "description": "Command execution timeout in seconds (default: 60)", "type": "number" } }, "required": [ "code_snippet" ], "type": "object" }

You must be authenticated.

Other Tools from AppleScript MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/peakmojo/applescript-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server