run_applescript
Execute AppleScript commands on macOS to automate tasks and control applications directly from MCP-compatible development environments.
Instructions
Executes an AppleScript command using osascript on macOS.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
script | Yes | AppleScript code to execute. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"script": {
"description": "AppleScript code to execute.",
"type": "string"
}
},
"required": [
"script"
],
"type": "object"
}