Documentation
¶
Overview ¶
Command ascriptmcp is an MCP server that dynamically exposes scriptable macOS applications as MCP tools by parsing their sdef (scripting definition).
It starts with two meta-tools:
- ascript_expose_app: registers a full set of tools for a named app
- ascript_list_apps: lists scriptable apps in /Applications
Calling ascript_expose_app for "Xcode" parses /Applications/Xcode.app's sdef and dynamically adds tools like xcode_build, xcode_test, xcode_run, etc. Each tool runs the corresponding AppleScript command via osascript.
Click to show internal directories.
Click to hide internal directories.