Uictl

•
5
•

Automates macOS GUI applications for coding agents to interact with windows, capture screenshots, inspect UI structures, and simulate user input.

Uictl is a powerful macOS command-line tool and MCP server designed to empower AI coding agents to interact seamlessly with graphical user interfaces. It enables agents to locate and activate running applications and their windows, enumerate connected displays, and capture screenshots with an optional overlay of clickable elements. Agents can inspect an app's accessibility tree to understand UI structure, then perform actions like clicking, typing, scrolling, and sending key combinations. With features like focus hold, activity logging, and the ability to trigger OS permissions, uictl provides a robust framework for autonomous GUI automation without human intervention.

Key Features

01Automate macOS GUI interactions: find, activate, click, type, scroll, and send key combinations to running applications.
02Provide a comprehensive activity log with an on-screen toast, a live log window, and JSON export, including a human-controlled kill switch.
03Maintain automation continuity with "focus hold" to counteract human input stealing window focus.
04Capture precise screenshots of windows or displays, optionally with a numbered overlay for vision-capable models.
052 GitHub stars
06Inspect an application's accessibility tree to identify UI elements by role, title, value, and on-screen frame.

Use Cases

01Allow AI coding agents to autonomously control and interact with macOS applications, such as opening a text editor and typing content.
02Enable vision-capable models to identify and click specific UI elements within an application using annotated screenshots.
03Automate complex workflows involving multiple macOS applications by programmatically finding windows, inspecting their UIs, and simulating user input.