Ghostty
Drive Ghostty terminal windows, tabs, and splits on macOS to execute commands and manage interactive CLI sessions.
Ghostty MCP is a bridge that connects AI agents to the Ghostty terminal emulator on macOS via its native AppleScript dictionary. Requiring no custom plugins or configuration modifications, it enables agents like Claude Code, Codex, and Claude Desktop to autonomously create tabs, configure splits, inspect running buffers, and send exact keystrokes. By combining screen reading with process tracking, the server allows agents to coordinate complex command-line workflows, monitor long-running processes, and even orchestrate nested sub-agent sessions directly within the user's terminal environment.
Key Features
01Send raw keystrokes, key combinations, and text commands with optional output waiting
02Manage terminal lifecycle including opening, closing, focusing, and resizing tabs, splits, and windows
03Inspect terminal screen buffers and track foreground process groups without disturbing clipboard contents
04Trigger native Ghostty keybind actions such as zoom toggles, font scaling, and split equalization
05Orchestrate interactive CLI tools and nested coding agents like Claude Code and Codex
060 GitHub stars
Use Cases
01Automating multi-step command-line interactions that require waiting for output or responding to prompts
02Spinning up auxiliary terminal splits to build, test, and monitor code repositories concurrently
03Orchestrating secondary AI coding agents in dedicated terminal tabs to parallelize development tasks