MCPVault

get_frontmost_app

MCP tool from MCP Osascript by m0rvayne

Get active app name + bundle ID

How to use it

get_frontmost_app is exposed by the MCP Osascript MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_frontmost_app tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install MCP Osascript

$claude mcp add osascript -- npx -y mcp-osascript
FULL MCP OSASCRIPT LISTING