Skip to content
VS Code

Keep Mac Awake for VS Code

com.keepmacawake/mcp

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

client:VS Code transport:stdio runtime:npm

Install Keep Mac Awake in VS Code

.vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "keepmacawake-mcp"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

Keep Mac Awake in other clients