Stop macOS from scrambling your multi-display workspace on wake.
Generic window snappers break when Thunderbolt docks re-enumerate, identical monitors report zeroed EDID serials, or KVMs switch inputs. Compiled in native Swift 6, Aftur resolves physical ports and restores layouts in under 20ms—with a zero-telemetry CLI and built-in aftur mcp server for Claude Code & Cursor.
First-Launch & macOS Setup Notice
Open System Settings → Privacy & Security → Accessibility, add Aftur.app, and toggle it on. If Aftur is not automatically listed, click the + button to select /Applications/Aftur.app manually. Aftur uses macOS Accessibility solely to read and position application window bounds. Aftur never reads keystrokes, clipboard data, or screen content.
Why Existing Tools Break on Real Desk Setups
Most tools either snap window frames without context or freeze your screen executing slow scripts. How Aftur's native Swift 6 and AppKit engine resolves real hardware and workspace constraints.
Traditional restorers re-query and resize every window unconditionally on trigger, causing visual screen stutter, cursor lag, and sluggish responsiveness.
Aftur inspects coordinates first. Windows already within a 2.0pt delta are tagged [UNCHANGED], skipping deep AXUIElement tree walks and synchronous WindowServer IPC.
Dual identical monitors plugged into Thunderbolt docks or MST hubs frequently report duplicate or zeroed serial numbers (0), swapping left and right screens on wake.
Combines physical IODisplayLocation hardware paths with an adaptive debounce filter that waits for fast Thunderbolt DP (~800ms) and slower DisplayLink framebuffers (~3.5s) to settle before placing windows.
Restoring layouts during screen shares on Zoom, Teams, or Webex often moves floating participant HUDs, PiP windows, or active screen-sharing green borders.
Filters strictly for kAXStandardWindowSubrole on normal window layers (kCGWindowLayer == 0), completely ignoring overlays, call controls, and floating toolbars.
Existing window managers operate as closed black boxes with no integration into modern agentic developer workflows or terminal tooling.
A built-in Model Context Protocol (MCP) server companion allows Claude Code, Cursor, and scripts to inspect display topologies and trigger window restores via standard JSON-RPC.
Aftur vs. Existing Window & Context Tools
A factual, benchmark-verified comparison between macOS native tiling, geometry-only restorers, and script-heavy workspace launchers.
Built for Terminal Automation
Every action accessible via the menu bar is scriptable via the native aftur CLI or direct aftur:// URL scheme.
aftur doctor: Free EDID & Display Diagnostic CLI
Detect duplicate/zeroed EDID serial numbers (0 or 0x01010101), Thunderbolt MST daisy-chain conflicts, and mixed-DPI display scramble causes on macOS before you pay anything. Works offline on all connected Thunderbolt, DisplayLink, and HDMI displays without requiring an account.
Stdio JSON-RPC MCP Server Companion
Aftur includes a native Model Context Protocol (MCP) server companion that lets Claude Code, Cursor, and local developer AI agents inspect monitor topologies, verify display geometries, and restore workspace contexts over standard input/output (stdio).
{
"mcpServers": {
"aftur": {
"command": "/Applications/Aftur.app/Contents/MacOS/aftur",
"args": ["mcp"]
}
}
}/opt/homebrew/bin/aftur (Apple Silicon) or /usr/local/bin/aftur (Intel) as the command path.Zero Node.js, Python, or npx runtime dependencies. Sub-millisecond process boot and near-zero memory footprint.
Communicates strictly over standard input/output. Zero open TCP/HTTP ports, zero background network listeners, and zero attack surface.
Queries AppKit window geometries only. Never requests or uses macOS Screen Recording permissions (kCGWindowImage).
Pay once for v1.x. Run perpetually offline.
Zero subscriptions. Zero telemetry. No forced logins. Cryptographically signed Ed25519 license keys bound to your Mac hardware, plus aftur mcp for Claude Code & Cursor.
14-day full Pro trial on initial install, then free forever for primary display restoration and up to 3 saved workspace profiles.
One-time early-bird rate for up to 3 Macs with unlimited profiles and multi-display/Sidecar restoration. Capped at 75 slots.
One-time early-bird rate for up to 10 Macs with unlimited profiles and multi-display/Sidecar restoration. Capped at 25 slots.
One-time purchase for Aftur v1.x — keep it forever, all v1.x updates included, zero subscription, offline Ed25519 license.
Optional paid upgrade only if v2.0 ships. Instant DMG & Homebrew install · Applicable tax/VAT calculated by Merchant of Record (Dodo Payments Inc.) at checkout · 14-day refund guarantee.
Technical Details & Purchase Guarantees
Why does Aftur require Accessibility permissions?
AXUIElement Accessibility API. Aftur uses this permission exclusively to read window bounds, move frames, and restore positions across displays. Aftur never reads keystrokes, clipboard content, or screen pixels.How does the 14-day trial and Free tier work?
How does the sub-20ms warm restore engine avoid screen stutter?
kAXPositionAttribute and kAXSizeAttribute. Windows already within a 2.0pt delta of target coordinates are marked [UNCHANGED] and skipped. Quartz window sandwich sequencing (setSize → setPosition → raise) positions windows before monitor backlights wake, eliminating screen jitter and WindowServer IPC delays.How does Aftur handle external monitor reconnections and sleep/wake cycles?
NSApplication.didChangeScreenParametersNotification with a trailing-edge debounce filter. This ensures Thunderbolt docks, MST daisy-chains, and DisplayLink hubs finish enumerating hardware before window frames are clamped and restored, preventing windows from collapsing into fallback 800×600 coordinates during sleep/wake transitions.Can I move my license when I upgrade my Mac, and does it work offline?
~/Library/Application Support/Aftur/license.envelope for 100% offline operation without accounts or server phone-home pings. If you wipe, sell, or upgrade a Mac, you can deactivate that machine locally with aftur license deactivate, or execute a self-serve seat reset via aftur license reset-seats <key> or from the menu bar settings.