# StayLit > A menu bar app that keeps your Mac awake for a set time, until an app quits or downloads finish — then lets it sleep or shuts it down. Works on the latest macOS, and your AI assistant can control it. Native macOS app (14+), one-time purchase $9, 7-day free trial. All processing is local. AI assistants can control StayLit through a local MCP server (stdio), Apple Shortcuts / App Intents, or a CLI. ## Connect - MCP command: `/Applications/StayLit.app/Contents/MacOS/staylit mcp` - In the app: Settings → AI → Connect (Claude Desktop, Cursor) or Copy Command (Claude Code) ## Tools - `keep_awake`: Prevent this Mac from idle-sleeping until a condition is met (whichever comes first): duration, a clock time, an app quitting, a process exiting, or downloads in ~/Downloads finishing. With no condition it stays awake until stop_keep_awake. Optionally sleep or shut down afterwards (1-minute cancellable warning). Replaces any current keep-awake session. - `stop_keep_awake`: Stop the current StayLit keep-awake session; the Mac sleeps normally again. Does not sleep the Mac and does not cancel a scheduled sleep/shutdown. - `awake_status`: What is keeping this Mac awake right now: StayLit's session (and time left), any scheduled sleep/shutdown, and every other app or process preventing sleep (e.g. Zoom, caffeinate). Read-only. - `schedule_power`: Put the Mac to sleep or shut it down at a time, independent of keep-awake. The user gets a 1-minute warning and can cancel. Apps are asked to save documents on shutdown. Only one schedule at a time (replaces the previous one). - `cancel_schedule`: Cancel a scheduled sleep or shutdown, including the 1-minute countdown after a keep-awake session ends. ## Example requests - Keep my Mac awake for 3 hours, then let it sleep - Keep it awake until Final Cut finishes exporting - What is keeping my Mac awake? - Shut down the Mac at 23:30 - Stop keeping the Mac awake ## Links - [Home](https://tidyware.app/staylit/) - [For AI agents](https://tidyware.app/staylit/for-ai-agents.html) - [Privacy](https://tidyware.app/staylit/privacy.html) - [Download](https://tidyware.app/staylit/#pricing)