Skip to main content
Glama

osascript

Execute AppleScript or JavaScript for Automation on macOS to control applications, run shell commands, and automate system events with built-in safety restrictions.

Instructions

Execute AppleScript or JavaScript for Automation (JXA) on macOS. Full access to system automation including shell commands, app control, and System Events. Only file deletion commands are blocked for safety.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scriptYesThe script to execute
languageNoScript language: AppleScript (default) or JavaScript for Automation (JXA)AppleScript

Other Tools

Latest Blog Posts

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/Akira-Papa/osascript-MCP-1'

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