Skip to main content
Glama

PopUI

by kelnishi
reloadclaude.jxa.js711 B
function run() { // Get a reference to System Events var systemEvents = Application("System Events"); // Launch the target app Application("Claude").quit(); delay(2); Application("Claude").activate(); // Get the target process (replace "TargetAppName" with the actual app name) var targetApp = systemEvents.processes["Claude"]; //Spin until application is active, but not longer than 2 seconds var start = new Date().getTime(); while (targetApp.frontmost() === false) { delay(0.1); if (new Date().getTime() - start > 2000) { console.log("Application not active after 2 seconds, aborting"); return; } } }

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/kelnishi/PopUI'

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