Terminal Driver MCP
未认领PTY-backed terminal MCP server: gives AI agents a real terminal with headless emulation for driving and testing TUI applications
安装
$
claude mcp add terminal --scope user -- npx -y terminal-driver-mcp工具(4 个)
exit
the session's process terminates (after :q, ctrl+d, …).
idle
/ stablescreen — output goes quiet / the rendered text stops changing for idlems. Best-effort: continuously-animating UIs (spinners, progress bars, htop) never settle, so these run to timeout — which still returns the current screen, plus a hint to switch to a pattern wait.
pattern
(default) — a regex appears on screen: the reliable primitive when you know what you're waiting for.
pattern_gone
the regex stops matching: wait for a spinner/dialog/just-deleted row to clear without racing the redraw.