Skip to content
Gemini CLI

Keep Mac Awake for Gemini CLI

com.keepmacawake/mcp

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

client:Gemini CLI transport:stdio runtime:npm

Install Keep Mac Awake in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "keepmacawake-mcp"
      ]
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Keep Mac Awake in other clients