Keep Mac Awake

v1.0.3
com.keepmacawake/mcp Checked 12 hours ago Published 13 days ago

Keep a MacBook awake with the lid closed while an agent's long task runs (Keep Mac Awake app).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

keep_awake_status Keep Mac Awake status

Shows whether Keep Mac Awake is keeping this Mac awake: whether a session runs and its time left, the free trial, and a newer version. Read only. Call it before starting a session.

keep_awake_start Start a Keep Mac Awake session

Keeps this MacBook awake with the lid closed, for a number of whole hours or without a time limit, through the Keep Mac Awake app. Use it before a long task the user asked for, with hours a little longer than the task. Ask the user first and pass user_agreed for a session without a time limit or when keep_awake_status shows the trial has not started; ask first and pass battery_agreed when it says Run on battery turned itself on. During the free trial a session lasts at most 8 hours.

ParameterTypeDescription
battery_agreedbooleanTrue only when the user said yes, in this conversation, to a session that may run on battery after Run on battery turned itself on. Needed only when keep_awake_status says so.
hoursintegerLength of the session in whole hours, 1 to 168. Leave it out only with no_time_limit.
no_time_limitbooleanTrue for a session without a time limit. Only after the user agreed to it; needs user_agreed.
user_agreedbooleanTrue only when the user said yes to this session in this conversation.

keep_awake_stop Stop the Keep Mac Awake session

Ends the running Keep Mac Awake session and restores the normal sleep setting. Use it when a task you started the session for is done. Do not stop a session the user started themselves, or one they asked to keep on.