get_frontmost_app
Get active app name + bundle ID
How to use it
Project documentation lists get_frontmost_app for the MCP Osascript MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install MCP Osascript
claude mcp add osascript -- npx -y mcp-osascriptOther tools in MCP Osascript (11)
List or click menu items in any app
List tabs in Safari, Chrome, or Arc
Read clipboard as text
List / move / resize / minimize / fullscreen / close
Launch or bring app to front
Open URL in browser (http/https/mailto only)
Press key with modifiers (cmd+c, return, f5)
Execute any AppleScript or JXA script
Show macOS notification banner
Write text to clipboard
Type text into active app (max 500 chars)