OpenMacApps

MacHead

Runs a MacBook as a headless server with the lid closed: the built-in display and keyboard switch off and the Mac keeps running.

Apache-2.0 · Free download · Downloads from github.com

License
Apache-2.0
Open source
Category
Utilities
Source
GitHub
ox01024
Verified
2026

About MacHead

MacHead turns a MacBook into a server that keeps running with the lid closed. In headless mode the built-in display is switched off, the built-in keyboard and trackpad are locked while external keyboards and mice keep working, the microphone is muted, and clamshell sleep is handled. If the battery runs low after a power loss, it lets the Mac sleep to protect the battery. A menu bar app controls it, a local web console shows CPU, memory, GPU and battery, and a machead command-line tool can switch modes over SSH. Optional remote access through Cloudflare Tunnel, FRP or Microsoft Dev Tunnels, and monitoring through Nezha, ServerStatus or Uptime Kuma, are set up only when you switch them on.

It supports macOS 12 or later on Apple silicon and Intel, as a universal build. It needs the Accessibility permission to block the built-in keyboard and the Input Monitoring permission to lock the trackpad. The app sends anonymous usage statistics, which you can turn off in General preferences. The Microsoft Dev Tunnels CLI is proprietary and is not bundled; you install it yourself. Dragging the app to the Trash removes it.

Information

Source code
ox01024/MacHead
License
Apache-2.0
Website
headlessmac.com
Download
github.com
Category
Utilities
Topics
Menu bar apps
Evidence checked

OpenMacApps links to each project’s official download. Check its release notes for macOS version and Apple silicon support. The verification date records our license and source review, not a security audit. Read how we verify.

Sources and image credits

License and artwork notices

Improve this listing

For the Developer

Link to this page from your README with a badge.

Listed on OpenMacApps
[![Listed on OpenMacApps](https://openmacapps.com/badge.svg)](https://openmacapps.com/apps/machead/)
See All You Might Also Like